Skip to main content

How to Hide or Remove Spam Links From Blogger Comments

Tired of blog spamming? I have the best solution for you to remove or hide spam links from comments of your blog.

The comment section of a blog has a vital role in deciding the search engine ranking because it is a part of on-page SEO. As we all know blog commenting is one of the easiest ways to earn backlinks and traffic to any blog. Whether your blog is old or new, every blogger should have an effective comment strategy.

Newbie bloggers always try to gain more backlinks to increase their website ranking. So, they will insert some hyperlinks in the comment box. This will leads to spamming and there is a chance to deviate the visitors from your site to other.

So when commenting always try to include keywords this will help you as well as the author of that post. Try to remove spam links while adding your thoughts, you don't need to put a link every time to get backlinks. Even no-follow blog comments can also generate traffic if your thoughts are informative.

Sometimes we get quality comments with links in it, then we don't wants to avoid it completely but we likes to publish it without the spam link in it. So here I will explain ways to remove or hide spam links from a blogger comment box.

Disable hyper links from blogger comments

Warning: As usual, we have to insert some codes to template HTML, so keep a backup of your current template.

Hide spam links from blogger comments


Do you want to hide the link and the text also? If the answer is yes follow me, I will describe with step by step tutorial
.
1. From your Blogspot dashboard navigate to Template > Edit HTML and click anywhere inside the HTML code and press Ctrl +F to search for </head> tag.

2. Now copy the below piece of code and paste above the </head> tag.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" />
Note: if you already added this jquery code, avoid this step.

3. Now search for the </body> tag and paste below code above the tag.
$('#comments p a').hide());

Remove spam links from blogger comments


Above method hide both the text and link, but by following these steps you can remove only the links but not the word which contains hyperlinks. Let's start,

First and second steps are same as above, after that insert below code above </body>
<script type="text/javascript">
$("#comments p a").each(function () {
    $(this).replaceWith($(this).text());
});
</script>
Now save the template, preview the post and ensure it is done properly.

Final word


We are successfully done it, now it's up to you, removing spam links from comment box is not the only solution always do comment moderation this will minimize the spam comments. Understand the type of comments and utilize it properly to enhance the SEO as well as the ranking of your blog.
Hope the tutorial is helped you, if you have any questions or doubts please feel free to share it with us via comments. Take care!

Comments

Popular posts from this blog

How To Make Money On Blogger Without Adsense

Some people takes blogging as a hobby and some takes as their passion, you can make your passion into money if you take some effort. Blogging is a best source of online money, we all know Adsense is one of the best way to make money from a blog. Here am going to tell you about how to make money on blogger without Adsense. There are hundreds or thousands of blogs are giving ideas about how to make money with blogger. Some of them are giving a wrong details, this given a bad name to make money from blogger.  Can you Really Make money with Blogging? The answer is yes, you can create a decent amount of money from blogger. If you're passionate about a subject and you have decent writing skills, blogging definitely could be an alternative career path for you. 1. Join Pay per click advertising Program.                                       ...

How To Create A Blog For Free And Make Money With Blogspot

Creating a blog on blogspot  is not a difficult task, it is easy and free. If you like to share your thoughts and ideas to your surroundings, a blog is the best way. If you are serious about it even you can earn a decent money from it. So here I will teach you about  how to create a blog for free and make money with blogspot . There are many newbies afraid to create self hosted blogs, those don't have a good knowledge about blogging world Google Blogger is one of the best way to start because it is free and easy. The good news is that it doesn't need any skills to  create a blog for free. As I mentioned above, we can create blog easily but getting a good traffic is the difficult part. Traffic is a reward for our hard work, to drive a huge traffic to your blog read my  30 Amazing tactics to get more traffic on blogger. The main purpose of this article is to help the beginners to enter the blogging world. So,  what is blogspot?  Acco...

How To Add Stylish Related Posts Widget for Blogger With Thumbnails

Related posts with thumbnail is an important widget for a blog, it has an ability to keep the readers in your blog. There is no widgets are available for related posts from blogger, so we have to do it by little html coding. Don't worry! Here I'm going to give you a complete step by step guide with picture to add a stylish related post widget for blogger with thumbnail. When we talks about SEO, internal linking contribute a large role in increasing the page views. If a reader enters into your blog they automatically see the 'related posts' widget, this may attract your visitor to click on the next post which will increase your overall pageviews. There are lots of  third-party  related posts are available for blogger but they may affects your blog badly because they increase the loading time which cause negative impact on seo of your blog. Step by step guide  to add stylish related post widget for blogger with thumbnail. Step1 : From Blogger Dashbo...