+ Reply to Thread
Results 1 to 2 of 2

Thread: robots.txt help

  1. #1
    phazzedout's Avatar
    phazzedout is offline x10 Sophmore phazzedout is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    CA, United States
    Posts
    230

    robots.txt help

    I need some help with robots.txt.

    I know you could use it to stop the search engine robots from going through parts or all of your website with this file but I need something explained.

    Ok let's say I have this:

    website.x10hosting.com
    /public_html/
    robots.txt - do not go into /public_html/othersite/

    othersite.x10hosting.com
    /public_html/othersite/

    Would the search engines look at othersite.x10hosting.com as a different website or will it see it as a root of website.x10hosting.com and not scan othersite.x10hosting.com.

    If this did not make sense please tell me. I am interested.
    "Words convey the mental treasures of one period to the generations that follow; and laden with this, their precious freight, they sail safely across gulfs of time in which empires have suffered shipwreck and the languages of common life have sunk into oblivion." - Anonymous

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: robots.txt help

    You are saying that you have your maindomain website.x10hosting.com
    You added an add-on domain otherdomain.x10hosting.com which has as its document root public_html/otherdomain

    Then, place in public_html

    User-agent: *
    Disallow: /otherdomain/

    This should keep bots coming in via maindomain.x10 from descending into the directory

    and in public_html/otherdomain place

    User-agent: *
    Disallow: /

    This should keep bots entering via otherdomain.x10 out.

    "Should" .... robots do not have to honor your robots.txt file.
    Nothing is always absolutely so.

+ Reply to Thread

Similar Threads

  1. Help with robots.txt!
    By divebuddha in forum Graphics & Webdesign
    Replies: 4
    Last Post: 02-15-2010, 12:42 PM
  2. Robots.txt?
    By Coolmaty in forum Programming Help
    Replies: 3
    Last Post: 09-29-2009, 08:06 AM
  3. robots.txt
    By Xiong in forum Free Hosting
    Replies: 1
    Last Post: 05-18-2008, 01:29 AM
  4. Robots.txt
    By dale.black in forum Free Hosting
    Replies: 14
    Last Post: 08-14-2007, 08:10 AM
  5. robots.txt ??
    By mikel2k3 in forum Scripts & 3rd Party Apps
    Replies: 11
    Last Post: 04-02-2007, 10:07 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
x10hosting free hosting for the masses
dedicated servers