Is it be possible to make a website that doesn't reveal any relative URL's at all? Say for example, I have a domain name "somedomain.xyz" and I want to route everything through the default route, and I want not to reveal any paths or route structures to the end user. The end user shall only see the domain name in the browser's address bar, like:
http://somedomain.xyz
or
https://somedomain.xyz.
Any path like
http://somedomain.xyz/index.php
or
http://somedomain.xyz/index or
http://somedomain.xyz/index/index
shall show a 404. And I don't care about SEO stuff and static pages. Is that possible with ZF2, and if yes, then how?
similar question: hide module and action name from zf2 routing