Automatically Remove Spam Links In Blogger Blog

You might have noticed some links in the comments on your blog or maybe some other blog. Sometimes they relate to the topic and sometimes they are just useless. Once I have also seen beauty related blog links on my blog. These are just unnecessary things people do it to get back link.

Automatically Remove Spam Links In Blogger Blog
It is very annoying for bloggers and they don’t want it on their blog. You can do remove all your spam comments manually but it is a very long process. In this post, I will show you a very simple method to remove spam links from your blog’s comments.

Automatically Remove Spam Links In Blogger Blog: Method 1

Step 1 : Open your blogger dashboard. Go to ‘Template’ and click on ‘Edit HTML’.
Automatically Remove Spam Links In Blogger Blog
Step 2 : Now click anywhere inside it. Using the keys Control+F, open the search box.
Automatically Remove Spam Links In Blogger Blog
Step 3 : Search for  ]]></b:skin>
Step 4 : Paste the following code just above it.
             .comment-content a {

display: none;
}

Step 5 : Save the template and you are done.
If this method doesn’t work for you then you can try next method.

Automatically Remove Spam Links In Blogger Blog: Method 2

Step 1 : Repeat Step 1 and Step 2 from above method.
Step 2 : Search for <body>
Step 3 : Paste the following code just below it.
             <!–Stop Blog Comments –>

<script>$(‘.comment-content a[rel$=nofollow]’).replaceWith(function(){return ($(this).text());});
</script>
<!–Stop Blog Comments –>

Step 4 : Save the template and that’s all.
I hope this tutorial helped you to protect your blog from getting spam links in comments.

Add a Comment

Your email address will not be published. Required fields are marked *