From 50e81aa8b61ac614d3db62d9259805e187495d8b Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 12 Jan 2020 17:45:43 +0100 Subject: [PATCH] Add robots.txt information --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index e3de766a..8f4c02c3 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,15 @@ Registrations are open by default. To change that setting, edit `/var/www/pixelfed/.env` and set `OPEN_REGISTRATION=false` instead of `true`. Then run `php7.3 artisan config:cache` to reload the settings. +### Disable search engine indexing + +If you don't want your Pixelfed instance to be indexed in search engine (and so on), edit `/var/www/pixelfed/public/robots.txt` like this: +``` +User-agent: * +Disallow: / +``` +Note: search engines will see that files and may or may not respect its content. + ### Pixelfed php commands and php version Pixelfed might require some command line instructions if you want to make manual changes to your configuration.