PDA

View Full Version : index.html and the search engines



justice
02-24-2004, 02:54 PM
I'm sure this must have been posted before, however, a search didn't come up with any obvious results.

I'm having an interesting problem: I've created an index.html file which refers the visitor to the index.php. However, the search engines don't like this.

Also, I'm having to update my metatags in 2 places.

Would the search engines still spider the site if I removed the index.html? Would they pick up the index.php?

Any ideas?

Justice
http://www.ashleycharles.com

greengiant
02-24-2004, 05:34 PM
Yes they will read an index.php file just like they do the index.html file..

ltp
02-24-2004, 07:43 PM
Yes they will read an index.php file just like they do the index.html file..

That is not always true... Back when I had to run IIS :evil: it wasn't a default and even on some redhat installs for apache it is not a default.

But in most cases for hosts I would have to say it is... but if not its just a line in the httpd.conf if running apache that looks something like this:
DirectoryIndex index.html index.html.var index.php

etc.