How To: Change Your Website’s Index File
a simple trick using the .htaccess file
A simple tutorial which only involves editing one little file. Useful for those of us who have mime-typed extensions or who are creating lots of test design files and want an easy way to make the design they like best their default file.
- Create a file called .htaccess in the /public_html/ folder if you don’t have it. I think one should be there already when you get your site so if it isn’t you should create it anyway!
- In the file write the following: CODE
DirectoryIndex newindex.file - Replace newindex.file with the file you want your index page to be.
- Open your website and if all has worked well, you should have your customized index page.
