USD ($)
EUR (€)
UAH (₴)
DKK (Dkk)
SEK (Sek)
NOK (Nok)
JPY (¥)
CHF (₣)
GBP (£)
AUD (A$)
PLN (zł)
ILS (₪)
KZT (₸)
CAD (C$)
Show more
Not specified
United Kingdom
Not specified
Show more

Noindex and nofollow - how to exclude pages from Google search?

Why should you exclude certain subpages of your site from the index?


Noindex and nofollow - how to exclude pages from Google search?

Indexing a large number of pages in search engines is very tempting for many beginner site owners.

Especially if these are new sites, and we are trying to improve the position of our site as quickly as possible.

Although it is true that by publishing more pages that are relevant to a given keyword (provided that they are also of good quality), we contribute to improving the position in the rankings for keywords, sometimes it's better to keep some pages away from the search engine index.


I'll explain everything in a moment. This post will show some situations in which it is better to remove a given subpage from the search engine index, and what exactly it looks like from a technical point of view.

Why should you exclude certain subpages of your site from the index?

There are a number of cases where a subpage should be excluded from the search engine.

The main reason for using noindex and nofollow is to prevent duplicate content from being indexed (the situation where the same text is on two different pages) .

Another good reason?

For example, a thank you subpage. Usually, the user can see it immediately after downloading your e-book or subscribing to your newsletter.

As a site owner, you want the user to go to your site only if they take some action, for example subscribe to the newsletter. You don't need direct links from the search engine to the thank you pages.


A simple example - if you measure conversions using such a page, you will get false information, because someone can access such a subpage directly from a search engine.

Another example would be the ability to download a free e-book in exchange for filling out a form. Upon completion, the user is redirected to a thank you subpage with a link to the promised e-book.

Now imagine that anyone can get to this subpage by typing "e-book positioning" in a search engine.


A thank you and a link will appear on your subpage. The user got what they wanted, and you were left without the information and the desired email.

Alternatively, you may find that the thank you subpage ranks first in the SERPs for your main keyword. As a result, you again lose a lot of blank forms and information.

These are quite important reasons for using noindex and nofollow tags.

So, how to disable indexing of unwanted pages?

There are two ways, so let's move on to the next paragraph.

Ways not to index the selected subpages of the site

1. Attach a robots.txt file to your site.

Use a robots.txt file.txt (before continuing, I advise you to read the article at the link) if you want to have more control over what should be indexed and what should not.

Warning: if you do not have basic technical knowledge, take the advice of an experienced specialist, as the incorrect setting of the robots.txt file can completely "cut off" your site from any search engine.

In this regard, one way to remove a specific subpage from search results is to create and add to your site's robots.txt file.

The advantage of this method is that you can have complete control over what appears in the search engine.

Inside the robots.txt file, you can specify whether you want to block indexing robots or not.

There are a number of rules. You can exclude one subpage, such as a thank you page, block an entire directory, or even get rid of the indexing of a single image.

Recently, I also came across a rule that says that you should not index a subpage if Google AdSense is still doesn't work on this site.

If you don't have technical knowledge and don't need full control over what appears in search engine results, there is a much easier way.....

2. Add noindex and nofollow tags to the subpage in question.

Use noindex and nofollow tags as an easier solution to exclude an unwanted subpage from search engine results.

Using meta tags to prevent the selected subpage from appearing is effective and simple.

Actually, it's a simple "copy/paste" if you're using a suitable content management system (CMS).

The tags that allow you to do this are called noindex and nofollow.

Before I explain how to properly use noindex and nofollow, I will explain the differences between the two tags.

They look similar, but they are two completely different directives. They can be used together or separately, but what do they really mean?

What is a noindex tag?

When you add a noindex tag to a web page, you are telling the search engine that it can index this page, but under no circumstances can it add it to search results.

What is a nofollow tag?

When you add a nofollow tag to a web page, you Prevent search engines from indexing links on this page. This also means that page authority (page authority) will not be passed to any link that is on that page.

In this regard, any links on the page with the 'nofollow' directive will be ignored by Google and other search engines. systems.

When to use noindex and nofollow together, and when separately?

You can use the noindex tag alone or in combination with nofollow. This rule also applies to the nofollow directive.

Add one noindex tag when you want the search engine to not index a particular subpage. Remember that a page with a noindex directive will be searched across the length and width of the page for links and will derive some of its power from subpage authority.

Add one nofollow tag when you want to index a specific subpage but don't want to pass subpage authority to all links on that subpage.

There aren't many examples of adding nofollow to an entire subpage without adding a noindex tag at the same time.

When you're thinking about what to add to one or the other subpage, it's more a question of whether to add noindex or noindex and nofollow.

Add the noindex and nofollow tag if you don't want the search engine to index the selected subpage and pass authority power to links within it.

Thank you pages for signing up or filling out a form are perfect examples of this kind of situation. You don't want browsers to index such a subpage, and you don't want them to know about links leading from it to a particular offer or to a link to an e-book, for example.

How to use the noindex and nofollow tags?

Step 1: Copy the code below:

For "noindex":

For "nofollow":

For "noindex and nofollow":

Step 2: Add the above code to the head section of your subpage that you want to exclude.

If you're using WordPress, the easiest way is to install the Yoast SEO plugin:

Функции Noindex и nofollow в плагине Yost SEO для WordPress

If you don't already know What is the Yoast SEO Plugin, I invite you to check out our article on how to optimize a post with the Yoast SEO Plugin. If your site is pure HTML, then unfortunately things won't be that easy. You need hosting or FTP access.

Теги Noindex и nofollow в разделе заголовка подстраницы

Note that the code must be placed somewhere between the and tags.

H2 hocus pocus, hocus mary - your subpages are gone

Your excluded subpages will no longer appear in search engine results. Now you can start capturing lost emails and valuable information again.

Be aware that your changes will not be visible immediately. This can even take several weeks.

Because of this, the best way to track changes in the index is to study the statistics in Google Search Console.

If you notice that the page you have selected is still appears in search results, most likely Googlebot has not yet visited your site or noindex and nofollow directives were used incorrectly.

Leave your details and our operators will call you back to calculate the cost and agree on a discount especially for you
Posts in our blog

In case you are interested in learning more about "noindex and nofollow - how to exclude pages from google search?", we have made a selection of useful things from our blog especially for you.

all articles
Have ideas but don't know where to start?

Answer a few questions online and we will show you!

A brief is a brief information about your project. By filling out an online brief on our website - you will save time and get rid of unnecessary conversations!

Find out how to get to the TOP in 2021! ?
Answer a few questions ONLINE and find out what it takes to get your site to the TOP!
fill out the brief
Find out the cost of the project online! ?
Answer a few questions and find out how much it costs to develop your site!
fill out the brief