How to Hide WordPress Page from Google

Sometimes we need to hide a WordPress page from google. You can do it easily. WordPress allows you to hide a WordPress page from google. If you know how to hide WordPress page from google then you can easily hide your desired page from google search results.

How to Install WordPress on Bluehost Properly

It may be interesting to hiding a page from google. Because generally, we do not want to do that. But sometimes we have to do because of our privacy and keep away from unwanted users.

How to Write SEO Optimized Blog Post on WordPress

Actually, we can not hide anything from google, we just telling google not to index the certain pages on our sites so that these pages will not show up in search engines result pages.

Someone thinks that it will affect your SEO. But in this tutorial, I am going to show you how to hide WordPress page without affecting overall SEO. I hope this article will help you to hide a WordPress page from Google.

How to Display Recent Posts in WordPress Site

How to Hide WordPress Page from Google

Google and other search engines allow you to omit content from search results. There are different ways to hide a WordPress page from google. Such as using robots.txt and HTML meta tags.

You can hide a WordPress page using any of these methods.

How to Hide WordPress page from Google: Using Yoast SEO Plugin

Yoast is one of the best and most popular WordPress SEO plugins. Most of the WordPress users use this plugin for its good performance.

You can hide your posts or pages from google by using this plugin.

At first, you need to install and activate Yoast SEO plugin.

Now you need to edit your post or page that you want to hide from search engines.  Then scroll down to the Yoast SEO meta box just below your post or page editor.

Click on Advanced Settings option.

How to Hide WordPress Page from Google

 

Here you can see different options. You need to select noindex from the drop-down menu in Meta robot index option.

Then select nofollow from Meta robots follow option. Then update your page or post.

That’s all. You have done.

How to Hide WordPress page from Google: Using robots.txt File

This is another method to hide your post or page from search engines. But this method is not recommended for the beginners. Because you need to edit your robots.txt file and if you will do any mistake when you add code then it will affect your overall SEO.

This method is for the advanced bloggers who are familiar with it.

You need to edit robots.txt file by connecting your site using an FTP client or file manager in your WordPress hosting control panel.

Add the below lines to your robots.txt file.

User-agent: *
Disallow: /your-page/

If the page URL that you want to hide like below:

http://yourdomain.com/2016/12/12/hide-my-page/

Then you need to add this URL to robots.txt file. See the below lines:

User-agent: *
Disallow: /2016/12/12/hide-my-page/

Then Save Changes and upload robots.txt file again to your server.

You have done.

I hope you have enjoyed this article. Now you know how to hide WordPress page from google?

Munna Hossain
 

Hello, I am Munna Hossain. I am a professional blogger and affiliate marketer. I am interested in technology, blogging, SEO, and WordPress. My blog Mytechgoal provides you all information about technology, blogging, SEO, and affiliate marketing.

Click Here to Leave a Comment Below 0 comments
error: Content is protected !!