How to I redirect /index.html


#1

Hi. Right now, If a user acceses www.mysite.com/index.html directly, I get an error in Ember, as it tries to find the index.html route and fails. How can I address this issue?


#2

Try these threads for nginx and apache.


#3

Thank you. Another way I thought about is to create a index-html route, which captures the /index.html path, and redirects to the index route. using the redirect hook function.