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 codebase as a starting point.
What is Trust.txt?
Trust.txt is an effort by JournalList 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.
- Requires PHP 5.3+.
- 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 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.
- 10up for developing the Ads.txt Manager this plugin is largely based off of.
- mangeshp, scodtt, journallist for their contributions to the codebase.
- Install and activate this plugin as per usual.
- Go to Settings > Trust.txt and add the records you need. Ref: trust.txt specification details.
- Your trust.txt file will appear at yoursite.com/trust.txt
- 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.
There are no reviews for this plugin.
Contributors & Developers
“Trust.txt Manager” is open source software. The following people have contributed to this plugin.Contributors
Translate “Trust.txt Manager” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
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
- Initial plugin release