homepage Welcome to WebmasterWorld Guest from 54.145.172.149
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
.htaccess Redirect Referrer
Redirecting by Referrer
Edge

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 464 posted 3:36 pm on May 30, 2002 (gmt 0)

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]

 

keyplyr

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



 
Msg#: 464 posted 10:11 pm on May 30, 2002 (gmt 0)

try this:

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved