remove url language code

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.
dimaSzX
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Sep 19, 2011 12:45 pm

remove url language code

Postby dimaSzX » Mon Sep 19, 2011 1:09 pm

Hello!

I have 3 languages on my website.

Is it possible to remove url language code from default language?

I want my site's url looks like www.mysite.com

for another languages url code is ok.

dimaSzX
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Sep 19, 2011 12:45 pm

Re: remove url language code

Postby dimaSzX » Mon Sep 19, 2011 1:31 pm

I read this topic and understood that it's impossible :(

viewtopic.php?f=617&t=655586

It will be possible in next versions?

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

Re: remove url language code

Postby infograf768 » Mon Sep 19, 2011 3:39 pm

For now, not that I know. It's a quite complex matter.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

SpletniAgent
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun May 01, 2011 4:55 pm
Contact:

Re: remove url language code

Postby SpletniAgent » Mon Feb 20, 2012 6:21 pm

As I know this feature was available in Joomla 1.7.3 (in SYSTEM - LANGUAGE FILTER --> Remove URL Language Code.). Also I remember that there were some problems with sitemaps if this feature was enabled.

Why in doesn't work in joomla 2.5.1. ?

Regards

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

Re: remove url language code

Postby infograf768 » Tue Feb 21, 2012 7:29 am

It does in 2.5.1
Look at
http://multilingual.demojoomla.com/

English is set as default site language and url language code is removed.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

SpletniAgent
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun May 01, 2011 4:55 pm
Contact:

Re: remove url language code

Postby SpletniAgent » Tue Feb 21, 2012 8:57 am

Well, for me it doesn't work... I have set (Remove URL Language Code --> Yes) and default language URL prefix is not removed :(

regards

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

Re: remove url language code

Postby infograf768 » Tue Feb 21, 2012 9:08 am

URL ?
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

SpletniAgent
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun May 01, 2011 4:55 pm
Contact:

Re: remove url language code

Postby SpletniAgent » Tue Feb 21, 2012 9:18 am

URL:

football-jumpeak.com

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

Re: remove url language code

Postby infograf768 » Tue Feb 21, 2012 10:08 am

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

SpletniAgent
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun May 01, 2011 4:55 pm
Contact:

Re: remove url language code

Postby SpletniAgent » Tue Feb 21, 2012 11:10 am

Thank you for your answer. But what must I do to "repair" this?

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

Re: remove url language code

Postby infograf768 » Tue Feb 21, 2012 11:51 am

I guess you have to ask your host
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

SpletniAgent
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun May 01, 2011 4:55 pm
Contact:

Re: remove url language code

Postby SpletniAgent » Tue Feb 21, 2012 12:18 pm

infograf768 wrote:Firefox has detected that the server is redirecting the request for this address in a way that will never complete.


Thank you agan for your help ... But how did you get this error exactly ?

regards

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

Re: remove url language code

Postby infograf768 » Tue Feb 21, 2012 5:31 pm

Just trying to load your url
http://www.football-jumpeak.com
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

SpletniAgent
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun May 01, 2011 4:55 pm
Contact:

Re: remove url language code

Postby SpletniAgent » Tue Feb 21, 2012 6:00 pm

Ok ... I found that on the Firefox 3.6. and other browser (latest chrome and IE 9) the web page loads fine. But at home, I have firefoox 4.0 and the error you mentioned is displayed when I want to load the page.

I don't know what is wrong, but if I turn off plugin - language filter off the page displays correctly.

I am searching for solutions...

regards

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

Re: remove url language code

Postby infograf768 » Tue Feb 21, 2012 6:19 pm

I have the feeling your may be using some SEF component and some redirects which are wrong.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

SpletniAgent
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun May 01, 2011 4:55 pm
Contact:

Re: remove url language code

Postby SpletniAgent » Tue Feb 21, 2012 6:48 pm

infograf768 wrote:I have the feeling your may be using some SEF component and some redirects which are wrong.


I am not using any SEF extensions.

I only saw the joomla 2.5. native component "redirect" ?! What is this for ?

However the site works now (the problem with firefox is gone), but default language url prefix isn't removed (I have enabled - Remove URL Language Code).

link: football-jumpeak.com

Strange things are happening :eek:

regards

lexthoonen
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Tue Feb 21, 2006 10:06 am
Location: Agaete, Gran Canaria

Re: remove url language code

Postby lexthoonen » Thu May 24, 2012 12:22 pm

In my Joomla 2.5.4 I have set english as default language, still, all the urls have the /en/ in it... However, it must be possible as http://multilingual.demojoomla.com/ doesn't have the url language code in it with the default language.

Is it a redirect trick in .htaccess maybe?

The question is, how do I get rid of the /en/ ?

Anyone?

Thanks!

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

Re: remove url language code

Postby infograf768 » Fri May 25, 2012 6:19 am

Please post here a screenshot of the languagefilter plugin parameters as well as a screenshot of the Site language Manager.

Also, please replace the languagefilter.php file.
See: viewtopic.php?f=617&t=719806&p=2814705#p2814031
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Return to “Language - Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 1 guest