Due to some circumstances, this blog is now up for sale, for more enquires contact: Plushista@gmail.com
Pin It

How To Hide Links In Blogger Comments Using jQuery

It is always advisable to change blog comment attribute to nofollow or remove comments links completely in other to save your blog from panda effect. If you have been dealing with all sort of spam comments and you are so busy to review all comments, then this new blogger hack will help you with that by removing any link included in comments and replace it with ordinary text using jQuery.

How To Remove Links In Comments

  • Go to your dashboard
  • Click on Template > Edit HTML > Proceed (Mark/Tick Expand Widget Template)
  • Use ctrl F to find </body> and paste the following code above/before it.

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

If you have been using jQuery library in your blog, then skip the above step and move to the next step.
  • Now paste the following code above </body>

$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});

The code above works for blogger threaded comment, in case you are using the old blogger comment, then use the code below.

$('.comment-body p a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});

Hope you found this useful? take few seconds to share it with friends/followers you think this might be of interest to.

Go Social:

Subscribe For Free Updates!

*Please confirm the email sent to your inbox after clicking "Sign Up!".

12 comments : Post Yours! Read Comment Policy ▼
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

  1. Thanks for sharing the information.It is definitely going to help me some time.

    Hide Comments

    1. You are welcome Paul, glad that you find it useful :)

  2. Nice Tip.. Really Helped My site http://www.nairotech.blogspot.com from heavy spam comments..Ridwan, you are a saviour. Keep It Up Man!

    1. You are always welcome Harold. Glad that you find it useful for your blog.

  3. SEO Services Hyderabad
    This is really interesting, You’re a very skilled blogger. I have joined your feed and stay up for in the hunt for extra of your fantastic post. Also, I have shared your website in my social networks.

  4. Hi! I am Munna Singh before some days I was very worry with our skin surgery with any one I heard about Skin Specialist in Delhi in Klinikesthetika clinic. Then I used this service and I got a best treatment for skin. Now I am very happy to use this service.

  5. I have seen your info on seo service . That you provided is very useful for any interested on this post. I am very much satisfied with your info. I am very glad to say thanks for this info.
    Thank you very much sir.
    seo services Hyderabad

  6. You really delivered reliable information. It will be interesting and useful for those who are searching. It's correct place to find info, thank you regarding discussing information. seo services in hyderabad

  7. It’s really such nice information to get advantage from. MacFarlane Gro

  8. Thank you for sharing the tips! It works for me.
    le lenny face


About Me

My Photo
Durodola Ridwan is a Professional blogger, SEO Consultant, Certified Web developer/designer and founder of www.realcombiz.com. He love writing about Blogging tips, SEO, and play around with codes. You can connect with him on facebook, twitter @realcombiz, and Google+.

Recent Posts

Let's Connect

Site Links

Copyright © 2014 RealcomBiz. All Rights Reserved.
Powered by Blogger