Try Now
Advertisement
  1. SEJ
  2.  » 
  3. SEO

Google Explains How To Hide A Website From Search Results

Google goes over three ways you can hide a website from search results, and which one you should use depending on your situation.

Google Explains How To Hide A Website From Search Results

Google says the best way to hide a website from search results is with a password, but there are other options you can consider.

This subject is spotlighted in the latest installment of the Ask Googlebot video series on YouTube.

Google’s John Mueller responds to a question asking how to prevent content from getting indexed in search, and whether that’s something websites are allowed to do.

“In short, yes you can,” Mueller says.

There are three ways to hide a website from search results:

  • Use a password
  • Block crawling
  • Block indexing
Advertisement
Continue Reading Below

Websites can either opt out of indexing altogether, or they can get indexed and hide content from Googlebot by using a password.

Blocking content from Googlebot is not against webmaster guidelines, as long as it’s blocked to users at the same time.

For example, if the site is password protected when crawled by Googlebot, it must be password protected to users as well.

Alternately, the site must have directives in place to stop Googlebot from crawling or indexing the site.

Where you can run into trouble is if your website serves different content to Googlebot than it does to users.

Advertisement
Continue Reading Below

That’s called “cloaking” and is against Google’s guidelines.

With that distinction made, here are the correct ways to go about hiding content from search engines.

3 Ways To Hide Content From Search Engines

1. Password Protection

Locking a website down with a password is often the best approach if you want to keep your site private.

A password will ensure neither search engines or random web users will be able to see your content.

This is a common practice for websites in development. Publishing the website live is an easy way to share in-progress work with clients, while preventing Google from accessing a website that isn’t ready to be seen yet.

2. Block Crawling

Another way to stop Googlebot from access your site is by blocking crawling. This is done with the robots.txt file.

With this method people can access your site with a direct link, but it will not be picked up by “well-behaved” search engines.

This isn’t the best option, Mueller says, because search engines might still index the address of the website without accessing the content.

It’s rare for that to happen, but it’s a possibility you should be aware of.

3. Block Indexing

The third and final option is to block your website from indexing.

Advertisement
Continue Reading Below

For this, you add a noindex robots meta tag to your pages.

A noindex tag tells search engines not to index that page until after they crawl it.

Users don’t see the meta tag and can still access the page normally.

Mueller’s Final Thoughts

Mueller wraps up the video saying Google’s top recommendation is to go the password route:

“Overall, for private content, our recommendation is to use password protection. It’s easy to check that it’s working, and it prevents anyone from accessing your content.

Blocking crawling or indexing are good options when the content isn’t private. Or if there’s just parts of a website which you’d like to prevent from appearing in search.”

Advertisement
Continue Reading Below

See the full video below:


Featured Image: Screenshot from: YouTube.com/GoogleSearchCentral, November 2021.

CategoryNewsSEO
ADVERTISEMENT

Subscribe to SEJ

Get our daily newsletter from SEJ's Founder Loren Baker about the latest news in the industry!

Topic(s) of Interest*
By clicking the "SUBSCRIBE" button, I agree and accept the content agreement and privacy policy of Search Engine Journal.
Ebook

Matt Southern

Lead News Writer at Search Engine Journal

Matt Southern has been the lead news writer at Search Engine Journal since 2013. With a degree in communications, Matt ... [Read full bio]

ADVERTISEMENT
Advertisement
Read the Next Article
Read the Next