Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add robots.txt to disallow all paths #823

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alangrainger
Copy link

@alangrainger alangrainger commented Feb 17, 2025

I wanted to do this to prevent constant 404's from crawlers.

For my own hosted version, I absolutely want to deny all paths to robots. I'm not certain whether you also want that behaviour, or if there are some paths you wish to be crawled.


If the PR isn't acceptable, there is a workaround to add a robots.txt through your compose file:

    volumes:
       - ./robots.txt:/kutt/static/robots.txt:ro

Disallow all paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant