Forum Moderators: phranque

Message Too Old, No Replies

         

chabbs

9:13 pm on Nov 5, 2004 (gmt 0)

10+ Year Member



Hi All,

When I went to check my site stats I almost fell off my seat. I got double the traffic that I ususally get. When I checked out the referring site it looked ok at first but I noticed that the people being referred were not checking out my site they were just coming and going. So I checked out the whois on the domain and the registrant's name was the name of another site repeated over and over. No address, no phone number, nothing.

When I took a look at the page source from where my link is it didn't look right so I copied and pasted it to dreamweaver and the page that I copied was not the page that was appearing on the page from where I got the page source from. So this guy somehow is redirecting traffic to the links from somewhere using sometype of script.

My question is; Can I redirect the traffic coming from that site to another page? I can't block an ip address because they're all different but can I block or redirect people coming from a site?

webnerd

10:19 pm on Nov 5, 2004 (gmt 0)

10+ Year Member



Hi Chabbs:
Yes by banning them in your ht.access file.
How to do this is covered in depth by the forum entry below

[webmasterworld.com...]

Also you can search the Big G for "ht.access" for tutorials on how to set up your ht.access

P.s. Sorry I didn't notice "block an ip address" in your last line. You probably know this already.

benlieb

4:21 am on Nov 8, 2004 (gmt 0)

10+ Year Member



You could use php or other SSS lang (possibly javascript, which I avoid) and get the "referer." From there there are many ways to give contingent access.

Check out php.net search "referer."