Skip to content
Discussion options

You must be logged in to vote

Yes, got this working on my self hosted instance, but not with a robots.txt file. If you use a reverse proxy like nginx, add the noindex nofollow header to all paths/locations:

add_header X-Robots-Tag "noindex, nofollow" always;

Then crawlers should ignore it.

But once in the search index, it can only be deleted if you return a 404 for that url and request Google to delete it.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@lightson
Comment options

Answer selected by RealPresidentlin
Comment options

You must be logged in to vote
3 replies
@paskal
Comment options

@ruslandoga
Comment options

@RealPresidentlin
Comment options

Comment options

You must be logged in to vote
1 reply
@sgbx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
8 participants