Forum Moderators: phranque

Message Too Old, No Replies

301 redirect and not passing variables

How do you 301 redirect a dynamic url to a static one?

         

alphabeta

5:24 pm on Feb 7, 2007 (gmt 0)

10+ Year Member



I have looked at [httpd.apache.org...] and wasn't able to decipher how to 301 redirect a url such as

www.foo.com/bigbar.asp?stuff=blah&morestuff=blah_blah

to a simple, new url such as

www.foo.com/bar.php

without it retaining the variables of the old url, and looking like

www.foo.com/bar.php?stuff=blah&morestuff=blah_blah

Any suggestions?

[edited by: jdMorgan at 9:15 pm (utc) on Feb. 19, 2007]
[edit reason] Changed link to authoritative Apache docs [/edit]

jdMorgan

12:36 am on Feb 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This thread might help get you started: [webmasterworld.com...]

Jim

alphabeta

4:31 pm on Feb 8, 2007 (gmt 0)

10+ Year Member



Thanks Jim.