Recently I realized Disallow /
was set on my staging sites.
I didn't realize until I got a warning in Search Console...
Mistakes happen
I've removed the directive and cleared all caches at least 10 times.
However, when I use the URL inspection tool I'm still getting the following:
Never experienced this before - and I've been doing SEO for a long time. Usually I'd see this reflected in a live test right away.
Anyone experienced this before? Is there some sort of processing time or cache on Google's end? Shouldn't be if the "live test" is actually live.
I typically don disallow a staging/development site from Google. Additional thoughts:
Rather than disallow, I've always had no problem setting meta robots to noindex follow
and listing the main site as the canonical URL for all pages. This way Google is able to crawl the staging site and understand what we're doing so the effect is:
"Ah ok gotcha, this is staging, I'll ignore it."
Would love to hear thoughts on this, or alternative approaches.
site:
searches.