Search the FirstSpirit Knowledge Base
FirstSpirit creates SEO-friendly URL in most cases:
There are three major aspects where FirstSpirit’s URL creation could be improved:
The url creation process in FirstSpirit is an open extension point, so you can create your own implementation of "de.espirit.firstspirit.access.UrlCreator", pack it into a module and deploy it on your server. It will then appear as a new choice in the configuration dialog.
But even if the implementation is no rocket science, it's also not a piece of cake .
But happily you could make your life easier if you use the delegation pattern. Then the problem gets much simpler:
To create the above mentioned feature #3 ("remove language prefix") just strip the "/en/" from every return value. Or more simpler: Delegate to an instance of "Multiview URLs" then you must only strip the trailing ".en" in the methods concerning file names.
And how do you get those hidden class names of FirstSpirit's core url creators? I leave this as an exercise to the (experienced) reader - just one hint: Scan the api doc of "de.espirit.firstspirit.access.schedule.GenerateTask".