Forum Moderators: phranque
I need to redirect all files in a directory that begin with "rec_" (minus the quotes) to a new directory while leaving all the other files in the old directory alone.
I tried several combinations the last of which was
Redirect permanent ^/abc/rec_(.*)$ http://example.com/abc/new/rec_(.*)
but with no success.
I can write the individual files to redirect fine:
Redirect permanent /abc/rec_file.htm http://example.com/abc/new/rec_ched.htm
What do I need to do to come up with a single entry that will save me writing hundreds of individual htaccess entries?
[edited by: jdMorgan at 2:52 am (utc) on Nov. 20, 2009]
[edit reason] example.com [/edit]