Forum Moderators: phranque

Message Too Old, No Replies

Removing old directory and aiming to a new page

Got this sort of working. but missing something.

         

acimag

4:23 pm on Oct 13, 2009 (gmt 0)

10+ Year Member



RedirectMatch 301 /State/CT/Online_Offers/(.*) [Domain.com...]

it works great but leaves the Query at the end

[Domain.com...]

Any suggestions?

g1smd

4:32 pm on Oct 13, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Use RewriteCond syntax instead of RedirectMatch, especially if you already have other RewriteRule lines there. Clear the query string by appending a question mark to the end of the target URL.