Skip to content

Generate permissive or restrictive robots.txt in the config generator

Sachin Joshi requested to merge satchinjoshi/pleroma:feature/robotstxt into develop

mix pleroma.instance gen will generate robots.txt with 2 options

image

If user passes the default option y robots.txt will look like

User-Agent: *
Disallow: 

And if they choose restrictive they will get

User-Agent: *
Disallow: /

When the robots.txt is generated if there is one that already exists it will backup the old one

Relates to:

#724 (closed)

Edited by Sachin Joshi

Merge request reports