cdaguerre/robots-bundle
Composer 安装命令:
composer require cdaguerre/robots-bundle
包简介
Add contextual robots meta headers
README 文档
README
No need for robots.txt files, add contextual robot meta headers.
Installation
$ composer require cdaguerre/robots-bundle
Configuration
dag_robots: rules: - { route: 'homepage', tags: ['noindex', 'nofollow'], hosts: ['www.example.com'] } - { route: 'product_show', tags: ['noindex', 'nofollow'], hosts: ['www.example1.com', 'www.example2.com'] } - { route: 'category_show', tags: ['noindex', 'nofollow'] }
TODO
- Add tests
统计信息
- 总下载量: 15.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-05