Welcome to WebmasterWorld Guest from 54.158.228.55

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess Redirect Referrer

Redirecting by Referrer

     
3:36 pm on May 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello,

I'm searching for a way, via .htaccess file, to redirect a visitor on my site by the refering page to another page on my site.

Below is what I have tried, but does not seem to do anything.

RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} ^http://www.mysite.com/frompage.html$
RewriteRule ^.*$ [mysite.com...] [L,R]

10:11 pm on May 30, 2002 (gmt 0)

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



try this:

Redirect 301 /frompage.html [mysite.com...]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month