View Full Version : why doesnt my website automatically go to index.php?
web893
Jan 13th 2008, 1:31 pm
why doesnt my website automatically go to index.php?
http://www.cancer-forums.org/
AstarothSolutions
Jan 13th 2008, 2:53 pm
Each server has a list of default files it will server up as default if a file isnt specified. If index.php isnt being served up then either one of the file types that is a higher on the list exists or index.php isnt on the list. Most servers allow you to modify the default files list via the control panel.
kentuckyslone
Jan 13th 2008, 2:57 pm
Do you also have an index.htm or index.html in the root?
contentsis
Jan 13th 2008, 3:10 pm
You may also like to look for the existence of a default.html or default.htm file in the root.
web893
Jan 13th 2008, 3:29 pm
yes i do have index.php
kentuckyslone
Jan 13th 2008, 3:31 pm
yes i do have index.php
You will get a better solution if you email Hostgators support
Agent_Dweeb
Jan 13th 2008, 3:32 pm
I think you can use .htaccess to set your default page.
Create .htaccess (with the dot)
Then copy and paste this in the file
DirectoryIndex index.php
mickscool
Jan 13th 2008, 8:15 pm
Put a index.htm or index.html file and see if that works, if it does, you can redirect that to the index.php
Like some of the guys already said above,contact your hosting provider.You can also set a redirect in your apache conf file if you know how to do it.
web893
Jan 14th 2008, 7:46 am
Thank you everyone. It works now
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.