Disable Clickable Link Spam from WordPress Comments

Disable Clickable Link Spam from WordPress Comments

0
data:blog.title
remove spam

WordPress is more vulnerable for the spammer. So WordPress user must take proper steps before starting their Blog on that platform. There are millions of spam are spreading through comments over the net.  Most of the comments are not related to the topic and commentator add a clickable link on comments. So Admin should apply a trick thus spammer don't feel interest to make comments on their Blog.

clickable link

Whenever a commentator leave a comment in WordPress comment section then the link will be clickable. So whenever other user click on that link then it will be redirect to their site. As a result spammer will get a backlink by leaving a comment. We can resist this clickable link by adding a simple script in Theme function.php file. And it will help to disable to turning URLs from comments into actual links. Just follow the below steps-


Step 1 Log in to your WordPress account and go to Dashboard 

Step 2 From Dashboard click on ->Appearance->Editor

theme editor

Step 3 Now locate Functions.php or Theme Functions.php file from the right column and instantly Function.php file will open in Editor.

theme functions

Step 4 Now add the following line just above the closing php tag ?>

remove_filter('comment_text', 'make_clickable', 9);

add script

Step 5 Finally click on blue color Update File button.

clickable link disabled

You can check your comments and see that clickable links are no more turned into URL. And now viewers can't click on that link directly.  That's it you have successfully disable clickable links from your WordPress Blog.
Disable Clickable Link Spam from WordPress Comments
4 Stars stars - "Disable Clickable Link Spam from WordPress Comments" WordPress is more vulnerable for the spammer. So WordPress user must take proper steps before ...
Facebook Group Community Disqus Channel Code ConverterHide Code Converter Show EmoticonHide Emoticon

Got questions? Ask ’em below! While we’re here, you might like to give any feedback about this Post, Your comment inspire us to continuous Improvement of This Blog and Contents. Your words are your own, so be nice and helpful if you can. Please, only use your REAL NAME, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Make sure you tick the Notify Me box below the comment form to be notified of follow up comments and replies. Thank you for commenting

Contact Form

Name

Email *

Message *