NancyJ
01-09-2007, 04:30 PM
I'm trying to use a rewrite rule to redirect users to the right pages (since my client changed their pages all around) but its just not working
We're doing the same thing for seo friendly links and that works fine but
RewriteRule ^oldpage.php?pid=([0-9]+)&flag=true /newpage.php?pid=$1
Just isnt working
RewriteRule ^oldpage.php/([0-9]+) /newpage.php?pid=$1
works fine but thats obviously not the right path.
I've also tried escaping the ? and = like
RewriteRule ^oldpage.php\?pid\=([0-9]+)\&flag=true /newpage.php?pid=$1
But that didnt work either... what am I doing wrong?
We're doing the same thing for seo friendly links and that works fine but
RewriteRule ^oldpage.php?pid=([0-9]+)&flag=true /newpage.php?pid=$1
Just isnt working
RewriteRule ^oldpage.php/([0-9]+) /newpage.php?pid=$1
works fine but thats obviously not the right path.
I've also tried escaping the ? and = like
RewriteRule ^oldpage.php\?pid\=([0-9]+)\&flag=true /newpage.php?pid=$1
But that didnt work either... what am I doing wrong?