Skip to content

How to avoid indexing a production deployment that does not have a connected custom domain? #1060

Locked Answered by amyegan
cbdeveloper asked this question in Help
Discussion options

You must be logged in to vote

Hi @cbdeveloper! You can use a x-robots-tag: noindex header to prevent the site from being indexed. That's what Vercel already does automatically for Preview deployments to prevent negative SEO impact from duplicate content. There's a guide called "Are Vercel Preview Deployments indexed by search engines?" which covers the topic in more detail. That should give you the information that you need to implement the solution for production deployment!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@khanakia
Comment options

@amyegan
Comment options

Answer selected by amyegan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
4 participants