Disable Hyperlink(Anchor Text) in Blogger Comment Form.

Today's tutorial will specially meet you some css tricks also some JavaScript implementation. Move of this tutorial denotes how we can disable anchor text or hyperlink in blogger comment content which is left by commentators as published or spammed. Whatever the spammers target is to drive millions of traffic by such procedures the comment is left always on off topic, which attract readers most. Blogger platform can now filter spam comments, but to make over sure to remove spam comments you should enable three different options with your comment form, (1) enable captcha verification (2) enable comment moderation also (3) disable hyperlink in comment form will 100% make sure to remove spam comments. So let's go to implement our third action to disable anchor text in comment form

Disable Hyperlink(Anchor Text) in Blogger Comment Form.

Why To Remove Anchor Text From blogger Comment Form?

  • Anchor text(hyperlink) surely sends traffic to other site displacing origianl site URL
  • When a specific post gets over millions of views then people inheritedly tend to put attractive links as much as they can, thus the certain attentions of original post topic get affected as readers find better things from posted comments
  • Although Search Robots do not index these hyperlinks, but these links may decrease your page rank also
  • Hyperlinks merely include spam issues which definitely hampers your post quality
Note: Blogger platform is not so strong to prevent spam comments unlike wordpress, joomla so i strongly recommend blogger users to disable hyperlinks from showing in comment form to run better SEO, keeping safe and good quality content.

Disable Anchor Text In Blogger Comment Form

1. Go to Blogger > Template
2. Backup Your Template
3. Now search for following code
</body>
4. Simply before this tag add following JavaScript code
 <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>
5. Once the script not working then please add the following line too
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'/> <script> $('.comment-content a[rel$=nofollow]').hide()); </script>
6. Finally hit save and you're almost done!

Alternative Way:

You can adopt another process to stop showing hyperlink text in comment content
1. Simply search for following code
]]></b:skin>
2. Now add the following CSS command right before this tag
.comment-content a {
display: none !important;
}
3. Finally save your template and it should be working too

How It Worked?

I think you could learn how to disable hyperlinks in blogger comment form, once it doesn't work for yours do let me know. I would check your blog template manually and fix the problem, peace :)

0 comments

About

The Wild Blogger is a technology blog which covers all popular and trending news of the web, tech tutorials, blog, blogging tips and tutorials, seo tips, social media marketing, content marketing and tools. Read More...

Browse by Topics

SEO Social Media Make Money

Blogger Tricks Tutorials

Blogging Tips Photoshop