Forum Moderators: phranque

Message Too Old, No Replies

Arguments to the redirect page from orginal page

         

droz578

2:30 pm on Nov 2, 2004 (gmt 0)

10+ Year Member



Is it possible to pass arguments to the redirected page that were ment for the orginal page and how would you go about this?

Thanks for the help

sabai

9:54 pm on Nov 2, 2004 (gmt 0)

10+ Year Member



You can use mod rewrite....

RewriteEngine on
RewriteRule ^product$ /product.php [R]

Would redirect example.com/product?p=1234 to example.com/product.php?p=1234

But there's probably a better way to do what you are asking

Alternatively, you could use a scripting language like php to do it if you wanted to change the names of the get variables...

[edit]removed a typo[/edit]