I have index.html on my html_directory on my website also I entered a rule as follows:
RewriteRule ^index.html$ newindex.php
It seems requests to my site is routing to my index.html file , my questions are:
- Do I need to have index.html file on my
public_htmldirectory or I can remove it? - Is my rewrite rule correct?
- Based on my rule on
.htaccesswhich page is open :index.htmlornewindex.php?