ashesnglass Posted January 22, 2004 Share Posted January 22, 2004 Hello, I am using an .htaccess in my root public_html directory to redirect traffic to another domain name, using this format: Redirect / http://domain.com/ However, I would like to allow some directories to stay local, meaning I'm hoping to make all files redirect to another domain except the files in /members, for example. Is there a way to do this without listing individually each file/directory that I would like redirected? Thanks!! Quote Link to comment Share on other sites More sharing options...
SEO Posted January 22, 2004 Share Posted January 22, 2004 (edited) Well if you want some directories redirected and others not, then you will have to add redirects for each directory that you want redirected. The proper format would be: Redirect /OldDirectory http://www.YourSite.com/NewDirectory/ Edited January 22, 2004 by TCH-Scott Quote Link to comment Share on other sites More sharing options...
ashesnglass Posted January 22, 2004 Author Share Posted January 22, 2004 There is only one directory I don't want to forward. For that reason, I'd rather find a command to exclude one directory instead of needing to include a list of 100 frequently-changing directories. Ideas? Thanks. Quote Link to comment Share on other sites More sharing options...
SEO Posted January 22, 2004 Share Posted January 22, 2004 Not that I am aware of... sorry. Quote Link to comment Share on other sites More sharing options...
ashesnglass Posted January 22, 2004 Author Share Posted January 22, 2004 Alrighty, thanks anyway! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.