Skip to content

LaetitiaRiffaud/robots-bundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RobotsBundle

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%