Forum Moderators: phranque

Message Too Old, No Replies

index.php is not the true root of my subdomain

will googlebot still see index.php as the root although it's not.

         

forzatio

9:44 pm on Mar 11, 2007 (gmt 0)

10+ Year Member



My website's root at subdomain.example.com refers to
subdomain.example.com/index-wait.html

I have my own page on subdomain.example.com/index.php,

would googlebot think that index.php is equal to the root of my domain eventhough it's not the true root but index-wait.html is?

my concern is:

if googlebot sees index.php it will forget about index.php and just indexes the rootpage index-wait.html instead of index.php.

I can't change the automatic root (index-wait.html) of the subdomain because it's set on the toplevel domain.

jdMorgan

11:30 pm on Mar 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> I can't change the automatic root

Yes, you can. Put the directive


DirectoryIndex /name-of-index-page.php

into the .htaccess file in any directory, to set the local index page, and then link to it as "subdomain.example.com/"

Jim

forzatio

6:57 am on Mar 12, 2007 (gmt 0)

10+ Year Member



I tried it just yet, it doesn't work though.

The subdomain root is automatically transferred to index-wait.html via the fulldomain owner.

forzatio

9:12 am on Mar 12, 2007 (gmt 0)

10+ Year Member



The essential question at first is whether google indexes:

index.php as index.php

OR

index.php is skipped by google and google goes to / so instead it would then index the true root index-wait.html and not index.php

jdMorgan

4:15 pm on Mar 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Google follows links. It doesn't have any special rules concerning index pages. It will follow the links it finds, and so depends entirely on the links to your pages and on your server configuration.

Jim