score:0

Accepted answer

index.html is the default page that is shown if / is requested. Why would you want to change that? Either rename login.html to index.html or use URL rewriting. However, the last option would only serve to confuse anyone who will be reading your source code.

The reason for the error message is that you requested / and (I assume) there is no entry for "index" in your SiteMap, so it doesn't know how to handle the request. It has no way to know that you wanted login.html to be the default page.


Related Query

More Query from same tag