a466-ub52
asked on
Redirecting Pages that Use Db Terms & PHP Like .php?area=&author=
Hello,
Some confusion about redirection.
So far this method works for us using our .htaccess page
redirect permanent /rodenberry.html http://www.oursite.com/conent.php?area=biography&author=gene-rodenberry
BUT... only when we are going from a .html page TO our PHP-ish+Db pages...
It seems if we try to redirect from one PHP+Db pages to another via .htaccess it does not work. So, this kind of .htaccess redirect does not work:
redirect permanent /conent.php?area=biography &author=ro denberry http://www.oursite.com/conent.php?area=biography&author=gene-rodenberry
Is that correct? I mean, does the .htaccess redirect we have been using only work from .html page to PHP + Db style page?
And, if so... how can we redirect pages like:
http://www.oursite.com/conent.php?area=biography&author=rodenberry
to
http://www.oursite.com/conent.php?area=biography&author=gene-rodenberry
Some confusion about redirection.
So far this method works for us using our .htaccess page
redirect permanent /rodenberry.html http://www.oursite.com/conent.php?area=biography&author=gene-rodenberry
BUT... only when we are going from a .html page TO our PHP-ish+Db pages...
It seems if we try to redirect from one PHP+Db pages to another via .htaccess it does not work. So, this kind of .htaccess redirect does not work:
redirect permanent /conent.php?area=biography
Is that correct? I mean, does the .htaccess redirect we have been using only work from .html page to PHP + Db style page?
And, if so... how can we redirect pages like:
http://www.oursite.com/conent.php?area=biography&author=rodenberry
to
http://www.oursite.com/conent.php?area=biography&author=gene-rodenberry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Bless you!!!!!!!!!!!!!!!!!!!! :))))))))))))))))))))))))) )))))))))) )))))))))) )
ASKER
Please help. This question should be ranked a 10. The final answer was PERFECT! Please can you change it so that it is a 10?
http://httpd.apache.org/docs/1.3/mod/mod_alias.html
http://www.webconfs.com/how-to-redirect-a-webpage.php