How to Automatically Remove Spam Hyperlink from Blogger Comments?

How To Automatically Hide Spam Links In Blogger Comments To Prevent Comment Spam? Learn How to Completely Remove Hyperlink From Blogger Comments?
comment spam

Spam is really alarming for any site. For this reason, Google Has taken many steps to eliminate spam from comments. There are many Blog already has deleted by Google only for spamming. In addition, zillions of website got a penalty for comment spam. There are many a good blog which isn't visible in search engine because of comment spam.


In the primary stage, Blogger thinks they are doing well by leaving their Blog link on other's blog but this is very bad for long term ranking. Because if a Blogger leaves their Blog hidden link on other's Blog comment section then comment readers may feel interested to visit that Blog. but Google treats this kind of link as spam. 

As a result, anytime they can get a Penalty from Google. And Google Blogger user can lose their Blog or get disable their AdSense account anytime without any prior notification.

Now WordPress use may think Google can't do anything but they aren't aware that their Blog position dropping on the search engine result page SERP. 

Generally, visitors click on the content link that appears on the first page of the search engine. but due to comment spam their WordPress user's content link may appear on the 10th page of the search link where visitors merely go there. That means your Blog will get a negative SEO rank.

Anyway, for stopping spam I personally take some action where Spammer can't spam in my Blog. First of all my Blog's comment box is no-follow. 

Secondly, If any user adds any hidden link then it will automatically invisible. And thirdly my Blog comment section will display a message

Ohh! No Spam for Better Blog!

so this is the most secured way to fight against the spammer.

First, make your Blogger template's comment section no-follow. To do this visit the below tutorial-


Hiding link from Blogger Comment Section

In these steps, we will add a CSS code where hidden link won't display in the Blogger comment section. Just follow the below steps-

Step 1 Log in to your Blogger account and Go to your Blogger Dashboard

Step 2 Click on -> Template -> Edit HTML
 
Step 3 Now find ]]></b:skin> by Pressing Ctrl+F (Windows) or CMD+F (Mac)

Step 4 And Paste the below code above ]]></b:skin> and save your template

 
.comment-content a {display: none;}

Step 5 Now simply hit the Save Template button.

Instead of a Hidden link displaying a message to Spammer

Now we will show a message instead of a SPAM link.

Step 1 Go to https://www.blogger.com and Sign in to your account

Step 2 From Blogger Dashboard click on ->Theme ->Edit HTML

Step 3 And locate the </head> section By Pressing Ctrl+F (Windows) or CMD+F (Mac) in your Blogger template

Step 4 Finally copy the following line of markup and paste it below </head>

 
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js' type='text/javascript'/>

<script type='text/javascript'> jQuery(document).ready(function(){ jQuery(&quot;#comments p&quot;).find(&quot;a&quot;).replaceWith(&quot;<span> Ohh! No Spam for Better Blog!</span>&quot;); }); </script>


Step 5 Now simply hit the Save Theme button.             

The bold code is optional, If you have already added this js the file then don't add it.


You can also customize the text by replacing the text message Ohh! No Spam for Better Blog!  for spammer according to your own word.

I hope now you will able to slap the spammer by following this tutorial. For building a better Blog we should stop spamming. Thus Blogger Spice fighting against spamming.
Go Up