Answer the question
In order to leave comments, you need to log in
Have we closed links from search robots correctly with rel="nofollow"?
Good time everyone! Tell me if we closed the articles in one of the topics correctly? Topic on the news, since we copy news from Interfax or RIA, we decided to hide links to sources using nofalls. But we did it in such a way that in the code of the entire page we do not see this no-fall command, and if we directly click on the link itself with the right button, we see the no-follow command in the code. Is this state of affairs normal? Will hiding links from search robots work?
Code of the entire page:
Code of the link itself:
Answer the question
In order to leave comments, you need to log in
If you want to block any link from passing static weight to search engines, then it is better to resort to a more complicated method than rel=nofollow. The principle of the script is to redefine the style sheet of the site in such a way that links for the user remain links, and for search engines - just text. Thus, the static weight is not transferred to the pages we need, almost guaranteed. (JS is still very poorly indexed, although they claim to be learning).
Creating a separate class and removing the a href tag attribute.
Script example:
$(document).ready(function(){
$(".ext2").each(function(){
$(this).replaceWith('<a href="'+$(this).attr("ext")+'">'+$(this).html()+'</a>');
});
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question