Redirecting Spammers (comments and pings)
-
When setting up WP as a CMS with no need for comments/trackbacks, is there any reason not to simply add the following to .htaccess to stop spammers:
Redirect 301 /wp-comments-post.php https://www.google.com
Redirect 301 /wp-trackback.php https://www.google.comI’ve found various solutions to fighting spam like plugins and including other .htaccess scripts for validating the referrer (and allowing comments submitted from the domain). But, ultimately, since comments are not a part of this particular site, such a check seems unnecessary and I’d prefer to avoid non essential plugins (if I can block spam through simpler methods).
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Redirecting Spammers (comments and pings)’ is closed to new replies.