The number of Spam Comments in the blog comment column sometimes makes us feel annoyed, because the purpose of spammers is usually only to insert an active link in the blog comment column, besides that, these spammers usually aim to get the maximum backlinks.

Disable Active Link on Bloggers Comment

If the Blog owner does not respond to this, sometimes the position in the search results decreases due to Spam Links that have a Bad Impact on SEO Quality.
To overcome this, you should always check the blog activity and also the comments column on the Blog dashboard.

To delete active links automatically on the Blog, then use the script below that can overcome this, so you don't need to worry about spammers using active links to paste into the comments column.

Please follow the following steps.

How to Delete / Disable Active Links in the Comments column Automatically.

1. Login on the Blog
2. Select Theme / Template
3. Select Edit HTML
4. Look for the code below.
</body>
Use the CTRL + F function on your keyboard or laptop to find the code.
Usually the </body> code is at the bottom, please look for it.

 Once you have found, copy the code below and place it directly above the code </body>.
<script> //<![CDATA[ /* Disable Active Link on Bloggers Comment */ content = document.getElementById('comments').getElementsByTagName('p'); for (var i = 0; i < content.length; i++) { if (content[i].innerHTML.indexOf('</a>') !== -1) { content[i].innerHTML = content[i].innerHTML.replace(/<a[^>]*>|<\/a>/g, ""); } } //]]> </script>
Click Save when you done.

well that's an easy way to disable active links into plain text.
If you find this post usefull please kindly share it with your friends