Forum Moderators: phranque
Problem being using the basic:
redirect 301 /catcode1/ [domain.com...]
(this redirect works, but)
redirect 301 /catcode1/catcode2/ [domain.com...]
(this redirect doesn't work because it seems the first redirect is overriding it because its telling it to send EVERYTHING in /catcode1/ to the location above, and it breaks the redirect for the subcat /catecode1/catecode2/.
Any ideas on how to make the redirect for the first directory, not override the subdirectories stored within it?
In both cases, be sure that the new URLs do not match either of your directives' matching-strings; If they do, then you will get redirected again and again.
See Apache mod_alias documentation for details on RedirectMatch.
Jim