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

Noindex Code Search search results URLs #6773

Open
fabicastp opened this issue Feb 23, 2024 · 2 comments
Open

Noindex Code Search search results URLs #6773

fabicastp opened this issue Feb 23, 2024 · 2 comments
Assignees
Labels
High priority Important and time-sensitive. A task that needs to be completed within a short timeframe.

Comments

@fabicastp
Copy link
Contributor

fabicastp commented Feb 23, 2024

This is part of our work to improve our SEO.

Context: Code Search search results pages (e.g., /search?q=”Error 1001”) are indexable by search engines. These currently drive minimal traffic, <10 clicks per day.

It’s best practice to make your onsite search non-indexable, because it’s possible to send search engines to an infinite combination of new URLs, diluting the effectiveness of the important URLs.

TO DO:
Add a meta robots “noindex, nofollow” to all search results page URLs (?q=), while ensuring that sourcegraph.com/search is still indexable.

Copy link
Contributor

gitstart-app bot commented Feb 23, 2024

Here is the GitStart Ticket for this issue: https://clients.gitstart.com/sourcegraph/3436/tickets/SGM-6773

@fabicastp fabicastp changed the title Add nonindex Noindex Code Search search results URLs Feb 23, 2024
@fabicastp fabicastp added the High priority Important and time-sensitive. A task that needs to be completed within a short timeframe. label Feb 23, 2024
@gitstart-sourcegraph
Copy link
Contributor

Hi @fabicastp We have opened the issue here as most of the work will be done on the frontend app

@gitstart-sourcegraph gitstart-sourcegraph linked a pull request Mar 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High priority Important and time-sensitive. A task that needs to be completed within a short timeframe.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants