Code Snippet </> Info
Snippet Name: Change Default Index Page
Description: This rule tells the server to search for and serve a new-default-page as the default directory index file. This rule must exist in the htaccess file of the root directory for which you wish to replace the default index file (e.g., index.html) and show (new-default-page.html) instead.
Note: Simply rename the 'new-default-page.html' to a file name that you prefer.
Author:
Last Modified: 2015-12-13 07:14:20
Language: .htaccess
Highlight Mode: html
|
Copy Codes: Use Free Notepad ++ |
|
Snap HTML Code Editor: Paste the source code, make changes and instantly see it in live preview. Snap HTML Code Editor
|
|
Copied To Clipboard!
# serve alternate default index page
DirectoryIndex new-default-page.html
|