Skip to content

Kirby 3 CMS plugin that adds a route for robots.txt

License

Notifications You must be signed in to change notification settings

schnti/kirby3-robots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(simple) robots.txt Plugin

A plugin for Kirby 3 CMS that generates an robots.txt.

Commercial Usage

This plugin is free but if you use it in a commercial project please consider

Installation

Download

Download the files and place them inside site/plugins/robots.

Composer

composer require schnti/robots

Git Submodule

You can add the plugin as a Git submodule.

$ cd your/project/root
$ git submodule add https://github.com/schnti/kirby3-robots.git site/plugins/robots
$ git submodule update --init --recursive
$ git commit -am "Add Kirby robots.txt plugin"

Run these commands to update the plugin:

$ cd your/project/root
$ git submodule foreach git checkout master
$ git submodule foreach git pull
$ git commit -am "Update submodules"
$ git submodule update --init --recursive

How to use it

Nothing required.

The schnti/kirby3-sitemap plugin is recommended.