Forum Moderators: phranque
The same thing also happens with other pages of our site.
Is there a way to block anything starting with www.essense in .htaccess? Can anyone tell us where these referers come from?
Thanks in advance
Yes, use mod_rewrite, check HTTP_REFERER with RewriteCond, and block access to all but your custom 403 error page (if you have one) using RewriteRule.
> Can anyone tell us where these referers come from?
You can get the client address from your raw logs. But this is the "user" who clicked on a link -- if in fact that link exists. You can search for that link to see if it actually exists on a real site somewhere. If not, the "user" may not actually exist, and the IP address from your logs may in fact point to a host that is spoofing the referrer.
For more information on mod_rewrite, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com]. You can also search WebmasterWorld for examples of similar mod_rewrite applications using "RewriteCond %{HTTP_HOST} subdomain".
Jim