Forum Moderators: phranque
I created a site around a month ago, registered the TLD and I'm hosted just fine. Yesterday I registered a new domain name, and had the option to point it to a sub-directory of my first domain.
FWIW, these sites are 2 completely different industries, in no way related.
For the sake of discussion, I'll use the following fake site names:
Original Site: www.supergreatcarsite.com
New, pointed domain: www.baseballplayerscheat.com
I have the new domain pointing to:
[supergreatcarsite.com...]
Here's are my questions:
1) Currently, if someone types supergreatcarsite.com, my .htaccess changes it to www.supergreatcarsite.com. How can I achieve the same thing with my new domain?
2) What changes do I need to make to robots.txt, if any, to make sure www.baseballplayerscheat.com is treated like its own site? What will get indexed by Google, www.baseballplayerscheat.com or www.supergreatcarsite.com/baseballplayerscheat/?
Here is my current .htaccess:
Options -Indexes
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^supergreatcarsite.com [NC]
RewriteRule ^(.*)$ [supergreatcarsite.com...] [L,R=301]
Thanks in advance for any help!
I think it may just be a delay from pointing the domain.
I uploaded www.baseballplayerscheat.com/index.html and I still see the same domain parking page. However, if I go to www.supergreatcarsite.com/baseballplayerscheat/index.html it's the file I put up. I'll give it a day or two before I declare it broken. :)