I have a bunch of non-existent urls that need to be redirected to new ones, though they are not working... mod_rewrite does work and is enabled, I'm wondering if the redirect URL has to actually exist in order for a redirect ot work.
Here is what I have:
Redirect 301 /cgi-bin/commerce.cgi?display=action&emptyoverride=yes&template=Assets/XHTML/Advantage.html http://domain.com/the-bag-to-nature-advantage.html
UPDATE this is the request that comes in [indexed in google!] http://domain.com//cgi-bin/commerce.cgi?display=action&emptyoverride=yes&template=Assets/XHTML/Advantage.html
this is where it needs to go: http://domain.com/the-bag-to-nature-advantage.html
Redirectis a part of mod_alias, not mod_rewrite. And I'm pretty sure it won't work on your query params.. – Shane Madden Nov 10 '11 at 17:07