Hi, thank you for your quick responses!
Arun Patidar thanks, here is the current mapping we have, (appologies for the probably mess):

Name
| Mapping |
|---|
| bin | sling:internalRedirect="/bin/" sling:match="localhost.8080/bin/" |
| clientlibs | sling:internalRedirect="/etc.clientlibs/" sling:match="localhost.8080/etc.clientlibs/" |
| content - dam | sling:internalRedirect="/content/dam/" sling:match="localhost.8080/content/dam/" |
| etc | sling:internalRedirect="/etc/" sling:match="localhost.8080/etc/" |
| html localhost.8080 - es | sling:internalRedirect="/content/project/es/es/$1.html" sling:match="localhost.8080/(.+)" |
| libs | sling:internalRedirect="/libs/" sling:match="localhost.8080/libs/" |
| localhost.8080 - ca | sling:internalRedirect="/content/project/es/ca/" sling:match="localhost.8080/ca/" |
| localhost.8080 - en | sling:internalRedirect="/content/project/es/en/" sling:match="localhost.8080/en/" |
| localhost.8080 - es | sling:internalRedirect="/content/project/es/es/" sling:match="localhost.8080/" |
| mnt | sling:internalRedirect="/mnt/" sling:match="localhost.8080/mnt/" |
The idea behind the mappings on localhost - en, localhost - es, localhost - ca is:
For en and ca:
localhost:8080/en/page.html
localhost:8080/ca/page.html
For es is to be able to have links like:
localhost:8080/page.html
Ones on bin, clientlibs, mnt, content - dam, etc, libs, mnt, are to avoid the a wrong mapping of the resources under those paths
The main problem comes with the html localhost.8080 - es, when we add it,
the site recognizes the previous links but it becomes kind unstable, some services are not longer recognized, such as the /bin/receive for example.
smacdonald2008 thanks for your response,I'll try to give it a new lecture,
maybe we are having a wrong idea of how to implement or even if the idea is feasible using sling mappings.
aneeta45259594 thanks for the detailed response.
As you mention the ideal should be focus on the shortening properly avoiding to tocuh anything else rather than our project, but we are in a kind of "hurry" situation.
I'll check the mapping you propose and see how it behaves and see if it can perform well with the other language mappings.
We are thinking in combine the sling mapping to shorten the URL's and leave the html management to the web server.
I'll try to update the post with any advance in the process.
Best regards