fix(routing): alert site owner if .htaccess needs updating

The router relies on a querystring added via URL rewriting by
the web server. If missing, this would lead to looping redirects
or showing only the index page. This instead sends a 500 error
page with a message to update .htaccess.

Fixes #6521