The rule as written will 'carry forward' the originally-requested query string. Is that what you want to do?
Again, what exactly is this rule meant to do? What is the (full) requested URI-path to be redirected, and what is the full URI to be redirected to?
"It will work" is only about 10% of the way to "It will work properly with no unintended side effects," and that is not good enough; For optimal results, nail down your requirements firmly before we start coding.
Jim
beachlover
9:42 pm on Jun 3, 2010 (gmt 0)
Thanks for your response.
Basically I want to redirect the old php-file to a new file (which is now in a directory-based CMS):
ht tp://domain.com/main.php?section=oldpage
to
ht tp://domain.com/newpage/
jdMorgan
10:01 pm on Jun 3, 2010 (gmt 0)
In that case, you "bascially" need to clear the query string using the "?" operator on the substitution URL: