外掛說明
humans.txt is an initiative for knowing the people behind a website. It’s a text file that lists the people who contributed to building the site – developers, designers, and others. Think of it as the opposite of robots.txt: robots.txt is for machines, humans.txt is for people.
MTDEV Humans TXT lets you create and edit your site’s humans.txt file straight from the WordPress dashboard, without touching code or uploading files over FTP.
The file is served virtually at your site root (https://your-site.com/humans.txt) through rewrite rules, so it needs no write permissions and no physical file is created. It also adds the recommended rel="author" link to your site’s <head>, pointing to your humans.txt file.
Features:
- Content editor with a default template based on the standard (TEAM, THANKS, SITE).
- Virtual
/humans.txtserved astext/plain. - Option to enable or disable the
<head>link. - No physical files, multisite friendly.
- Makes no external server calls.
- Translation ready (text domain
mtdev-humans-txt).
Learn more about the initiative: https://humanstxt.org
Development / source code: https://github.com/martatorredev/mtdev-humans-txt
安裝方式
- Upload the
mtdev-humans-txtfolder to the/wp-content/plugins/directory, or install it from the WordPress plugin directory. - Activate the plugin through the Plugins menu.
- Go to Settings -> Humans.txt to edit the content.
- Visit
https://your-site.com/humans.txtto check the result.
常見問題集
-
Does it create a physical file on my server?
-
No. The content is stored in the database and served virtually at
/humans.txt. This avoids permission issues and works on multisite. -
The /humans.txt URL returns a 404
-
Go to Settings -> Permalinks and save the changes to regenerate the rewrite rules.
-
Can I disable the head link?
-
Yes, from Settings -> Humans.txt using the matching checkbox.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- Initial release.