Addon Domain problem

Discussion in 'Site & Server Administration' started by The_Otter, Feb 13, 2010.

  1. #1
    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
     
    The_Otter, Feb 13, 2010 IP
  2. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #2
    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
     
    kailash, Feb 21, 2010 IP