Code: Select all
Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html
Code: Select all
Redirect /olddirectory http://yoursite.com/newdirectory/
kprobbins wrote: Sure, that works for static pages and I know how to do that. What I'm saying is that I need to be able to weed out all calls to the server for looking for:
http://www.yesand.com/phpBB2/*
and replace it with:
http://www.yesand.com/forums/*
Yes it is use the followingMr. Sharkey wrote: .htaccess is not capable of this on it's own, AFAIK.
SnowManrcd wrote: For Directorysjust place it in a .htaccess file and place it in your old dirCode: Select all
Redirect /olddirectory http://yoursite.com/newdirectory/
SnowManrcd wrote: For filesFor DirectorysCode: Select all
Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html
just place it in a .htaccess file and place it in your old dirCode: Select all
Redirect /olddirectory http://yoursite.com/newdirectory/