Search
Close this search box.

WP Buffs Blog |

How to Discourage Search Engines from Indexing Your Site in 2021

How to Discourage Search Engines from Indexing Your Site (Or Fully Allow Them)

For many websites, search engines are the largest source of traffic. Because of this, when someone asks, “how to discourage search engines from indexing this site,” you’re probably wondering why they’d want to do that. Let’s explore some of those reasons today.

Discourage Search Engines from Indexing Your Site

Common Reasons to Block Content from Search Engines

Many people think that if other websites aren’t linking to your domain, search engines won’t be able to find your site. Even if that’s the case, here are some ways your website can still be found:

  • Someone previously owning your domain and still having links pointed to the site.
  • Domain search site results could be indexed with your link on them.
  • Web pages that contain a list of site names with yours included.

And here are some reasons as to why you might consider how to discourage search engines from indexing this site of yours:

  • (Purposefully) duplicate content. The importance of not having duplicate content cannot be overstated enough; it’s a Google penalty that can get your website de-indexed from the search giant. If there’s a need to publish duplicate content (for example, an advertising landing page), consider adding a canonical link to the page in question. If you find yourself in a position where you need to publish an entire website of duplicate content, it’s best to determine how to discourage search engines from indexing this site (the whole thing).
  • Creating a development or test website. Before debuting a new WordPress theme, it’s best to create a duplicate of the current website to work on for development purposes. No cowboy coding!. You don’t want your website’s duplicate copy to compete with you for ranking—or ruin your chances of ranking, completely.
  • Private content. If you run a membership site, you don’t want paid content to be indexed by search—it’s intended only for paying members!
  • Dynamic content. If you have content that frequently changes, you’d want to block search engines from indexing content that might soon be outdated. It takes some time for search engines to index updated content so if yours changes too fast for the search engine to keep up with, it’s better to block search engines from indexing the already outdated content.
Our team at WP Buffs helps website owners, agency partners and freelancer partners take control of how their sites are indexed. Whether you need us to manage 1 website or support 1000 client sites, we’ve got your back.

How to Block Search Engines from Indexing Your Site

There are several ways to prevent your site from being indexed, but first, let’s clear the air in terms of what that really means.

Many people confuse how websites being “listed” differs from websites being “indexed” on Google. Here’s how it breaks down:

  • Indexing: This describes the process of downloading a site’s content to a search engine’s server to add to its index. Check if your site is indexed by typing site:url (where “url” is your website address). You’ll see how many of your pages are indexed. If you find that your website is indexed, this is generally considered to be a good thing. It means search engines can crawl your site to find content. It takes about a week to up to four weeks for search engines to update search results, which is why there’s a chance your website isn’t showing/ranking yet.
  • Ranking/Listing/Showing: Your website shows up in the search engine result pages. Because your site is showing up in the SERPs (search engine results pages), it means your site is.

In a nutshell, ranking means your site is indexed but having your site indexed does not automatically mean that it will rank/show on the SERPs.

Note also that a site does not have to be listed to be indexed.

Now, the answer to “How to discourage search engines from indexing this site”?

There are a few different ways to find success if you don’t want Google to index your website:

1. The WordPress Search Engine Visibility Checkbox

You can discourage search engines from indexing your website from within the WordPress dashboard.

Go to the WordPress admin area. Select Settings > Reading:

How-to-Discourage-Search-Engines-from-Indexing-this-Site-9-1024x676-2

Go to the Search Engine Visibility option and there you’ll see the WP search engine visibility checkbox. Go ahead and check the box that says Discourage search engines from indexing this site. Be sure to click Save Changes.

Here’s how it works:

WordPress edits the robots.txt file and adds a line to your website header that discourages search engines from indexing your website, as such:

<meta name=’robots’ content=’noindex,follow’ />

Note that although most search engines respect this request, some search engines may choose to ignore it. Even after doing this, there may be some pages and especially images from your website that may still show as being indexed.

2. Editing the Robots.txt File

Implementing the first option to discourage search engines from indexing this site, WordPress takes care of editing the robots.txt file for you.

Another option? Adjust your robots.txt file manually!

Here’s how:

Access your website files through your File Manager or FTP client and look for the robots.txt file. It is usually in the same folder as WordPress, under the public_html file. If there is no robots.txt file, create a new blank one.

Then, enter this syntax, which prevents search engines from crawling your site:

User agent: *

Disallow: /

3. Password Protecting Your WordPress Website

Another way to prevent search engines from indexing your site is to password-protect it, as search engines and web crawlers do not have access to password-protected websites.

To do this, you can either use cPanel or a password protection plugin.

Using cPanel

Most web hosts use cPanel to manage your hosting account.

To password-protect your website through cPanel, first log into your cPanel dashboard and go to Password Protect Directories.

How to Discourage Search Engines from Indexing this Site

Next, choose the directory you want to protect. For WordPress, it is usually located in the public_html folder or the www directory.

Select the Password Protect This Directory option, choose the name for the directory you want to protect, and then save.

How to Discourage Search Engines from Indexing this Site

After doing this, create a user account that will be able to access the protected directory. Provide a username and password, then save.

Using a Password Protection Plugin

There are also several WordPress plugins that allow you to password-protect your website.

As any good WordPress developer will tell you, adding plugins to fix small issues can cause more harm than good. Each new plugin can negatively impact page load speed and introduce new security vulnerabilities. When possible, consider one of the previous options to discourage search engines from indexing this site.

If you’re not as adept in your WordPress website’s backend, consider the following plugins:

Here are some of the top options.

  • Password Protected. A simple plugin that allows you to protect your WordPress site with a single password. Note that this plugin only protects your WordPress site’s content and not your images and uploaded files. If someone enters an exact URL to an image file, it will still be accessible to them when using this plugin.
    How to Discourage Search Engines from Indexing this Site
  • iThemesiThemes Security is a robust security plugin that does so much more than protect your passwords. We know from firsthand experience, considering we partner with them! Benefit from features like forced secure passwords, brute force protection, file change detection, database backups, and more.
    iThemes Security
  • Hide My Site. This plugin allows you to use a single password to protect your WordPress site and blocks users that attempt multiple logins.
    How to Discourage Search Engines from Indexing this Site

Removing an Indexed Website from Google

If your website has already been indexed and you want it removed from search engines—don’t worry. It’s not too late.

To remove an indexed website from Google, you’ll have to first set up Google Search Console.

Once set up, go to your newly-added website and click on Google Index > Remove URLs.

How to Discourage Search Engines from Indexing this Site

Enter the webpage URL you want to be removed and press Continue.

How to Discourage Search Engines from Indexing this Site

Choose the Temporarily hide page from search results and remove from cache and click on Submit Request.

How to Discourage Search Engines from Indexing this Site

What this does is temporarily remove the URL from search results (about 90 days). If this is the way you plan to discourage search engines from indexing this site, it’s best to also apply any of the more permanent methods detailed above.

Fully Allowing Google to Index Your Site

While there may be reasons why you don’t want Google crawling and indexing your website’s pages and posts, there may come a time when you change your mind.

To make sure Google is allowed to index your websites, there are no major adjustments you have to make after you publish content on your website. Google will automatically crawl these pages and index them.

However, if you’re having trouble getting your pages indexed in Google, you’ll want to go through all the steps we just went through to deindex your website and make sure none of them are active. If they are, you may be discouraging Google from indexing your site even if you don’t want to.

Final Thoughts: How to Discourage Search Engines from Indexing this Site

While most people welcome search engine traffic to their WordPress websites, there are others that may need to hide their entire website. Certainly, there are many different reasons to want to prevent content from being indexed by search engines like Google.

Luckily, there are a number of different tactics you can employ to find an answer to the question, “how to discourage search engines from indexing this site?” From working in your website’s backend files, to just clicking a button—or using a plugin—you honestly don’t have to be a web developer to fix this problem on your own.

Want to give your feedback or join the conversation? Add your comments 🐦 on Twitter.

SaveSave

SaveSave

If you enjoyed this article, then you’ll really enjoy the 24/7 WordPress website management and support services WP Buffs’ has to offer! Partner with the team that offers every aspect of premium WordPress support services.

From speed optimization services, to unlimited website edits, security, 24/7 support, or even white-label site management for agencies and freelancers, our expert engineers have your back. Bring us in as part of your team to make your site Bufftastic! Check out our plans

Curious about what we do?

Honed and proven strategies we've used successfully 500+ times to help you sell your first care plans. Action steps you can implement in minutes.

No thanks, I can already sell as many care plans as I want.
How to Sell Your Very First Care Plans Cover

WP Buffs, LLC is committed to protecting and respecting your privacy, and we’ll only use your personal information to administer your account and to provide the products and services you requested from us. From time to time, we would like to contact you about our products and services, as well as other content that may be of interest to you. If you consent to us contacting you for this purpose, please enter your name and email address above.

 

You can unsubscribe from these communications at any time. For more information on how to unsubscribe, our privacy practices, and how we are committed to protecting and respecting your privacy, please review our Privacy Policy.

By clicking submit above, you consent to allow WP Buffs, LLC to store and process the personal information submitted above to provide you the content requested.

Finally, an email list that helps make WordPress simple and effective for you.

Speed & security optimization tips and detailed how-to guides with advice you can implement today.

No thanks, I already know everything about WordPress.
Speed checklist eBook cover

WP Buffs, LLC is committed to protecting and respecting your privacy, and we’ll only use your personal information to administer your account and to provide the products and services you requested from us. From time to time, we would like to contact you about our products and services, as well as other content that may be of interest to you. If you consent to us contacting you for this purpose, please enter your name and email address above.

 

You can unsubscribe from these communications at any time. For more information on how to unsubscribe, our privacy practices, and how we are committed to protecting and respecting your privacy, please review our Privacy Policy. By clicking submit above, you consent to allow WP Buffs, LLC to store and process the personal information submitted above to provide you the content requested.

Case study eBook cover (Rigorous Digital)
Case study eBook cover (MEP Publishing)
How to Sell Your Very First Care Plans Cover

Finally, get your website 99.9999% secure and loading in under 1 second.

Our free eBooks and easy-to-follow checklists will have your website fully optimized in just a few hours.

No thanks, my website is as fast and secure as I want it.

WP Buffs, LLC is committed to protecting and respecting your privacy, and we’ll only use your personal information to administer your account and to provide the products and services you requested from us. From time to time, we would like to contact you about our products and services, as well as other content that may be of interest to you. If you consent to us contacting you for this purpose, please enter your name and email address above.

You can unsubscribe from these communications at any time. For more information on how to unsubscribe, our privacy practices, and how we are committed to protecting and respecting your privacy, please review our Privacy Policy. By clicking submit above, you consent to allow WP Buffs, LLC to store and process the personal information submitted above to provide you the content requested.

How to Sell Your Very First Care Plans Cover

Read about how we increased Rigorous Digital's profit margin by 23% and helped remove all website issues for MEP Publishers and their 3 complex websites.

Case study eBook cover (MEP Publishing)
No thanks, I don't need more profit and I can tackle all my WordPress issues myself.
Case study eBook cover (Rigorous Digital)

WP Buffs, LLC is committed to protecting and respecting your privacy, and we’ll only use your personal information to administer your account and to provide the products and services you requested from us. From time to time, we would like to contact you about our products and services, as well as other content that may be of interest to you. If you consent to us contacting you for this purpose, please enter your name and email address above.

 

You can unsubscribe from these communications at any time. For more information on how to unsubscribe, our privacy practices, and how we are committed to protecting and respecting your privacy, please review our Privacy Policy.

By clicking submit above, you consent to allow WP Buffs, LLC to store and process the personal information submitted above to provide you the content requested.