cdaguerre / robots-bundle
Add contextual robots meta headers
Package info
github.com/cdaguerre/robots-bundle
Type:symfony-bundle
pkg:composer/cdaguerre/robots-bundle
v1.1.1
2017-10-18 11:36 UTC
Requires
- php: >=5.6.0
- sylius/resource-bundle: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- phpspec/phpspec: ~2.0
This package is not auto-updated.
Last update: 2026-03-15 03:07:26 UTC
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