Invalid nofollow value for rel attribute. When you can't do without noindex and nofollow. What is the impact of rel nofollow and the noindex tag?

Many optimizers know that TIC and PR indicators depend primarily on the quantity and quality of links to the site. But if your resource links to others, especially ones that are not relevant to the topic, then its weight drops. This article will tell you how to properly block unnecessary external links and text from indexing using tags.

Noindex

The noindex tag is used to prevent a specific part of the text from being indexed. It should be remembered that this tag does not block links and images from search engines. If you still try to close an anchor with a link with this tag, then only the anchor (phrase) will not be indexed, and the link itself will definitely be included in the index.

Noindex prevents indexing of the part of the code located between the opening and closing tags. Here's an example:

Yandex does not index this text

Naturally, it should not be confused with the noindex meta tag, which is written at the beginning of the page; they have different tasks. If we take the meta tag, then it prohibits indexing the entire page and following links. This prohibition can also be specified in the robots.txt file and such pages will not be taken into account by search robots.

Valid noindex

Some HTML editors do not accept noindex because it is not valid. For example, in WordPress the visual editor simply deletes it. But you can still give validity to the tag:

The text is closed by a valid noindex

If you write a tag in this form in an HTML editor, then it will be absolutely valid and you don’t have to be afraid that it will disappear. The noindex tag is perceived only by the Yandex search bot; the Google robot does not react to it at all.

Some optimizers make the mistake of advising to close all links with noindex and nofollow tags, but this will be discussed below. As for the operation of the noindex tag, it is trouble-free. Absolutely all information contained in these tags does not enter the index. But some webmasters claim that sometimes the text inside these tags is indexed by bots - yes, this really happens.

And this is all because Yandex initially indexes the entire html code of the page, even those located inside noindex, but then filtering occurs. Therefore, at first the entire page is actually indexed, but after a while the html code is triggered and the test enclosed in this tag “flies out” of indexing.

You don’t even have to respect the nesting of the noindex tag - it will still work (this is described in the Yandex help). Do not forget, when using the opening at the end of the excluded text, put a closing one, otherwise all the text coming after the tag will not be indexed.

Nofollow

The attribute has the task of blocking links located in the text from search engines. It is used by optimizers to avoid transferring weight from the referring resource to the referenced one. Yandex is well aware of this attribute.

You need to know that nofollow does not save weight on the page - if the link is enclosed in this tag. The weight of the resource does not pass through it, but rather “burns out” or if there are other links on the page that are not closed by the attribute, the weight will be distributed between them. And if there is at least one external active link on a site page, then the weight of the page will go away.

The main difference between nofollow and noindex is that nofollow is an attribute for the tag , which prohibits the transfer of weight by link, and noindex is a tag that blocks the text you need from indexing. Here is an example of using the nofollow attribute:

Link text

Naturally, it makes no sense to set the nofollow attribute in links that lead to internal blog pages, although there are exceptions. In cases where weight from the page needs to be transferred to selected internal links, all others can be closed.

Example of using nofollow and noindex together

Both nofollow and noindex tags work great when they are in close proximity. Here is an example of their use:

Link text

Designing a link in this way will help you maintain the weight of the page and, moreover, the Yandex search bot will not see the anchor. In conclusion, it must be said that you do not need to close the link's noindex tag, thus you only prohibit indexing of the anchor, but not the link itself. One nofollow attribute will be enough for it.

Good day, dear readers. I often come across the fact that many novice webmasters and bloggers are completely confused about the use of noindex and nofollow. Let's figure out what it is, what it's eaten with, and dot the i's.

It’s worth starting with so that in the future you never get confused in your head that both noindex and nofollow are used in two relatively different meanings in a web document.

The first is inside the ROBOTS meta tag (not to be confused with the robots.txt file) in the value of the content attribute. This meta tag relates to the entire document as a whole. Second, only nofollow is used - inside the tag and relates to a specific link. The noindex tag is a slightly different story, and we will also talk about it today. It is also worth noting that I will only consider the use of nofollow and noindex in two search engines - Yandex and Google.

NOINDEX and NOFOLLOW in the ROBOTS meta tag

The robots meta tag is responsible for the entire page. Using this meta tag, you can prohibit or allow indexing of page content.

Noindex is responsible for prohibiting indexing of text on the page.

Nofollow is responsible for preventing the indexing of links on a page.

These values ​​are used as follows:

which means that this page cannot be indexed at all.

There may also be the following values:

you can index the content, but ignore the links on the page, i.e. don't index them.

You can read more about the robots meta tag in my article.

NOFOLLOW in links

Nofollow is used as the value of the rel attribute in the tag . And is responsible for indexing each specific link on the page.

The rel attribute shows the relationship of this document to the document being referenced.

In this case, by setting the rel attribute to nofollow, we are asking the search engine not to click on the external link, and we are also emphasizing that we are not responsible for the content that we link to.

Links designed with this value do not convey the authority of our page, in other words, the TCI and Page Rank are not transmitted. However, it is also worth considering that in the case of PR, the weight still goes, but not to the site to which we link, but to nowhere in the literal sense of the word. Regarding the TCI, there is no exact information on whether the weight is lost or remains on the site.

Let's take a closer look at the distribution and transfer of weight to Google.

So, it doesn’t matter at all how many links you have have the attribute and how many do not. If there are 10 links on a page, then each link will receive part of the authority of your page, and each of them will transfer this weight, but if in one case the weight is transferred to a specific site, then in another case the weight will simply go to nowhere.

Let's imagine a little how a search engine sees the World Wide Web. All sites are interconnected by links, absolutely everything. The first refers to the second, the second to the third... the thousandth to the thousand and one and some million in the end will definitely refer to the first.

Thus the chain is closed, all sites are in a loop, and the weight that the first site transfers always returns to it through hundreds and thousands of other sites. We also don’t forget, and I already wrote about this in, that this weight is transferred not just once, but constantly, and over time the weight only becomes larger, increasingly increasing its authority. It is on this principle that website linking is built.

Now imagine that the first site closed its links with the . The weight will not transfer to the second site, but will flow into nowhere, and the second site will not receive that part of the weight that it should have, will not be able to transfer it further along the chain, and as a result, having gone through the entire cycle, X is some site that should was to transfer the weight to the first site, it will transfer it in significantly less quantity than it could. So, each time you don’t receive that part of the weight that you yourself throw into nowhere by closing your links with the attribute, the site cannot transfer it to you, which means that by closing your links, you deprive yourself of increasing weight, and such an indicator as PR

To make this easier to understand, let's imagine that each link conveys a weight equal to one.

Thus, if the first site did not close the link with the attribute, then at the end of the cycle it will receive more weight from incoming links than if outgoing links are closed.

Closing a link is not profitable if you really, truly recommend to your readers the article you are linking to, your page on a social network, or your RSS feed. It’s stupid to close links to your own pages on social networks when you recommend that your readers subscribe to blog updates through them. After all, these are your own pages, your own RSS feed, which broadcasts your own content. Aren't you responsible for it yourself?

But there are situations when it is really necessary to close links with the nofollow value. Let's turn to the sources, Yandex and Google, what do they say about this?

In addition to this, Google recommends marking selling links with the attribute. Google also writes that using nofollow we can point the robot to closed sections of our site, but clarifies that there are other ways to indicate this.

I would also like to pay attention to one more point. Some ardent fighters for closed links focus not only on the links themselves, i.e. in the tag , but also wherever your imagination allows. And in the tag, and, and in the tag .

Let's not invent our own standards, but turn to the existing ones that are being developed by the international organization W3C.

The value can only be used in a tag , and it cannot be used in other tags!

So, we found out when it is worth using the link attribute and when it is not advisable. We will also no longer be inserting it anywhere except in one single tag indicating the link. Now let's pay attention to the noindex tag.

NOINDEX - a rudiment from Yandex

Once upon a time, Yandex did not understand the meaning of nofollow, and therefore came up with its own tag

something inside

so that you can close unwanted links with its help. Everything that was inside this tag was ignored by the Yandex robot. But a lot of water has passed under the bridge since then, Yandex has matured and began to understand the . This happened back in the spring of 2010. That's when the noindex tag lost its value as a link-closing tool. But at the same time, another meaning remains - to hide text content. Excerpt from the Yandex Help section:

They are recommended to hide service areas of the text. It is not entirely clear what service areas we are talking about, but it is quite obvious that this tag now has nothing to do with links. Those. it turns out if we place the link in this tag:

You can safely refuse to use this tag, especially considering its invalidity. After all, in fact, such a tag does not exist at all. As we know, HTML standards are developed by the international organization W3C, and there is no such tag in the specification for the HTML language; this is completely an invention of Yandex.

There is one more question that I would like to draw your attention to. Often, when I try to explain what I wrote about in this article, people object to me:

“I analyze the site with such and such a tool, and it shows me that my links are not closed...

You can trust all these tools, this is your full right, but isn’t it better to believe the official documentation of search engines, and isn’t it better to think with your own head?

Good luck with website optimization.

The Yandex search robot “walks” through sites, views and analyzes their content, and then saves a pointer to text and images in the Yandex search database. This process is called indexing. Part of a web page can be blocked from indexing by placing it inside an element. Then, the next time you visit the web page, the search robot will ignore such content and will not add it to its database. This is done for various reasons, for example, links that are closed from indexing do not transmit the TIC (thematic citation index).

It is important to understand that this is a non-standard element and was invented by Yandex for its own purposes. Browsers do not support it in any way and simply display its contents as usual.

If you need to close the entire page for search engines, use the element by adding it to the HTML code:

Or add the following line to your robots.txt file:

Disallow: /private.html

Where is private.html the page address.

Syntax

...

Closing tag

Required.

AttributesExample

noindex

Yandex will not index this text.

Browsers

The following notations are used in the browser table.

  • - the element is fully supported by the browser;
  • - the element is not perceived by the browser and is ignored;
  • - during operation, various errors may appear, or the element is supported with reservations.

The number indicates the browser version from which the element is supported.

An article for those who are too lazy to read help on GoogleWebmaster and YandexWebmaster

Closing unnecessary pages of a web resource from search indexing is very important for its SEO optimization, especially at the initial stage of getting a website or blog off the ground. This action promotes promotion and is recommended for use on service pages. Service pages include technical and service pages intended solely for the convenience and service of existing customers. These are pages with indigestible or duplicate content that provide absolutely no search value. This includes user correspondence, mailing lists, statistics, advertisements, comments, personal data, user settings, etc. And, also - pages for sorting material (pagination), feedback, rules and instructions, etc.
  • Meta robots tag
  • Meta robots tag

    To control the behavior of search robots on a web page, there is a robots meta tag and its attribute content. closing a web page from search indexing,

  • Meta robots tag
  • Why is the robots meta tag better than the robots.txt file?
  • Tag NoIndex and Yandex

    Sometimes, when making some technical changes on the site or blogging for a long time, materials and pieces of code appear that can harm. In this article I will touch, first of all, Yandex and describe its “specific” HTML tag .

    What's the point here anyway? As you know, the following must be taken into account:

  • the material (primarily text) of a single page must be unique
  • and must match any keyword (query) for which this page is SEO-optimized.
  • But if there are (or appear over time) texts or codes that negatively affect these 2 points, then promotion may worsen.

    What exactly is this and how does it affect it? What is this

    There could be a lot of things here:

    • pieces non-unique text you took from someone else's site and inserted into yours unique(originally) article,
    • an abundance of advertising codes - teasers, banners, and others,
    • many JavaScript scripts and flash application codes,
    • different blocks of links in the sidebar like “our friends”,
    • a bunch,
    • and etc.
    How does it affect

    Based on the two list items indicated at the beginning of the article, it affects this way:

  • there is a “dilution” of density.
  • Therefore, it would be a good idea to block all unnecessary parts of materials from indexing by search robots.

    Yandex Noindex tag and hiding code from its robots

    Unfortunately (or maybe not), only Yandex allows you to block certain sections of HTML code from indexing. Perhaps, over time, Google and Bing will also offer something similar. Or maybe their developers simply don't consider it necessary.

    In general, there is no noindex tag in Google! - I especially point out this because the Internet is full of conversations on this matter. But the Google search engine allows you to hide the entire page from robots through, as well as using standard means - like other PSs:

    Using Noindex in Yandex

    It is no more difficult to use than any other HTML tag. It usually looks like this:

    Some of that No need give to Yandex

    An alternative option is also possible - the noindex tag in the form of a standard HTML comment. Here, for example, is how you can hide context from AdSense:

    AdSense is “wrapped” in noindex tag

    - i.e. everything is the same, but we add an indication that this is a comment. In my opinion, this option is preferable.

    By the way, to find out where the noindex tag blocks are located on a web page, you can put:

    They will literally “highlight” sections of code “wrapped” in this tag. True, RDS bar sometimes does not highlight the option in comment format - noindex > .

    When to use?

    As I wrote above, noindex in Yandex is needed to hide unnecessary pieces of code so that The uniqueness of texts and the relevance of articles to queries did not decrease. It would be quite logical if the thought arises close everything except the text of the optimized article in the noindex tag— including in the top menu, site header, comments, etc.

    In fact, it's not worth accelerating like that. There are two reasons for this:

    • Such manipulations (if overdone) can be considered by Yandex.
    • The robots of modern PS are able to distinguish where, for example, the block with an article is located, and where the comments to it are. Yandex can too- about 10 months ago I personally found out this from them, because... I planned to close all blocks with comments in Noindex.

    With the comments it turns out quite interesting - search engines like lots of comments, because this indicates . Therefore, you don’t have to worry that commenters’ texts will reduce the relevance of the article to the query - it’s better to think about them.

    Also, in my opinion, it is better to close AdSense blocks from the “eyes” of Yandex (like any other advertising codes) - so that this search engine does not consider your site “too” advertising and does not apply it. BUT leave it open.

    The point is that YAN accepts only high-quality resources from the point of view of Yandex, therefore, the presence of this advertisement can hint to this PS about the “quality” of your project and increase such an abstract characteristic.

    Noindex and closing external links

    One time (when Yandex didn't support nofollow), unwanted ones had to be “wrapped” in and additionally added to the link tag rel=’nofollow’, i.e. the entire code of the closed link could look like this:

    Closing links in Yandex via nouindex

    Now this PS supports nofollow and you can do without “wrapping” the link in and use the standard nofollow technique. Read more about the Rel=nofollow attribute.

    It seems that this is all that can be said about the Noindex tag and Yandex. Keep all this in mind and use it wisely

    Continuing the topic:
    Linux

    On this page you can download useful physics programs that make it easier to carry out various calculations. Thermophysical properties of water and water vapor on the line...