Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2009
    Posts
    316
    Thanks
    7
    Thanked 92 Times in 91 Posts

    Robots.txt question

    I currently have a site hosted on Godaddy. Let's call it mydomain.com

    Now, I've registered a new domain name (newdomain.com), and it is hosted in a separate folder in my hosting account called othersite. This domain points to that folder.

    As a result, you can get to this page by either typing newdomain.com, or mydomain.com/othersite/index.html

    I don't want this to appear as duplicate content or a mirrored site to search engines, so can I put a robots.txt file into my main hosting for mydomain.com and disallow access to the folder mydomain.com/othersite?

    Would this still allow the search engines to find the content when they follow just newdomain.com ?

    I hope this makes sense.
    Last edited by Fisher; 05-10-2009 at 02:28 PM.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,678
    Thanks
    6
    Thanked 1,009 Times in 982 Posts
    The only thing you’d have to do would be a permanent redirect (301) with .htaccess. (Should be clear by now what search terms you’d have to use to search for the solution.)

  • Users who have thanked VIPStephan for this post:

    Fisher (05-10-2009)


  •  

    Posting Permissions

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