Skip to content

Is there a centralized place for adding a global noindex meta HTML tag? #2442

Answered by daveverwer
RemiBardon asked this question in Q&A
Discussion options

You must be logged in to vote

First of all, thanks so much for your contribution. We're happy to see this project be useful to help test your support for Swift hosting. Thanks also for considering our search ranking, it's a tough problem to keep on top of!

You are correct that the best way to do this is with noindex. I even have some good news in that you won't need to make any code changes or further PRs, only an environment change. If you choose to keep the site up and hosted, we'd suggest running it in our dev/staging mode. This does two main things:

  • Adds a banner to the top and bottom of the page showing clearly that this is a dev/staging site in case people happen across it.
  • Puts a noindex tag at the top of ever…

Replies: 1 comment 3 replies

Comment options

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

RemiBardon Jun 18, 2023
Collaborator Author

@daveverwer
Comment options

@RemiBardon
Comment options

RemiBardon Jun 18, 2023
Collaborator Author

Answer selected by RemiBardon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants