Method 1 :

 

Put the following code in .htaccess to redirect index.html to home.html

 

RewriteEngine on
RewriteRule ^home\.html /index\.html

 

 

 

Method 2 :

 

In your root .htaccess file add the following

 

DirectoryIndex home.html home.htm index.html index.htm

 

This will first look for and display home.html then home.htm.

Was this answer helpful? 0 Users Found This Useful (0 Votes)