How to make redirect /index.html ->
/ in Apache?
Redirect /index.html http://domain-name.com/
Is causeing infinite loop when opening home page.
It is most likely causing an infinite loop as they are the same. The default pages in Apache are
If the browser does not request a file name the web server will return one of those files if it finds them.
So When you go to
From an SEO perspective, if example.com/ and example.com/index.html are the same, use canonical links to address it.
Just do it the other way round, instead of redirecting to the domain
In the .htaccess file you can write (this is the default anyway):
Now if somebody requests