Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Robots.txt question
05-09-2009, 05:47 PM #1
- Join Date
- Jan 2009
- Thanked 92 Times in 91 Posts
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 03:28 PM.
05-10-2009, 12:22 PM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 1,052 Times in 1,025 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: