Plugin Author
Gunu
(@grafcom)
Hello Chris,
Does it also happen in the minimal configuration, like theme “Twenty Fifteen” with -x the only plugin?
Best
Hi Gunu,
Thanks for your quick reply!
I did what you told me to, but unfortunately without any luck :/
I’m currently working locally, but I’ve now debugged further.
When I click the default language on the front-end I can see it starts to refresh but then it just stops. However, when I use Query Mode (?lang=en) it works. I’ve tried flushing my permalinks as well.
Another interesting thing is that the default language links to e.g. http://website.com/en/ when it should actually be linking to http://website.com/. If I enter the latter URL it works.
I hope this helps Gunu and thanks for your assistance so far π
Plugin Author
Gunu
(@grafcom)
Under – Settings – Languages – General Settings – Default Language / Order – How this is set?
Show displayed language prefix when content is not available for the selected language. Unchecked?
Advanced Settings – Use Pre-Path Mode (Default, puts /en/ in front of URL). SEO friendly. is checked?
Hide URL language information for default language. Checked?
Permalinkgs set to Post name?
Edit: Delete cookies for clean start.
Norsk (default) -> Svenska -> English
Tried both, but left checked for now.
Use Pre-Path Mode is when it doesn’t work.
Interesting: If I uncheck the hiding of URL language info it works with Pre-Path Mode as well!
That means it’s a combination of the Pre-Path Mode and the hiding.
Permalinks are set to postname.
Deleted all the qtrans cookies without any luck.
Plugin Author
Gunu
(@grafcom)
How is your .htaccess set?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /procano/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /procano/index.php [L]
</IfModule>
Plugin Author
Gunu
(@grafcom)
Seems correct.
Do you have the opportunity to put a copy of the site on a server so I can also see it?
If not, if you could send me a copy of all files including a copy of the complete database I can put the site here on a server if it contains at least no confidential information. Then we can look together.
You will also have to make a temporary administrator.
If so, use wetransfer.com for it
Another interesting thing is that the default language links to e.g. http://website.com/en/ when it should actually be linking to http://website.com/. If I enter the latter URL it works.
Same problem here, have you solved?
Plugin Author
Gunu
(@grafcom)
@baga.
Do you have the opportunity to put a copy of the site on a server so I can also see it?
Hi Gunu,
i’ll be able to put a copy of the site on a server in the next few days.
I’ll let you know when I’m ready.
Thanks!
same for me on a local test server after migrating from mqtranslate.
Having the same problem here, with 3 different WP installations. VERY annoying…
Example:
View my latest photo report here. It’s a German article. German is the default language of my website and set as #1 language in qTranslate X settings.
Then switch to English using the language picker in the header image or use this link
Now the website keeps on redirecting you to English content, no matter what URL you call; so just use the language picker in the header image again or use this link
The funny thing: Once I explicitely add the default language code in front the URL then the correct content gets displayed again and no automatic redirection occurs.
(Forcing Pre-Path Mode to use DE as actually no DE has to be used as DE is default language)
http://www.xflow.eu/de/2015/02/19/victoriafaelle-simbabwe/
PS: Enabling/disabling the option “Detect the language of the browser and redirect accordingly” shows absolutely no effect…
Plugin Author
Gunu
(@grafcom)
@xflow,
how is your language chooser set?
Do you use the widget in a menu?