Sign Up For Web Hosting Now!
WordPress Services
No.1 Wordpress Host
  • Free Domain name
  • Unlimited space
  • Unlimited traffic
  • 99.9% Server Uptime
  • FREE WP installation
  • Wordpress themes
  • Immediate activation
Buy web hosting
Sign up now Learn more
WordPress Hosting Award
WordPress Hosting Award
Facebook Twitter Plusone

How to Remove Spam Links From Wordpress Comments

By default all links posted in the comments under your articles are turned by WordpPress into links. Unfortunately, this features encourages spammers to post many unwanted comments in your blog.

To disable turning URLs from comments into actual links, go to your admin area and then navigate to Appearance -> Editor. Select the functions.php file from the right column and add the following line just above the closing php tag ( ?> ):

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

That's it! URLs pasted in your comments will not be turned into actual links anymore.
Previous Next
(c) Copyright 2004-2013 SiteGround. All rights reserved
WordPress is a trademark of Free Software Foundation, Inc. SiteGround is not affiliated with or endorsed by the WordPress Project or its trademark owners.