Forum Moderators: phranque

Message Too Old, No Replies

Domain Pointing, .htaccess redirects, and robots, please help? :)

Domain Pointing Redirect

         

Zhariken

3:33 pm on May 11, 2006 (gmt 0)

10+ Year Member



Hi,

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!

jdMorgan

3:56 pm on May 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put a robots.txt file for your new domain into the subdirectory assigned to that new domain. Then request that robots.txt with your browser. If that works, then you may treat that subdirectory as an essentially-separate Web root directory for the new domain.

Jim

Zhariken

4:08 pm on May 11, 2006 (gmt 0)

10+ Year Member



HTTP 404 - File not found

Zhariken

5:29 pm on May 11, 2006 (gmt 0)

10+ Year Member



Does that mean I'm out of luck entirely, and I just wasted $15?

jdMorgan

7:56 pm on May 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To be clear, you requested:

[baseballplayerscheat.com...]

Correct?

Jim

Zhariken

1:19 am on May 12, 2006 (gmt 0)

10+ Year Member



Yes.

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. :)

jdMorgan

1:38 am on May 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Flush your browser cache, too.

Jim