An online store I’ve developed uses overly-complicated URLs for the products. However, two of these URLs have had SEO links built for them and I therefore want to re-direct them to the new URL format.
The old format:
New format:
I know this isn’t perfect, but it’s the format I want to proceed with for now.
That’s what I would have suggested so, if it didn’t work for you, then mod_alias can’t look at the {QUERY_STRING} variable => you’re forced to use mod_rewrite:
Please note that I parsed your query string because the order may be different (if not, recombine them with the &'s) - they will AND with the order not being a factor.