PDA

View Full Version : need to exclude one page from a general .htaccess redirect



Apollo
01-10-2004, 01:38 PM
I bought an expired domain with two pages listed in odp. One is the home page the other deep down a directory tree. There are lots of links coming into pages along this directory tree so I just put a redirect on the whole directory to the home page in .htaccess

Redirect /subdir http://www.homepage.com/

Problem is, the other page listed in ODP is along this same directory tree so I need to exclude it from this redirect.

Is this possible?

Thanks

Apollo
01-10-2004, 01:56 PM
I have solved this problem.

I have placed a redirect from the subdirectory page in ODP to another page before the main redirect in .htaccess