-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
84 lines (59 loc) · 4.72 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
=== Trust.txt Manager ===
Author URI: https://rtcamp.com
Contributors: rtcamp, mangeshp, scodtt, journallist
Plugin URI: https://github.com/rtcamp/trust-txt
Tags: Trust.txt
Requires at least: 4.9
Tested up to: 6.5.3
Requires PHP: 5.3
Stable tag: 1.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: trust-txt
Create, manage, and validate your Trust.txt from within WordPress, just like any other content asset. Requires PHP 5.3+ and WordPress 4.9+.
== Description ==
Create, manage, and validate your Trust.txt from within WordPress, just like any other content asset. Requires PHP 5.3+ and WordPress 4.9+.
This plugin uses the [Ads.txt Manager](https://github.com/10up/ads-txt) codebase as a starting point.
=== What is Trust.txt? ===
Trust.txt is an effort by [JournalList](https://journallist.net/about) to systematically and transparently disclose connections between journalists, publishers & associations.
The concept of a trust.txt file borrows heavily from two previous very successful efforts improving the overall experience of the internet: robots.txt and ads.txt.
With both, website publishers are able to create a small and very manageable file that they have full control over that helps platforms and advertisers improve the overall ecosystem, and thereby the experience for users. So it is with trust.txt.
This plugin provides a way to create & manage your trust.txt from within WordPress, just like any other content asset. The validation logic baked into the plugin helps avoid malformed records.
=== Technical Notes ===
* Requires PHP 5.3+.
* Requires WordPress 4.9+. Older versions of WordPress will not display any syntax highlighting and may break JavaScript and/or be unable to localize the plugin.
* Rewrites need to be enabled. Without rewrites, WordPress cannot know to supply /trust.txt when requested.
* Your site URL must not contain a path (e.g. https://example.com/site/ or path-based multisite installs). While the plugin will appear to function in the WP admin, it will not display the contents at https://example.com/site/trust.txt. This is because the plugin enforces [the specification](https://journallist.net/reference-document-for-trust-txt-specifications) as defined by JournalList, which requires that the trust.txt file be located at the root of a domain or subdomain.
=== Can I use this with multisite? ===
Yes! However, if you are using a subfolder installation it will only work for the main site. This is because you can only have one Trust.txt for a given domain or subdomain per the [Trust.txt spec]. Our recommendation is to only activate Trust.txt Manager per-site.
== Screenshots ==
1. Verbose error messages.
2. Fully revision history support.
3. Comparing two revisions.
== Installation ==
1. Install and activate this plugin as per usual.
2. Go to Settings > Trust.txt and add the records you need. Ref: [trust.txt specification details](https://journallist.net/reference-document-for-trust-txt-specifications).
3. Your trust.txt file will appear at yoursite.com/trust.txt
4. Make sure to remove or rename any pre-existing trust.txt file from your web root as this plugin will NOT override it with the changes you make from the WordPress interface.
Note: If you already have an existing Trust.txt file in the web root, the plugin will not read in the contents of the respective files, and changes you make in WordPress admin will not overwrite contents of the physical files.
You will need to rename or remove the existing Trust.txt file (keeping a copy of the records it contains to put into the new settings screen) before you will be able to see any changes you make to Trust.txt inside the WordPress admin.
== Changelog ==
= 1.3 [ May 14, 2024 ] =
* Compatible with PHP 8.1 and WordPress 6.5.3
* Add support for Trust.txt rules as of April 2024
* Fixed domain validation in social profile URL.
= 1.2 [ May 04, 2022 ] =
* Show contents of trust.txt file on both the paths depending upon the plugin settings
* Make trust.txt accessible on root as well as on .well-known directory
= 1.1 [February 23, 2022] =
* Add setting to make trust.txt file accessible from the .well-known directory
= 1.0 =
* Initial plugin release
== Upgrade Notice ==
= 1.3 =
* Trust.txt v1.3 with Latest PHP 8.1 compatibility and support for Trust.txt rules as of April 2024
= 1.2 =
* Show contents of trust.txt file on both the paths depending upon the plugin settings
== Credits ==
* [10up](https://10up.com/) for developing the [Ads.txt Manager](https://github.com/10up/ads-txt) this plugin is largely based off of.
* [mangeshp](http://profiles.wordpress.org/mangeshp), [scodtt](https://profiles.wordpress.org/scodtt), [journallist](https://profiles.wordpress.org/journallist) for their contributions to the codebase.