2017 © Pedro Peláez
 

silverstripe-module silverstripe-robots

Adds a Robots.txt file that is configurable from /admin/settings/.

image

michaeljjames/silverstripe-robots

Adds a Robots.txt file that is configurable from /admin/settings/.

  • Monday, December 11, 2017
  • by MichaelJJames
  • Repository
  • 2 Watchers
  • 2 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 38 % Grown

The README.md

Silverstripe Robots

This module will allow you to have a dynamic robots.txt, (*1)

Installation

$ composer require michaeljjames/silverstripe-robots

You can also install manually by downloading the zip and extracting it into your site root., (*2)

You'll also need to run dev/build., (*3)

Configuration

It is completely configurable inside /admin/settings, (*4)

To configure your robots.txt file paste in your robots.txt confiuration into the textarea inside the robots tab in admin/settings/ or use the example below., (*5)

User-agent: *
Disallow: /admin
Disallow: /dev
Disallow: /?flush
Disallow: /assets
Allow: /

User-Agent: Googlebot-Image
Disallow: /admin
Disallow: /dev
Disallow: /?flush
Allow: /

Sitemap: https://www.domain.com/sitemap.xml

The Versions

11/12 2017

dev-ss4

dev-ss4 http://github.com/michaeljjames/silverstripe-robots

Adds a Robots.txt file that is configurable from /admin/settings/.

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe seo robots

11/12 2017

dev-master

9999999-dev http://github.com/michaeljjames/silverstripe-robots

Adds a Robots.txt file that is configurable from /admin/settings/.

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe seo robots