Wednesday, 1 August 2018

Disable Comment Links In Blogger

Spam comments are becoming a huge problem for most blogs as there is a huge number of people trying to market their products and scams through various blogs, these spam links will mostly lead loyal readers to unsafe sites that might cause readers to become victims of Identity theft and leaking their credit card details.

Allowing any type of Links to be posted into your website will allow hackers and other Identity thieves to have access to the readers accounts which can later tarnish the trust between you and your readers.



Blog commenting is good for your blogs as it can be used for blog Search Engine ranks as it shows activity in the site making it rank better in search engines which the reason why we need active comments on the blog, meaning that you need that activity in the comment box but what is not needed is the Hyper Links which are posted by scammers to lure readers into their websites. In this Tutorial you will learn how to fully remove all hyper links in your site.

Disable All Comment Links in Blogger

NB: Option Works Also For HTML Sites

Step 1 - Log into Blogger Dashboard

Step 2 - Select Theme  and  Then Edit HTML to open your blog HTML code


Step 3 - Open the search box(CTRL + F)  and Find  </body>

Step 4 - Paste This code just above   </body>


<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'/> <script>$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});</script>

This code will disable the links in the comments section but will show them them as Text, to fully hide the link Text please use the following code instead.

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'/> <script> $('.comment-content a[rel$=nofollow]').hide()); </script>


Step 5 - Save Template and all comment links will be disabled

We Believe that these codes will solve the problems in your site and help improve your site quality by reducing spam comments. please leave your comments below for further assistance.

Sifiso Nkwanyana

Author & Editor

I hope you have recieved all the information you seek and thank you once more for browsing our website we hope to hear from you soon.

0 comments:

Post a Comment

Although every comment is appreciated, due to time limitations I might not be able to respond to everyone. Keep it in mind that we respect all comments by our readers but all spam comments and spam links will be deleted. Thanks for understanding!