Let say that you want to have or create a splash screen page on your Joomla, Mambo, Drupal, WordPress where users can choose what what language their prefer, or you just want to put an a huge image to greet your visitors. And suddently you’re wondering “How on earth I’m supposed to do that kind of thing?”.
Well, don’t be sad now because it’s not difficult to that. All you need is to place an extra command in your .htaccess. Just add this line of code anywhere in your .htaccess file.
DirectoryIndex index.html index.php
This code will tell Apache that when somebody enter your site e.g www.yourdomain.com then Apache will display index.html as the default home page.
Note: You can replace the index.html name according to your splash screen file name.