Forum Moderators: phranque
I'm having to rename one of my main website directories. In order to help make the transition smoother, I want to forward all files to the new location. For instance:
h*tp://mydomain.com/olddirectory/file1.html
would be forwarded to:
h*tp://mydomain.com/newdirectory/file1.html
However, I can't do this with individual redirect rules in my .htaccess file, as there are hundreds of files to be redirected.
So is there a .htaccess rule I can create that will use some sort of "wildcards" to forward all these files to the new location?
Thanks,
Matthew