-
Notifications
You must be signed in to change notification settings - Fork 8
Remove language in URL
Thomasfds edited this page Jun 2, 2021
·
4 revisions
Dans la version 2.1 et supérieur le système d'URL à été réécrit, il inclut dorénavant le langage utilisateur dans l'url par exemple : https://votresite.fr/fr/
Pour retirer ce système vous pouvez suivre ces instructions :
- Aller dans le fichier config/routes/annotations.yaml
- Supprimer les lignes 4, 5 et 6
- Les urls devraient passer de https://votresite.fr/fr/ à https://votresite.fr/
- Pensez à modifier l'url dans votre configuration dedipass
- Profiter de votre site.
In version 2.1 and higher, the URL system has been rewritten, it now includes the user language in the url, for example: https://yoursite.com/en/
To remove this system you can follow these instructions:
- Go to the config / routes / annotations.yaml file
- Delete lines 4, 5 and 6
- The urls should go from https://yoursite.com/en/ to https://yoursite.com/
- ** Remember to modify the url in your dedipass configuration **
- Enjoy your site.