Download the PHP package gorriecoe/silverstripe-robots without Composer
On this page you can find all versions of the php package gorriecoe/silverstripe-robots. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gorriecoe/silverstripe-robots
More information about gorriecoe/silverstripe-robots
Files in gorriecoe/silverstripe-robots
Package silverstripe-robots
Short Description Simple robots generation module for Silverstripe.
License BSD-3-Clause
Homepage http://github.com/gorriecoe/silverstripe-robots
Informations about the package silverstripe-robots
Silverstripe Robots.txt generation
This module provides simple robots.txt generation for Silverstripe, with various configuration options available.
When a site is not in live mode (such as on a testing domain) it will respectively block the entire domain, ensuring that (at least respectful) search engines will refrain from indexing your test site.
Installation
Composer is the recommended way of installing SilverStripe modules.
Requirements
- silverstripe/cms ^4.0
Maintainers
Credit
This module is heavily inspired by silverstripe-robots by Damian Mooyman
Configuration
You can add a page or pattern to be blocked by adding it to the disallowedUrls configuration
Also by default, any page with 'ShowInSearch' set to false will also be excluded. This can be useful for hiding auxiliary pages like "thanks for signing up", or error pages.
You can turn this off (if you really absolutely think you need to) using the below.
By default the module will check for a sitemap file in /sitemap.xml
. You can set a custom file location using the below configuration.
For multiple sitemaps.