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 "rel=noindex" to the redirect page #121

Open
cmcfadden opened this issue Jan 4, 2023 · 3 comments
Open

Add "rel=noindex" to the redirect page #121

cmcfadden opened this issue Jan 4, 2023 · 3 comments
Assignees

Comments

@cmcfadden
Copy link
Member

Right now, we vend a 302 redirect but also output HTML for browsers that don't follow the header, or in cases where the header gets stripped. We should add rel=noindex into that HTML to prevent google from indexing it.

@cmcfadden
Copy link
Member Author

doesn't look like there's a way to override this directly, would probably need to write a new redirect_to function

@cmcfadden
Copy link
Member Author

maybe better to look at a robots.txt for the site?

@jxjj jxjj self-assigned this May 14, 2024
@jxjj
Copy link
Contributor

jxjj commented May 20, 2024

Related to #177 ?

robots.txt doesn't seem to be doing anything right now. What's the desired disallow? Everything except homepage? Something like:

# robots.txt
User-agent: *
Disallow: /
Allow: /$

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

No branches or pull requests

2 participants