devgeniem/wp-noindex-testing-staging-robots
Composer 安装命令:
composer require devgeniem/wp-noindex-testing-staging-robots
包简介
Uses robots.txt to not index development/testing environments of this site with search-engines
README 文档
README
WP MU-Plugin: Hide Development/Testing enviroments from robots
Deny site from /robots.txt if it's accessed with WP_ENV=staging or WP_ENV=testing.
Also denys it if the site is accessed with domain that ends with domain mentioned in WP_HIDE_ROBOTS_DOMAINS.
Installation
$ composer require devgeniem/wp-noindex-testing-staging-robots
Example config
// hides site from robots if its accessed from any geniem.io or example.com subdomain. define('WP_HIDE_ROBOTS_DOMAINS','geniem.io,example.com');
Maintainer
License
MIT
统计信息
- 总下载量: 17.61k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-30
