Disable Hyperlink on Blogger Comment



Today we are going to explain how to stop commenting spam links or backlinks on your blog. You probably don’t want to remove all the comments that contain links. We have found a solution to this problem.

How its work?
Let's think if someone has put a comment on the below of your article with his backlink after applied below code. it shows as a normal comment. this code deletes all redirection in the Comments section


How to do it?
1 ) Go to your Blogger Dashboard  >> Theme >> Edit HTML

2 )  Then find  </body>  tag in the html code


3 ) Past below code above the </body> tag



Code


 

 <!--  deseble back link start  -->





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





 <!--  deseble back link end  --> 

 
 


4 ) then click " Save theme " Button


Labels:

Post a Comment

[blogger]

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget