View Single Post

  #1 (permalink)  
Old 12-15-2006
info@javelindesign.com
 
Posts: n/a
Default .htaccess problem

Apache Pros,

I have a site with a TON of older "archive" pages, and while I'm not
recreating them, I would like to put them in an "OLD" folder on my
server so if anyone has them bookmarked/etc. they will be redirected
and no have a dead link.

so, basically, what I'm trying to do it;

xyz.com/003.html automatically goes to xyz.com/OLD/003.html
xyz.com/004.html automatically goes to xyz.com/OLD/004.html
xyz.com/005.html automatically goes to xyz.com/OLD/005.html

There are too many 00x.html files for me to put in a list, but rather
somehow I want to join the file not found with the redirect into the
OLD directory. Then, I can put my custom "File not found" page in
there. Make sense? PLEASE HELP.

Thanks,

Jay