Hello. There are certain links that lead to merchant sites. For these transitions are statistics. But bots also follow these links. How to forbid them to go on them? rel=nofollow not relevant

    3 answers 3

    Try this option:

     <a href="javascript:void(0)" onclick="javascript:window.location.href='http:site.com/'; return false;">Текст ссылки</a> 

    Instead of a link, you can use any other tag. In this case, a transition will occur, and search engines will ignore such a link.

      1. Why rel = nofollow is not relevant in your opinion?
      2. Post through a redirect on your website and in it already keep records of discarding ip bots
      3. Insert links in the block via JS
      • The wiki says that Yandex, GKGL, Yakha no longer look at this tag. Now and so goes through the redirect. The third warriant is good, could you give an example with him? - Alex_01

      Try using robots.txt and write prohibited links for robots in it

      Example of content (prohibition of switching to / admin):

       User-agent: Yandex Disallow: /admin User-agent: Googlebot Disallow: /admin 

      The file must be located in the root directory of the site.