Ciao a tutti
Sto provando a utilizzare un tool trovato su internet che mettendo gli indirizzi degli spam referrer mi crea automaticmante il codice da inserire nel file htacces
Vi incollo qui il codice per avere una vostra opinione, dato che a volte ricevo cmq le visite di qualcuno nonstanse sia stato già inserito nella lista.
Ho comunque un dubbio, nel mio file htaccess ho una regola di questo tipo:
## Mod_rewrite in use.
RewriteEngine On
# Redirect non-www urls to www
RewriteCond %{HTTP_HOST} !^www\.sito\.it
RewriteRule (.*)
http://www.sito.it/$1 [R=301,L]
Il codice qui sotto deve cmq iniziare nuovamente con RewriteEngine On??
Grazie a tutti
CIao
# BLOCK SITE REFERRERS
RewriteEngine on
RewriteCond %{HTTP_REFERER} example\.com [NC,OR]
RewriteCond %{HTTP_REFERER} www2\.e\-xample\.free\-share\-buttons\.com [NC,OR]
RewriteCond %{HTTP_REFERER} guardlink\.org [NC,OR]
RewriteCond %{HTTP_REFERER} site4\.free\-share\-buttons\.com [NC,OR]
RewriteCond %{HTTP_REFERER} site3\.free\-share\-buttons\.com [NC,OR]
RewriteCond %{HTTP_REFERER} theguardlan\.com [NC,OR]
RewriteCond %{HTTP_REFERER} googlsucks\.com [NC,OR]
RewriteCond %{HTTP_REFERER} buy\-cheap\-online\.info [NC,OR]
RewriteCond %{HTTP_REFERER} Get\-Free\-Traffic\-Now\.com [NC,OR]
RewriteCond %{HTTP_REFERER} ***hub\-forum\.ga [NC,OR]
RewriteCond %{HTTP_REFERER} event\-tracking\.com [NC,OR]
RewriteCond %{HTTP_REFERER} humanorightswatch\.org [NC,OR]
RewriteCond %{HTTP_REFERER} simple\-share\-buttons\.com [NC,OR]
RewriteCond %{HTTP_REFERER} site21\.simple\-share\-buttons\.com [NC,OR]
RewriteCond %{HTTP_REFERER} site39\.simple\-share\-buttons\.com [NC,OR]
RewriteCond %{HTTP_REFERER} site31\.simple\-share\-buttons\.com [NC,OR]
RewriteCond %{HTTP_REFERER} s\.click\.aliexpress\.com [NC,OR]
RewriteCond %{HTTP_REFERER} o\-o\-6\-o\-o\.com [NC,OR]
RewriteCond %{HTTP_REFERER} delta\-search\.com [NC,OR]
RewriteCond %{HTTP_REFERER} forum\.topic54964231\.darodar\.com [NC,OR]
RewriteCond %{HTTP_REFERER} depositfiles\-***\.gacom [NC]
RewriteRule .* - [F]