Here is my problem. My addon domains are being indexed by google from my main domain. Example. Main domain abcd.com addon domain xyz.com Google is listing my site in search engine results as abcd.com/xyz.com/page1.htm. It should just be listing it as xyz.com/page1.htm I use hostrocket and all of my addon domains are listed under a folder titled public_html. So is this a host issue or do I need to do something different. Thanks
It seems that you are using cPanel control panel. You can create addon domain outside public_html folder. Since you have already created inside public_html, you can block the search engine to block addon domain's URL (abcd.com/xyz.com) using robots.txt file. Create robots.txt file in public_html folder and add following line: User-agent: * Disallow: /xyz.com/ - Kailash