cdaguerre/robots-bundle

Add contextual robots meta headers

Installs: 15 205

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

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: 2022-08-06 07:06:25 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