Block spam via .htaccess

RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*yourdomainname.com.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

Fix a Fatal Memory Error

If you see this error either suddenly (no specific task was done to cause the error) or frequently, try deactivating all plugins to rule-out a plugin-specific issue and try switching themes to rule-out a theme-specific issue. Specific fixes: 1. If you’re using WordPress 2.9.2 or lower, try adding define(‘WP_MEMORY_LIMIT’, ‘256M’); to your wp-config.php file. If… Continue reading Fix a Fatal Memory Error