PDA

View Full Version : Easy question... How to set my homepage?



ryodoan
08-18-2006, 09:50 PM
Yeah, this is a pretty lame question, but I seem to have my homepage stuck on the default.html and i have no idea how to change it.

I have the website www.caffeinesystems.com

the current homepage is www.caffeinesystems.com/index.html (I think)
I want the homepage to be www.caffeinesystems.com/index.php

How do I achieve this?

Smoothice
08-18-2006, 10:58 PM
just delete the index.html file and it will look for the index.php file by default.

Smoothice

vegasgwm
08-19-2006, 09:56 AM
I want the **** index.php to be the homepage….. grrr:D
hahaha, oh that was funny.
yup, uuhm what he/she said

ryodoan
08-19-2006, 11:11 AM
Ok, when you are tired strange things must happen because I clearly recall trying that last night, and it not working.... well thanks for the help and now its time to start customizing shtuff

Dustin
08-19-2006, 11:20 AM
Another way to do that, if you dont want to delete the index.html is to set your index file in your .htaccess. You just need to add the line


DirectoryIndex index.php

You can replace index.php with whatever you want to be the default page, alot of the times customers would upload their index.html capitalized, and I would recommend setting the DirectoryIndex to avoid having to go back in and change all of their html links.

ryodoan
08-19-2006, 11:22 AM
Thank you again, last night I figured there would be a file or something that was telling the server what to use, but I couldnt find it, didnt occur to me to look in that file. Thanks again, that will come in handy in the future I am sure.