Hi to all. I got fake or spam vizitor from diferent country on all my website from the same hosting and i don`t know how to stop them. Can you help me please ?
Do they use the same IP or IPs from the same block?
That could be blocked in htaccess.
they use diferent IP…sometimes 5 or 10 vizitators came with ip from the same block…
You can block a range of IPs like this:-
RewriteEngine on
RewriteCond %{REMOTE_ADDR} ^123\.456\.78\.
RewriteRule ^ - [F]
End the string where the common numbers end, so the rest of the string will match any numbers.
The F
will give them a 403 Forbidden header.
Thank You Sam.
Is not gona affect my websites ?
Anyone with an IP beginning with those numbers will be blocked from your website, so maybe don’t leave the range too broad.
For everyone else things will be as normal.
1 Like
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.