How to avoid indexing a production deployment that does not have a connected custom domain? #1060
-
I'm migrating a project and I don't want the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @cbdeveloper! You can use a |
Beta Was this translation helpful? Give feedback.
-
What a mess is this. |
Beta Was this translation helpful? Give feedback.
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!