Published on March 20, 2017 by WPBeginner
Want create site? Find Free WordPress Themes and plugins.

Sometimes you may want to hide a page from search engines to keep away unwanted users or to protect your privacy. We understand how important this can be and we want to show you how you can hide pages from search engines on your site. In this video we will show you how to hide a WordPress page from Google without affecting your site’s SEO.

Text version of this tutorial:
www.wpbeginner.com/wp-tutorials/how-to-hide-a-wordpress-page-from-google/

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook:
www.facebook.com/wpbeginner

Follow us on Twitter:
twitter.com/wpbeginner

Join our circle on Google+:
plus.google.com/+wpbeginner/

Checkout our website for more WordPress Tutorials
www.wpbeginner.com/

Summary of this tutorial:

We have two methods we would recommend for achieving this, the first being using Yoast SEO and the second being editing your robots.txt.

-Yoast SEO

For this method we would recommend installing the Yoast SEO plugin:

Yoast SEO

If you would like to view our article for how to set up the Yoast plugin you can view that here:

www.wpbeginner.com/plugins/how-to-install-and-setup-wordpress-seo-plugin-by-yoast/

With the plugin activated you will have an area at the bottom of your post or page editor specifically for the Yoast plugin.

Click on the Advanced Settings, set the dropdown to noindex and set the Meta robots follow to nofollow.

With the changes saved you will now have code added to the page you want hidden that tells search engines not to follow or index the page.

-Robots.txt

For this method you will need to edit the robots.txt file for your site.

This file is in your site’s root directory and you would either need to use FTP or your host’s file manager to edit it.

-Password protect a post or page

If you want to ensure the post or page can’t be seen by search engines you can password protect it rather than request it not be indexed.

When you edit the post or page, in the Visibility option if you click edit you will be able to change it to Password protected and set the password.

Now anyone trying to view the page including the search engines will need the password before being able to view the content.

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

27 Comments on "How to Hide a WordPress Page From Google"

Notify of
avatar

sylexx
Guest
sylexx
7 days 11 hours ago

My "Hello world" can still be found on google even after I deleted it. Help! What to do?

sylexx
Guest
sylexx
7 days 38 minutes ago

thanks!

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
7 days 1 hour ago

You could either wait until Google's cache clears or you could use: support.google.com/legal/troubleshooter/1114905?hl=en

Stephen Beale
Guest
Stephen Beale
1 month 15 days ago

What is the difference between editing the robots.txt file and doing it through Yoast? Yoast seems so much easier! I understand it needs to install a plugin, but it seems like a no-brainer to use Yoast – curious why anyone would do it differently.

Thanks!

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
1 month 12 days ago

Some users do not want to use plugins so knowing the way to do it without the plugin is helpful 🙂

Stephen Beale
Guest
Stephen Beale
1 month 15 days ago

What is the difference between editing the robots.txt file and doing it through Yoast? Yoast seems so much easier! I understand it needs to install a plugin, but it seems like a no-brainer to use Yoast – curious why anyone would do it differently. Thanks!

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
1 month 12 days ago

Some users do not want to use plugins so knowing the way to do it without the plugin is helpful 🙂

Amir Yunas
Guest
Amir Yunas
2 months 11 days ago

WPBeginner has done a great job in providing quality content.

Amir Yunas
Guest
Amir Yunas
2 months 11 days ago

WPBeginner has done a great job in providing quality content.

Sandra The Mom Boss
Guest
Sandra The Mom Boss
4 months 4 days ago

Thank you so much. It was so easy with the Yoast plug in.

Sandra The Mom Boss
Guest
Sandra The Mom Boss
4 months 4 days ago

Thank you so much. It was so easy with the Yoast plug in.

jffrywad
Guest
jffrywad
4 months 11 days ago

i did this but when i review page source i dont see the meta line you show about meta' robot' … help.

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
4 months 11 days ago

If the plugin is not adding the meta tag you may want to reach out to the plugin support to see if there could be a hiccup with the plugin on your site: wordpress.org/support/plugin/wordpress-seo

jffrywad
Guest
jffrywad
4 months 11 days ago

i did this but when i review page source i dont see the meta line you show about meta' robot' … help.

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
4 months 11 days ago

If the plugin is not adding the meta tag you may want to reach out to the plugin support to see if there could be a hiccup with the plugin on your site: wordpress.org/support/plugin/wordpress-seo

Seth Williams
Guest
Seth Williams
8 months 13 days ago

Wow – SUPER helpful. Wish I'd have known about this years ago.

wpDiscuz