Unwanted domain is redirected to my site

#1
Hi Folks,

Someone redirected unwanted domain to my site.

Could someone help to provide the steps to block that domain?

I tried RewriteCond in .htaccess file but still not blocked.

Any help is appreciated
 

serpent_driver

Well-Known Member
#2
If this host uses standard redirect with 302 or 301 the referrer is not the host that redirects, so you can't block this host with referrer redírect.

Example:
User requests link from Google result page. The page the user requests redirects to your page. Referrer is not the host that redirects. It is Google.
 

serpent_driver

Well-Known Member
#16
Okay, but it doesn't matter what tool ever can check whatever. To block certain user that comes from a specific host your server needs information like referrer. With server redirection the referrer from the host that redirects doesn't transfer the referrer. You can verify it if you check your access_log from the affected domain/user. If access_log contains referrer information, you can block each user who has this refferrer. If not, you can't block.
 
Top