Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2004-07-27, 08:44 AM   #16
abe
Just because I don't care doesn't mean I don't understand!
 
Join Date: Sep 2003
Location: Belgium
Posts: 99
Quote:
Originally posted by Greenguy
You can redirect them to another domain/page (not on the same domain) by using this:

RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} ^.*tbig10k.*$ [OR]
RewriteCond %{HTTP_REFERER} ^.*anotherdomain.*$
RewriteRule /* http://www.redirect-to.com/ [R,L]

If it sees that combo of letters in the referral, it will kick them to the redirect-to domain.

(and please - all you htaccess guru's, if this is incorrect, correct me - LOL)
If you want you can redirect them to another folder on the same domain IF you put a new htaccess in that folder (in which the domains are not redirected)
abe is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:42 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc