How to remove subdomain from google index

Discussion in 'Search Engine Optimization' started by greatlogix, Dec 15, 2009.

  1. #1
    My hosting company automatically creates sub domain for every add-on domain.

    Suppose, my domain name is example.com and my hosting account title is myaccount.com. Hosting company automatically creates a sub domain example.myaccount.com.

    My problem is, Google has indexed sub domain (example.myaccount.com) and did not index original domain (example.com). Maybe, Google think example.com a duplicate site. :rolleyes: How Can I remove sub domain from Google index? so that my main domain comes up in search results.
     
    greatlogix, Dec 15, 2009 IP
  2. shailendra

    shailendra Peon

    Messages:
    1,225
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use the URL removal tool of Google Webmaster to file for the URL removal.
     
    shailendra, Dec 15, 2009 IP
  3. sousen

    sousen Active Member

    Messages:
    1,433
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #3
    You need to verified ownership for in your webmaster tools account, you'll now see a new option under the Diagnostic tab called URL Removals. To get started, simply click the URL Removals link, then New Removal Request. Choose the option that matches the type of removal you'd like.
     
    sousen, Dec 15, 2009 IP
  4. kacangijo

    kacangijo Peon

    Messages:
    475
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Go to Webmaster Tool and delete those unwanted sub domain
     
    kacangijo, Dec 15, 2009 IP
  5. alex_cristo

    alex_cristo Peon

    Messages:
    119
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It is very simple, just go to google webmaster tools and submit a url removal request for your subdomain.
     
    alex_cristo, Dec 15, 2009 IP
  6. Canonical

    Canonical Well-Known Member

    Messages:
    2,223
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Find a new web host LOL... What a bunch of losers.

    Trying to fix this using Google's Webmasters Tools is not effective. If Google was able to index the sub-domain, then so can other engines. Fixing this in Webmaster Tools ONLY fixes it for Google. Same goes for fixing URL canonicalization issues by selecting a preferred domain of www or non-www in WMT. It's plain just dumb since it only fixes the underlying problem for a single search engine. It's the "easy" way out for webmasters who are not knowledgeable enough to fix things the correct way so that it does so for ALL engines.

    Telling Google to remove all URLs for the sub-domain will get the sub-domain removed... but it doesn't get the example.com add-on domain indexed.

    The "correct" way to fix this is to use 301 redirects, NOT using a WMT URL Removal request. You should 301 redirect every URL under example.myaccount.com to its equivalent URL under example.com. This will do several things...

    1) it will transfer credit to the example.com URLs for any inbound links that the example.myaccount.com URLs may have acquired
    2) it will cause the example.com URLs to get crawled and indexed
    3) at Google, it will cause the example.myaccount.com URLs to be removed from their indexes.

    If your site is hosted on an Apache web server, you likely have access to Mod_Rewrite. If so then you can place the following in the .htaccess folder in the root of the myaccount.com/ web:

    or

    depending on whether you want the www or non-www version of the URL to be your canonical form, respectively.
     
    Last edited: Dec 15, 2009
    Canonical, Dec 15, 2009 IP
    greatlogix likes this.