Topic: Does Site Index have to be in HTML?

Hey,

I was just wondering if a websites index had to be called index.htm?

I have a index.htm page that works as an entrance page to my site. It links to index2.php

Could I rename index2.php to index.php and still get picked up by Google?

Thanks

2

Re: Does Site Index have to be in HTML?

It depends on how Apache is configured but most hosting providers honor index.php just like they do index.htm.

Now in the Apache config, the order of the indexes matters, so if you have an index.htm or index.html it might get picked up before the index.php does. So you'll need to rename the index.htm at the same time you rename index2.php.

Google spiders any index page just fine.