RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*你的域名.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
wordpress .htaccess防垃圾评论
未经允许不得转载:优惠吧 » wordpress .htaccess防垃圾评论
评论前必须登录!
注册