Google is very strict about spammy backlinks and most of the famous websites offering backlinks have been penalized recently.
Why spammers still do it when Google doesn't allow
Google will not consider invalid backlinks at all. The spammy links you get in comments are the sites that are already penalized in the past. Those sites will not get any traffic from Google. So, they choose this method as alternative to promote their existence on web. So, they choose some best performing articles in the search engine and leave their link traces.Removing Spammy links manually
Removing spammy links manually is a head over task. It kills our real productive time on website. Imagine that you are getting 100 comments per day of total on your blog and more than half of them are left out with spam links. Google comments system will help you to some extent removing those spammy comments automatically, but not completely. The remaining comments are to be removed manually which literally wastes our time and spoils the working mood.
Removing Spammy links Automatically
It would save our time if these spam comments can be neutralized right on submission. After a little research over the internet I found a piece of code that quarantines the links in comments and adds 'nofollow' attribute to them automatically.
This method may not remove the comments automatically but can surely make them ineffective though existed.
Find </body> in your website's template and paste the following JQuery code right before it.
Look for comment CSS section your template and add the following CSS code:
Comments section CSS terminology may vary for template to template. Be smart while adding the code in your template or else you may spoil your site. It is best practice to take backup of your template before you do any changes.
Find </body> in your website's template and paste the following JQuery code right before it.
Code
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script>
$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});
</script>
<script>
$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});
</script>
Look for comment CSS section your template and add the following CSS code:
comments a{
display:none;
}
display:none;
}
Comments section CSS terminology may vary for template to template. Be smart while adding the code in your template or else you may spoil your site. It is best practice to take backup of your template before you do any changes.
Code Installation in Blogger
- Go to Template > Edit HTML > Find </body> line and add the given piece of JQuery code above it.
- Now find ]]></b:skin>, identify the comment section CSS and add display:none; property to the anchor link code. It would look alike 'comments a{' or 'comments-section a{' or something similar.
- Save changes & view the difference in the comment section of any post.
Comment below for any help in installation!
Post a Comment