Get Your FREE The Beginners Guide to SEO

In a fast-paced, dynamic field such as SEO, it is crucial to stay well-informed. Even seasoned SEO experts understand the need to keep on learning lest they become obsolete. Emerging trends. Algorithmic changes. Technological advancements. These are some of the few things every SEO professional should be watching out for. But if you haven’t been keeping an eye on these for whatever reason, don’t worry. We’ve got your covered.

Download Now

Use Authenticated User/Passwords To Block Google

Google’s John Mueller said again that the best method to block Google from crawling and then indexing your staging site is to block GoogleBot and other humans with authentication. Prompt the access request to the staging site by requiring them to enter a valid username and password to access the staging environment.

I believe most developers and SEOs know this by now, but it is the best solution by far.

Here is John Mueller saying this on Twitter:

Just be careful with your staging sites, you don’t generally want Google to index them and you don’t want to accidentally push up to production the mechanism you use to block the on staging to production.

Forum discussion at Twitter.

Comments are closed.