Rewrite problem
Posted: Fri Dec 05, 2008 7:45 am
Hello everybody,
I am having a problem with a rewrite rule. It "should" turn this:
or:
into this:
Here is the current rule that I am using that doesn't work:
I have also tried this:
but neither work. I have done some debugging and found that the problem seems to be with the \? but I can't figure out why. Any help would be greatly appreciated.
Thank you in advance,
Scott
I am having a problem with a rewrite rule. It "should" turn this:
Code: Select all
http://www.example.com/test.html?var=123123Code: Select all
http://www.example.com/test.htm?var=123123Code: Select all
http://www.example.com/display.php?page=test&var=123123Code: Select all
RewriteRule ^/(.*)\.(html|htm)\?lo=(.*) /display.php?pageID=$1var=$3Code: Select all
RewriteRule ^/(.*)\.(html|htm)\?lo=(.*) /display.php?pageID=$1var=$2Thank you in advance,
Scott