vertekal Posted October 16, 2003 Posted October 16, 2003 When someone goes to my site, I want the first page they see to be something besides index.htm. How can I change the default index page? Thanks, Jeff Quote
TCH-JimE Posted October 16, 2003 Posted October 16, 2003 Hi, You can not edit the master config files, but you can do this instead. Edit your .htaccess file and add: DirectoryIndex filename.fileextention filename1.fileextention E.g. DirectoryIndex WhoamI.php Hello.html Then when you go to your site, people will see whoami.php, if the browser does not understand php or its not working, the next one comes along, hello.html and so forth down the line Jim Quote
vertekal Posted October 16, 2003 Author Posted October 16, 2003 Excellent! Thank you! I just did that, and it worked perfectly. When visitors enter my site, they see my flash intro (flashintro.htm) , and when they click past it, they get to the site itself (index.htm). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.