How to remove default language code from urls?

General questions regarding the use of languages in Joomla! 2.5.

Moderators: infograf768, 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.
Post Reply
thecar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Tue Dec 21, 2010 11:25 pm

How to remove default language code from urls?

Post by thecar » Mon Apr 23, 2012 11:43 pm

I would like to know how I can remove the default language code from my urls only? The other language codes should stay, but just remove the default from the url...

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 26686
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: How to remove default language code from urls?

Post by imanickam » Tue Apr 24, 2012 1:59 am

Go to the Plug-in Manager, open the plug-in "System - Language Filter" for edit, in the tab/slide Basic Options, for the option Remove URL Language Code choose the value No.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Global Moderators Team | Translations Coordination Team | Tamil (தமிழ்) Translation Team

Eegan - Support the poor and underprivileged

thecar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Tue Dec 21, 2010 11:25 pm

Re: How to remove default language code from urls?

Post by thecar » Tue Apr 24, 2012 3:21 am

HI, thanks for your reply. I have alreay had that to No, however nothing happens even when I set that to Yes?

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 26686
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: How to remove default language code from urls?

Post by imanickam » Tue Apr 24, 2012 7:36 am

What version of Joomla! 2.5.x are you using?

Is this a fresh install or an upgrade? If an upgrade, please provide details.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Global Moderators Team | Translations Coordination Team | Tamil (தமிழ்) Translation Team

Eegan - Support the poor and underprivileged

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18646
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: How to remove default language code from urls?

Post by infograf768 » Tue Apr 24, 2012 8:12 am

Also, delete all caches.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

thecar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Tue Dec 21, 2010 11:25 pm

Re: How to remove default language code from urls?

Post by thecar » Tue Apr 24, 2012 2:37 pm

I believe it was a 2.5.3 install, then an upgrade to 2.5.4, also no caching in used.

thecar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Tue Dec 21, 2010 11:25 pm

Re: How to remove default language code from urls?

Post by thecar » Wed Apr 25, 2012 2:45 pm

Hi, any ideas/solution? Would be great to get this fixed :)

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18646
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: How to remove default language code from urls?

Post by infograf768 » Wed Apr 25, 2012 4:12 pm

thecar wrote:Hi, any ideas/solution? Would be great to get this fixed :)
Send me via PM a superuser login/password.
I will check.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 26686
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: How to remove default language code from urls?

Post by imanickam » Wed Apr 25, 2012 4:16 pm

Just a thought... What is the value selected for the option "Language Selection for new Visitors"?
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Global Moderators Team | Translations Coordination Team | Tamil (தமிழ்) Translation Team

Eegan - Support the poor and underprivileged

thecar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Tue Dec 21, 2010 11:25 pm

Re: How to remove default language code from urls?

Post by thecar » Wed Apr 25, 2012 4:27 pm

Sorry I am on a localhost... That setting is set to browser detection.

thecar
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Tue Dec 21, 2010 11:25 pm

Re: How to remove default language code from urls?

Post by thecar » Thu Apr 26, 2012 2:23 pm

Issue is solved, somehow I overlooked the setting "Remove URL Language Code", set this to Yes and it removed the default language code. Thank you both for the help.

jsteffers
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 103
Joined: Wed Sep 18, 2013 2:14 pm

Re: How to remove default language code from urls?

Post by jsteffers » Fri Dec 09, 2016 7:42 am

This worked for me on Joomla 3.6.4
imanickam wrote:Go to the Plug-in Manager, open the plug-in "System - Language Filter" for edit, in the tab/slide Basic Options, for the option Remove URL Language Code choose the value No.


Post Reply

Return to “Language - Joomla! 2.5”