Vous parcourez les articles de la catégorie Performance web
déc
3

Comment prévenir le spam de commentaires WordPress

Editez votre fichier .htaccess et ajouter ces lignes :

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

Articles récents

Derniers commentaires

Tags

Liens

Derniers tweets

pbourhis