Blog

how to hide a wordpress page from google

How You Can Hide/Noindex A WordPress Page From Google and Other Search Engines

As you already know how renowned and powerful WordPress is. But here is the one most amazing thing about WordPress is its hiding feature. WordPress allows you to hide/noindex a particular page and post from Google and other search engines (Bing, Yahoo etc.).

So let’s see how to hide a WordPress page from Google. Sometimes you want to keep unwanted users away and sometimes you want some privacy from search engines. Whatever your reason behind hiding or noindex a page or post you can do it easily with WordPress.

And later if you feel like you can public that particular page or post then you can also do it without facings any hassle.

In today’s blog post I am going to introduce two different methods that allow you to hide/noindex your WordPress pages and posts. But apart from these a method, I will also share how you can protect your WordPress posts with a password.

Suggested Read: – How To Remove Malware From Your WordPress Site

When And Why You Need To Hide/Noindex WordPress Page From Search Engines

Several reasons enforce you to hide a particular page from your website. As I have mentioned above it could be for security or privacy or maybe you just want to hide some information concealed from the general public.

In any case, you would not want your action to affect the rankings of your website you can hide it from customers. Because if something is not like by user, it might affect the SEO, raking of your website.

Suggested Read: – Top Reasons Why Your Website Traffic is Going Down

SEO is quite important especially if you have a website for your business. Because any kind of irrelevant content might become the reason for poor SEO rankings of your website.

So it better for you to noindex or hide a post and page from search engines like Google, Bing, Yahoo etc.

Suggested Read: – How To Improve or Boost SEO Ranking on WordPress Site

Ways On How To Hide A WordPress Page From Google and Other Search Engines

1st Method: – Hide or Noindex A WordPress Page From Search Engines By Using Yoast SEO Plugin

This plugin comes with a lot of features for enhancing SEO including an easy to use system which allows you to turn on or off  Nondex and Unfollow. But for this, you need to install this (Yoast) amazing plugin.

Step 1. Go to the WordPress dashboard

Step 2. Make a click on plugins and add new

Step 3. Now you’ll see the search box which is located at the top right, enter Yoast SEO.

Step 4. Make a click on the install button.

Step 5. Once you successfully installed the plugin, you need to go to the page/post that you want to hide/noindex from search engines.

Step 6. Now you need to scroll down to the Yoast SEO meta box and need to make click on the advanced setting button.

Step 7. Here you will see two options (Yes/No) click on and hide your page/post for search engines.

how to hide a wordpress page from google

Step 8. At last, just save the changes.

Suggested Read: – Top 3 Best SEO Plugin for WordPress to Get Better Ranking

2nd Method: – Noindex or Hide A WordPress Page From Search Engines By Using Robots.txt

If you don’t want to install a plugin and would want to do it all by yourself, then you can it by using robots.txt file in the control panel of your hosting account. It is a file that is located in the root directory of your website that provides your instructions to Google and other search engine bots on which posts and pages to crawl.

Step 1. To start, you need to login to your hosting account’s cPannel and need to click the file manager icon located under the file section.

Step 2. Now you’ll land in the navigation menu and on the left-hand side of your screen, you will see public_html. You have to make a click on it.

Step 3. After this, you’ll need to locate see robots.txt and make a click on edit from the menu at the top of your screen.

Step 4. Now text editor like notepad will open in front of you. You can edit robots.txt file by connecting your site by using File Manager or FTP client in your WordPress hosting cPanel.have to delete any existing text and need to copy and paste the following code.

Step 5. After that, you’ll need to add this text to your robots.txt file.

User-agent:*
Disallow:/your-page/
Let’s talk with an example. Suppose this is the URL you want to hide from your website http://www.example.com/2020/3/pricing-page/.
This is how it looks like when you add this URL to your robots.txt file.
User-agent: *
Disallow: /2020/3/pricing-page/

Step 6. At last, you’ll need to save changes and upload robots.txt file back to your server.

Edit Robot.txt file with Yoast SEO Plugin

You have already installed Yoast SEO plugin now you can easily edit robot.txt file in just a few clicks. Let’s how:

Step 1. Open your WordPress dashboard and click on Yoast

how to hide a wordpress page from google

Step 2. On the left-hand side, you’ll see a menu, in that menu, you will need to click on “Tools”

Step 3. Now you will land on the next page where you need to make a click on “File editor”.

how to hide a wordpress page from google

Step 4. Now you able to make changes to the file.

how to hide a wordpress page from google

Step 5. At last, save your changes ad publish

3rd Method: – Password Protect Your Page or content

The third way to hide/noindex your WordPress page from Google and other search engines are passwords protect. WordPress comes with the inbuilt password protection feature. With this, you can hide your page or post without using any plugin.

Step 1. You need to navigate to the page that you desired to protect and need to go to the publish box.

Step 2. Then click the link labeled “edit” located next to the visibility option.

how to hide a wordpress page from google

Step 3. Now you need to select the Password protected option and have to fill in your password in the empty input box.

how to hide a wordpress page from google

Step 4. Now its time to make a click on the publish button. Once it got publish only users who know about the password will be able to view your page.

Final Words

I know your WordPress site is an essential part of your online business and you don’t want to take any chance to let it down. But some times it might happen because of some pages or posts.

So it is good to hide that particular page or post from search engines like Google. This blog post will help you to know how to hide a WordPress page from Google.

Just go through with every mentioned method and step and hide or noindex the page and post which creates huddle to achieve the designed raking on all search engine.

Leave a Reply


Your email address will not be published. Required fields are marked *

Related Posts


How to Build User Trust to Get Conversions on WordPress Site

May 18, 2020

How To Build User Trust To Get Conversions On WordPress Site

Facebook Twitter LinkedIn Pinterest Shares Gaining user’s trust is the very first step you need to take for the success of your website. New users may be wary of scams and feel hesitant to make any purchase or provide personal information in contact forms. However, your WordPress website plays a crucial role in building trust

elementor vs divi

April 21, 2020

Elementor vs Divi: A Detailed Comparison Of The Best Page Builders

Facebook Twitter LinkedIn Pinterest Shares Page builders have a massive effect on the WordPress community when it comes to creating custom content design and page layouts for WordPress. And Elementor and Divi are popular options to choose from. But how you can choose between the two best platforms?..

Pin It on Pinterest