How to make instead of

alt text

Answer 1, authority 100%

The easiest option is to create a script
Then it will work on request
If you want everything to stay as it is, dig towards mod_rewrite. This module at the web server level can do the transformation of a virtual URI into a real one. And it is configured via .htaccess

Answer 2, authority 33%

Use search. Here is a similar subject.

Answer 3

Enable Options MultiViews if you are using Apache server.