Seth
April 20, 2009, 6:32pm
#1
I have a real simple model recruitment site that steers the visitor from one page to the next. (page1.htm => page2.htm => page3.htm etc.).
How can I make sure that all visitors start at page1.htm regardless of where they originally enter from?
I’d like to do it via .htaccess. I was thinking a 301 redirect but now I’m thinking that’s wrong.
Jay
April 20, 2009, 7:00pm
#2
Re: Visitor Redirection Via .htaccess ?
Personally, I’d do it via Javascript. You could do it by checking the referrer in .htaccess, but it won’t work if the person has privacy software running that strips referrers. With Javascript you can pass a variable from one page to another and check the content of the variable.
Seth
April 20, 2009, 7:22pm
#3
Re: Visitor Redirection Via .htaccess ?
Personally, I’d do it via Javascript. You could do it by checking the referrer in .htaccess, but it won’t work if the person has privacy software running that strips referrers. With Javascript you can pass a variable from one page to another and check the content of the variable.
Thanks. I’m playing with some javascript now but keep creating endless loops. I’m going to keep searching.