unwanted default language suffix added by the language switcher

General questions regarding the use of languages in Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
cyrilthibout
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Tue Oct 05, 2010 1:52 pm

unwanted default language suffix added by the language switcher

Post by cyrilthibout » Thu Mar 16, 2023 1:51 pm

Hi
On a FR/EN joomla 3 website we set up the language filter plugin so that the default language doesn't use the language suffix.

However the links that are generated by the language switcher module still have the default language suffix.

For instance : in the website French is the default language. The French "about us" page is then /apropos and the english one is /en/about-us

But in the /en/about-us page the language filter module displays a /fr/apropos link instead of just /apropos

Of course /fr/apropos is automatically redirected to /apropos but we still have both urls in the site which is not SEF

How can we have the language switcher module display the real urls please?



thanks for your ideas

Locked

Return to “Language - Joomla! 3.x”