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.


If you are on a private server (where you have admin access), you have to watch your logs to detect password guessing attempts, web attacks, etc. A good open source solution to monitor your logs in real time and block the attacker is OSSEC.
RépondreSupprimerRegards,
Zionsville Bookkeeping