cdaguerre/robots-bundle

Add contextual robots meta headers

Maintainers

Package info

github.com/cdaguerre/robots-bundle

Type:symfony-bundle

pkg:composer/cdaguerre/robots-bundle

Statistics

Installs: 15 251

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

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