Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Canonicalization: best code to redirect no-www to www & index to /


ewwatson - 3:22 am on Oct 16, 2012 (gmt 0)


In my public_html I have...

myMainDomain.com/2addOnDomain.com
myMainDomain.com/3addOnDomain.com
myMainDomain.com/4addOnDomain.com

Does that make sense? I have Hostgator shared. So when I add a domain it just makes another folder in my root. I am open to do either way. Either exclude those directories or just use separate htaccess. Which ever is better, less hacky, cleaner, and easier to remember 5 years from now. I don't know much about this htaccess code so ill take your guys advice and go with it. They are all .com's. So please show me exactly how I would exclude 3 other directories (ie websites)? If I try I'm only guessing. As I can see this code needs to be exact to work correctly.


Thread source:: http://www.webmasterworld.com/apache/4508251.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com