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

chore: Add noindex meta tag to v8 doc pages #914

Merged
merged 10 commits into from
Dec 4, 2023

Conversation

rschristian
Copy link
Member

@rschristian rschristian commented Sep 22, 2022

Closes #910

Re: v8 docs being indexed (often higher than v10).

The meta tag is the correct course, rather than say Disallow in the robots.txt, as Disallow only blocks the crawler from discovering the page while navigating our site. While this often does have an effect, external links to the v8 docs could keep them ranking highly, which would be an issue. What we actually want to do is signal that these pages shouldn't be indexed, not hide it from discovery, hence, the meta tag.

https://developers.google.com/search/docs/crawling-indexing/robots/robots-faq?visit_id=637994089979808237-3634207106&rd=1#h17

What I am unsure of is if we need to do client-side addition/removal of this tag upon navigation. I haven't quite been able to get a definitive answer on that, does anyone know? Edit: Upon doing some more reading I don't think that will be an issue.

@rschristian rschristian merged commit 719785f into master Dec 4, 2023
4 checks passed
@rschristian rschristian deleted the chore/no-index-v8-docs branch December 4, 2023 16:04
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.

Google search result points to 8.x docs by default
2 participants