cdaguerre/robots-bundle

Add contextual robots meta headers

Installs: 15 249

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 0

Type:symfony-bundle

v1.1.1 2017-10-18 11:36 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:14:13 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