Hi, @asodifjsa. That header should only be present on non-production deploys. For example, if you use a permalink to a specific deploy id (the deploy id is part of the subdomain):
So, this shouldn’t be a problem with production. You will see this for non-production deploys, though. However, as most people don’t want non-production deploys indexed, this should be a good thing in most cases.
If you see the header for non-production deploys or if you have any questions about this, please reply here anytime.
Thanks for your reply. When I push to production it looks like the lighthouse report is giving me a non production deploy URL in its report, which does indeed have the noindex.
Is this just how netlify’s lighthouse integration works? All deploys even production deploys will run a non production lighthouse report that always says it’s not indexed?
Hi, @asodifjsa. The integration works that way because the URL with the deploy id in the subdomain is the only way to guarantee that exact deploy is examined. So, the answer here is that, yes, this is unfortunately a limitation of that integration. The lighthouse reports are always going to say indexing isn’t allowed (because it is not for the URL being checked). However, if you manually run a lighthouse test on your production deploys, you will not have this issue. Basically, it is a false positive due to the limitation of the deploy id URLS.