Hi all
First post. Actually, this problem is killing me, and after reading a few forums and blogs it looks like .htaccess is the only way.
My problem, like for many people, is I have www dot mainsite dot com, www dot consumerinterestsite1 dot com, www dot consumerinterestsite2 dot com, etc. The consumer interest sites are where the content will be, and the main site will be just a simple corporate site.
The bottom line is: Google has indexed consumerinterestsite1 dot mainsite.com and consumerinterestsite2 dot mainsite.com quite nicely, but has ignored, and therefore doesn't show, www dot consumerinterestsite1 dot com and www dot consumerinterestsite2 dot com in SERPS. As Wes says, my mainsite is just a holding page.
To make matters worse, I always buy dot com and dot co dot uk domain names, so the redirect task is actually:
- all dot co dot uk to dot com (my choice to prioritise dot com over dot co dot uk)
- all www to non-www (my choice to prioritise non-www over www)
- all subdomain dot mainsite to subdomain dot com (ie consumerinterestsite1 dot com)
So the variants stack up.
It appears that the cPanel re-direct command will work well for all of these problems, but only if there is one page on a domain name. (Re-directs work until you add a second page to a site, and that page will resolve to www dot mainsite dot co dot uk / 2ndpagename
So, am I correct in thinking that editing .htaccess is the best way to redirect all permutations of dot co dot uk to dot com, www to non-www and subdomain dot main to subdomain?
If so, can I do this with one .htaccess in the main public_html root, or does there need to be a .htaccess for each subdomain? If one file, does it matter that there will be a long list of all the redirect variants for five consumer sites?
(Apologies for the dot dot all over the place - the forum won't allow a newbie to post URLs.
Hope eukHost can help.
Northern
|