non-www switches language correct, but www.domain.com doesnt

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
hygum
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed May 30, 2007 6:50 am
Contact:

non-www switches language correct, but www.domain.com doesnt

Post by hygum » Thu Apr 24, 2014 11:16 am

I have a strange error: Language switching on http://junget.dk works, but same path with www doesnt change language but goes to default language frontpage.

So junget.dk/pl shows correctly the polish frontpage, but http://www.junget.dk/pl shows default danish page with no links with /pl in the menu.
Same with the english: junget.dk/en works but http://www.junget.dk/en goes to default danish frontpage.

And the same goes for subpages:
junget.dk/en/products works, but http://www.junget.dk/en/products doesnt

I have the standard htaccess and SEO turned on. The "multilanguage status" backend plugin shows everything is ok. The languages are all installed correctly (thats why the non-www domains works).
Server admin says nothing is wrong on the setup on their side.

System:
PHP Built On Linux bs1-amsterdam.accountservergroup.com 3.2.45-grsec #1 SMP Thu May 23 08:37:40 CDT 2013 x86_64
Database Version 5.1.73-rel14.11-log
Database Collation utf8_general_ci
PHP Version 5.3.27
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.2.3 Stable [ Ember ] 6-March-2014 14:30 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36

hygum
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Wed May 30, 2007 6:50 am
Contact:

Re: non-www switches language correct, but www.domain.com do

Post by hygum » Thu Apr 24, 2014 12:07 pm

SOLVED

By myself. It was wrong setting in configuration.php, should be:
public $live_site = 'http://www.junget.dk';


Locked

Return to “Language - Joomla! 3.x”