Monthly Archives for April 2009

How to block spamm comments in WordPress

1. Activate Akismet 2. Add this in the .htaccess file. 123456RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*yourblog.com.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L] Replace yourblog.com with your blog address. It block all comments from … Continue reading

22. April 2009 by Sorin
Categories: Wordpress | Leave a comment

Social Widgets powered by AB-WebLog.com.