Hi My question is this - I have a website which runs a php script. The website has a index.php page. Up until now this is the page which has been the entrance page when anyone finds my domain/website on search engines. However I have just added an index.html page now and i want to know will the search engines eventually use this as my default entrance page for the site, as opposed to the index.php page (this is what I am hoping will happen)? I believe this is the case, but would value the opinion of others. Thanks Stevie
Hi, It actually depends on the host of the website. There is a setting that tells the site which file to load first. On my host I can have index.htm and index.html, and index.php. First the htm, then the html then the php gets loaded. That is how they set it up. Mike
look in your .htaccess file change DirectoryIndex /index.php to DirectoryIndex /index.html and if it wasnt there add DirectoryIndex /index.html that shoud do it but if the index.php has already been indexed then SE will go straight to the URL what bots dont do all the time is go to the root of the domain and start from scratch if they already know about it they go straight there
that is what I am saying, it currently IS the index.php page at the minute, if you visit the URL. That is because there hasnt been an index.html page until now. Thats what I am trying to change for the future.