Remove /index.html from internal paths