April 25, 2019 | By:

How to Prevent Google from Indexing Certain Web Pages

In search engine optimization, the typical goal is to get as many pages in your website indexed and crawled by search engines like Google.

The common misconception is that doing so could result in better SEO rankings. However, that may not always be the case. Oftentimes, it is necessary to deliberately prevent search engines from indexing certain pages from your website to boost SEO. One study found that organic search traffic increased by 22% after removing duplicate web pages, while Moz reported a 13.7% increase in organic search traffic after removing low-value pages.

So how can I keep Google from indexing my website?

Web Pages That Don’t Need to Be Indexed

As mentioned, not all pages in your website need to be indexed by search engines. Typically, these include, but are not limited to, the following:

  • Landing pages for ads
  • Thank-you pages
  • Privacy and policy pages
  • Admin pages
  • Duplicate pages (e.g., similar content posted across multiple websites owned by one company)
  • Low-value pages (e.g., outdated content from years back, but something valuable enough not to be deleted from your website)

Prior to de-indexing, it’s important to conduct a thorough content audit of your website so you have a systematic approach in determining which pages to include and exclude.

How to Stop Google Indexing a Page

There are four ways to tell Google not to index a page in search engines: a “noindex” metatag, an X-Robots-Tag, a robots.txt file, and through Google Webmaster Tools.

1. Using a “noindex” metatag

The most effective and easiest tool to disable Google indexing certain web pages is the “noindex” metatag. Basically, it’s a directive that tells search engine crawlers to not index a web page, and therefore subsequently be not shown in search engine results.

How to add a “noindex” metatag:

All you need to do is to insert the following tag in the <head> section of a page’s HTML markup:

<meta name=”robots” content=”noindex”>

Depending on your content management system (CMS), inserting this metatag should be fairly easy. For CMSs such as WordPress that don’t allow users to access the source code, use a plugin like Yoast SEO. A thing to note here is that you need to do this to every page that you wish to prevent webpage indexing.

Additionally, if you want search engines to both de-index your web page and not follow the links on that page (such in the case of thank-you pages where you do not want search engines to index the link to your offer), use the “noindex” with the “nofollow” metatag:

<meta name=”robots” content=”noindex,nofollow”>

2. Using an X-Robots-Tag HTTP header

Alternatively, you can use an X-Robots-Tag, which you add to the HTTP response header of a given URL. It has basically the same effect as a “noindex” tag, but with the additional options to specify conditions for different search engines. For more information, please see Google’s guide here.

How to add an X-Robots-Tag:

Depending on the web browser you use, it can be pretty tricky to find and edit the HTTP response header. For Google Chrome, you can use developer tools like ModHeader or Modify Header Value. Here are examples of X-Robots-Tag for specific functions:

  • To de-index a web page:

X-Robots-Tag: noindex

  • To set different de-indexing rules for different search engines:

X-Robots-Tag: googlebot: nofollow

X-Robots-Tag: otherbot: noindex, nofollow

3. Using a robots.txt file

A robots.txt file is mainly used to manage search engine crawler traffic from overloading your website with requests. It must be noted, however, that this type of file is not meant to hide web pages from Google; rather, it is used to prevent images, videos, and other media files from appearing in search results.

How to use robots.txt file to hide media files from Google:

Using robots.txt is fairly technical. Basically, you need to use a text editor to create a standard ASCII or UTF-8 text file, and then add that file to the root folder of your website. To learn more on how to create a robots.txt file, check out Google’s guide here. Google has also created separate guides for hiding certain media files from appearing in search results:

4. Using Google Webmaster Tools

You can also choose to temporarily block pages from Google search results using Google Webmaster’s Remove URLs Tool. Please note that this is only applicable to Google; other search engines have specific tools of their own. It’s also important to consider that this removal is temporary. For permanent removal of web pages from search engine results, view Google’s instructions here.

How to use Google Remove URL tools to temporarily exclude pages:

The procedure is quite easy. Open the Remove URLs Tool and select a property in the Search Console that you own. Select Temporarily Hide and enter the page URL. Afterwards, choose  Clear URL from cache and temporarily remove from Search. This hides the page from Google search results for 90 days, and also clears the cached copy of the page and snippets from the Google index. For more information, check out Google’s guide here.

Wrapping It Up: How Can I Keep Google from Indexing My Website?

It may take time for Google to receive your request for de-indexing. It often takes a few weeks for the change to kick in. If you notice that your page is still appearing in Google’s search results, it’s most probably because Google hasn’t crawled your site since your request. You can request for Google to recrawl your page using the Fetch as Google tool.

If you want to know more, or if you need help with any of your SEO needs, Ilfusion has the expertise and experience to lend you a hand. Give us a call at 888-420-5115, or send us an email to [email protected].

Tags: , , , , , ,

Categorized in: ,

Featured Articles

February 1, 2018 | By: Ilfusion Team

How To Start an SEO Campaign in 6 Steps

Starting a Search Engine Optimization (SEO) campaign can be tricky for any digital marketer. How do you begin? What is the most important element to implement? How do you know if it’s working? Don’t be overwhelmed, though. Starting an SEO... view more

September 26, 2017 | By: Tinny

5 Signs You Need to Hire a Marketing Agency

Marketing is a crucial part of your business strategy. It’s what keeps the gears turning and the driving force of your company’s sales. For small businesses, marketing is important in getting the word out there that your company exists and... view more

September 21, 2017 | By: Tinny

Key Advantages of Video Marketing for Your Growing Business

There has been a rise in the use of mobile devices to access the internet, and there are no signs of it slowing down anytime soon. In this era where most people thrive on living on the go, video marketing... view more

September 13, 2017 | By: Tinny

5 Things You Need to Know: Image Optimization for SEO

If you’re a company whose content strategy relies on images, or if your business blog is image-heavy, it’s high time for you to think about optimizing your images for SEO — if you haven’t done so already. While there isn’t... view more

August 2, 2017 | By: Tinny

Tips on How to Choose the Best Keywords for Your Website

When you have an SEO or PPC campaign, it all starts with one basic element: keyword research. Keywords are the driving force that enable web crawlers and indexers to find your page through the throngs of websites in the world-wide... view more

July 26, 2017 | By: Tinny

Top 3 Search Ranking Factors You Should Know About

Landing on the first page of Google’s search engine results is one of the ultimate marketing goals of many website owners. While Google is keeping mum on what exactly gets you to the top of their SERPs, there are factors... view more

June 28, 2017 | By: Tinny

The Importance of Social Media in SEO

Nowadays, social media has inarguably become an indispensable tool in any marketing strategy. SEO, of course, is also one of those tools that have evolved with the many trends and changes that has occurred through time. This leads marketers to... view more

April 27, 2017 | By: Tinny

5 Ways to Dominate Google’s Search Results in 2017

Here’s how to place your website at the top of search engine results. Creating a website that doesn’t rank well in Google’s search engine results page (SERP) doesn’t translate well to your overall business effort. In recent years, Google has... view more

July 2, 2015 | By: The Conductor

Let’s talk about “The Fold”

We hear it a lot; client feedback that is focused on what content is and is not “above the fold”. To be perfectly honest, this old newspaper term can be a cause of frustration when it comes to good user... view more

June 3, 2015 | By: The Doctor

The Turbit

This crazy ol’ world of ours is spinning faster and faster everyday. Not literally, as we would all be slung to our spacey-doom. I mean figuratively we are all moving more quickly and filling every moment with some bit of... view more

May 6, 2015 | By: Ilfusion Team

How Your Website Can Survive Mobilegeddon

Think your website is mobile friendly? Think again. Google’s new functionality changes have created a frantic need for websites to be optimized for mobile. Mobilegeddon is upon us, and your website could be at risk. See infographic below.

April 23, 2015 | By: El Jefe

Website Cost: A Day at the Ballpark

A question that I get on a regular basis (read: every day) is, “How much will my new website cost?”. To which I typically say something like, “Well, that varies based on the amount of work that’s required to complete... view more

April 7, 2015 | By: The Inventor

Are you a Webspammer?

SEO practices are very different today than how they were even just a few years ago. The number one key to ranking well in search engines today is to create unique quality content. First post it on your website or... view more

March 25, 2015 | By: Ilfusion Team

Social Media Happenings

Ilfusion loves to bring you news on the newest social media functions and trends. Recently, there have been three major happenings in the social media world. Meerkat, a new app that has risen to fame due to the 2015 music... view more

March 12, 2015 | By: The Conductor

The Big Picture

Whether you’re laser-focused on a specific project, or taking a comprehensive approach to your marketing efforts, one aspect doesn’t change: always look at the big picture. Companies often shop at least a few agencies when they’re considering engagement with an... view more