Forum Moderators: phranque
I've had to change the name of an image directory. I've made the changes to the webpages, but wish to redirect any existing remote links:
RedirectMatch 301 ^/old/ [domain.com...]
What do I need to add to this to include the files? Thanks.
You can just use Redirect if you want to redirect all files in the folder /old to the same-named files in folder /new
Redirect 301 /old/ http://www.domain.com/new/
RedirectMatch 301 ^/old/(.*)$ http://www.domain.com/new/$1
Jim