chrisguitarguy/wp-robots-txt
最新稳定版本:1.2
Composer 安装命令:
composer require chrisguitarguy/wp-robots-txt
包简介
Manage your robots.txt file from the WordPress admin
关键字:
README 文档
README
This is a single serving plugin that adds a field on the Reading Settings WordPress admin page which allows you to edit your robots.txt file contents.
Limitations
If you have a robots.txt file on your server, this plugins won't work. WordPress, in the server configuration it suggests by default, never overrides URLs that exist on your server. In other words, if robots.txt is on your server, WP will never even load -- Apache (or nginx or IIS) will serve that file directly.
Also, this plugin does not help you write valid a robots.txt file, nor will it alert you when you've written one that is invalid. That part is up to you.
FAQ
I totally screwed up my robots.txt file. How can I restore the default version?
Delete all the content from the Robots.txt Content field and save the privacy options.
Could I accidently block all search bots with this?
Yes. Be careful! That said, robots.txt files are suggestions. They don't really block bots as much as they suggest that bots don't crawl portions of a site. That's why the options on the Privacy Settings page say "Ask search engines not to index this site."
Where can I learn more about robots.txt files?
Here.
Changelog
1.0
- Initial version
1.1
- Cleaned up code
- Moved to the settings field to the reading area
统计信息
- 总下载量: 376
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-03
