Some of my domains are behaving strange. I have several addon domains and when I point to their directories this is what happens: Example: Pointing to addon1.com/directory goes to addon1.domain.com/directory Pointing to addon2.com/directory goes to addon2.domain.com/directory where addon1 and addon2 are addon domains and domain.com is the main domain for my account so basically my addon domains are acting as redirections instead domains... Please help... is there a .htaccess solution for this? The host support can;t help me so far.... strange..
Try something like this: Redirect 301 /directory http://addon1.domain.com/directory Code (markup): Put the htaccess file in the root of addon1.com.
thank you, but the problem is that this happens with any directory... how do I make this rule general?
Ok, I think this should work: Redirect 301 / http://addon1.domain.com/ Code (markup): Again, put it in the root of addon1.com