Answers for "Éviter le spam de commentaires"

PHP
0

Éviter le spam de commentaires

# Éviter le spam de commentaires
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.monsite.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
</IfModule>
Posted by: Guest on September-14-2021

Code answers related to "Éviter le spam de commentaires"

Browse Popular Code Answers by Language