Submit Your Article Forum Rules

Results 1 to 4 of 4

Thread: Google: Subdomain duplicate Content

  1. #1
    Senior Member
    Join Date
    Aug 2007
    Location
    Manitou Springs, Co
    Posts
    183

    Google: Subdomain duplicate Content

    Hello,

    Is there a way to hide a directory so that search engines like google will not see duplicate pages when using a sub domain?
    As an example if the main site has a directory somesite.com/sub_domain_directory/index.html
    and the sub domain sub_domain.somesite.com points to somesite.com/sub_domain_directory/index.html .
    How do you hide the somesite.com/sub_domain_directory ?
    Or is this not a concern?

    Best Regards,
    Randy
    Website design & development by Randy.

  2. #2
    WebProWorld MVP Webnauts's Avatar
    Join Date
    Aug 2003
    Location
    European Community
    Posts
    9,028

    Re: Google: Subdomain duplicate Content

    With robots.txt: The Web Robots FAQ

  3. #3
    WebProWorld MVP wige's Avatar
    Join Date
    Jun 2006
    Posts
    3,138

    Re: Google: Subdomain duplicate Content

    Are you trying to hide the directory from the search engines, or should that directory not be accessible to anyone except through the subdomain? I recently did something similar on my main site, purely to make FTP uploads easier, and blocked the entire directory through htaccess.
    <Directory /somedirectory>
    Order deny,allow
    Deny from All
    </Directory>
    The best way to learn anything, is to question everything.
    WigeDev - Freelance web and software development

  4. #4
    WebProWorld MVP Webnauts's Avatar
    Join Date
    Aug 2003
    Location
    European Community
    Posts
    9,028

    Re: Google: Subdomain duplicate Content

    Create a text file calling it robots.txt adding the following information, and then add it in your main folder your server:
    Code:
    User-agent: Googlebot
    Disallow: /sub_domain_directory
    
    User-agent: Slurp
    Disallow: /sub_domain_directory
    
    User-agent: MsnBot
    Disallow: /sub_domain_directory
    
    User-agent: *
    Disallow: /sub_domain_directory

Similar Threads

  1. Subdomain Leaked Linking causing Duplicate Content Filter on SERP?
    By arius in forum Google Discussion Forum
    Replies: 8
    Last Post: 01-18-2008, 02:56 AM
  2. How I can report duplicate content to Google?
    By arin2u in forum Google Discussion Forum
    Replies: 7
    Last Post: 11-25-2007, 01:56 PM
  3. Duplicate Content : Google guy affected.
    By Susmita in forum Search Engine Optimization Forum
    Replies: 26
    Last Post: 11-22-2007, 10:29 AM
  4. Subdomain, duplicate content, and sitemaps
    By rkstevens in forum Search Engine Optimization Forum
    Replies: 3
    Last Post: 10-26-2007, 01:29 PM
  5. Google and Duplicate Content
    By cspelts in forum Google Discussion Forum
    Replies: 6
    Last Post: 03-18-2005, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •