PDA

View Full Version : redirect based on referal address?




dornoforpyros
Oct 4, 2005, 01:18 PM
So this morning I received a call from a sales person at RedZee.com telling me about their "great PPC & toolbar" without going into to many details it's basically spyware that manipulates the way google/yahoo/msn results are rendered in IE when their search bar in installed.

So basically everything they are hawking spyware & taking peoples money. The reason I'm asking about a redirect is when you use their shady redzee.com "search engine" their regular listings also come up in the sponsors links. So when I search my own name I not only come up in the regular results but also in the sponsors section. Being that I haven't given (nor do I plan to) any of my money I'd like to set up a site wide redirect on my own domain so that their BS search engine doesn't explore my site at all.

any thoughts/ides on this?



MontyZ
Oct 4, 2005, 04:40 PM
.

andysmith
Oct 5, 2005, 05:48 PM
Before you can block them, you need to find out what you're actually blocking - their spider bot's user-agent, their assigned IP blocks maybe.

superbovine
Oct 6, 2005, 12:07 PM
robot.txt assume that the programmer of the bot is honorable, and actually cares to get the robot.txt file. depending on your site, you basis a redirect on a referal address. it would have to depend if you are using php, pl, asp, etc. usually for leeches that ignore the robot.txt file, i usually don't redirect them but just send them a blank page. that way, that way bot will think the site is empty.

littlejim
Oct 7, 2005, 04:14 AM
If your site is served by Apache, you are able to use .htaccess files AND you can enable mod_rewrite, then you can add a .htaccess file to the root of your site that bans or redirects that referrer.

There are some great tutorials at

http://wsabstract.com/howto/htaccess.shtml

or more specifically

http://wsabstract.com/howto/htaccess14.shtml