How To Disable Spam Links From Your Blogger Comment Box

Share... ☂

Share on Facebook
Share on Twitter
Share on Google+
Comment Box is very important for tech blogs reasons is because your visitors will like you to explain more to them but not all viositors are ready to ask but ready to spam your box with link all because of backlink to there site.

The main reason why most bloggers get banned is not mostly there fault it might be as a result of spam comment which google dislike and you might be thinking commenting with your site url brings backlinks yes it does but when it becomes much it is been counted a harm to the site you place them.

Blogger is doing something funny with HTML-enriched messages like mine and I've had to play around with the code to make my message come out legible for the past month since Blogger introduced its commentbox bug.

How to disable comment box

This method am about to teach you will help you disable them when ever the are being inserted to your blogger comment box.


Step 1
Forst you need to login to your blogger Dashboard and then select your blog from the dashboard.



Step 2
Now scroll down to the Themes tab and then click on it.




Step 3
On the template page click on edit template.



Step 4
Search for this codes below  and then remove it from your blog html codes

<a expr:href='data:comment.author Url' rel='nofollow'><data:comment.author/ ></a>

OR



Remove Spam Comment links Using jQuery codes

Removing spam links in Blogger using jQuery is the best option that I will recommend for any blogger as it will not only hide the link but it will also remove it from the blog within seconds after the comment was published.


Step 1
Edit Html to open your your Template Code


How To Disable Spam Links From Your Blogger Comment Box


Step 2
Now Press the "CTRL" + "F" keys and search for this code <body> Now Just below It paste or  code below. or above this code </body>

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


Step 3
Finally save your Theme and that all you need to do.


Feel free drop your comment below thanks.




Share :

zealmatblog

No comments:

Post a Comment



Parse Your Adsense HTML code Here





We love to hear from you!

Sign in to comment "anonymously" without entering verification text.