Flags and redirection
-
I have migrated a local WP-installation from MqTranslate to qTX. Everything seems to work except for one important thing:
The site is in Dutch (default language) and German (pre-pad). When I change settings to “hide url language info etc.” the Dutch language is correctly displayed. When I use the widget-flags I can change to German, it puts “de” in front of the url. But when I want to change back to Dutch the flags put “nl” in front of the url and thus I get a 404. When I delete “nl” in the browser everything is back to normal.
I have read and tried all suggestions here, but no luck so far.Does anyone have the solution?
-
Yes…
Regards,
MarionFlags keep redirecting to “nl” and “de” instead of “” and “de”. No matter how I change the settings. Unchecking the setting for “hide url etc.” resulted in a wrong redirect from admin to website. And the flags showed no change at all.
Maybe an old adjustment in the functions.php from your theme for mqTranslate?
Do you use the qTranslate language selector widget?
Yes, the same as I did before with mqtranslate.
The only thing I adjusted in the theme’s functions.php is registring widget areas.
Try to save the permalinks again.
Tried that for at least 10 times every time I changed settings.
you could try with a default WP theme if it is also wrong.
Tried that just now, no change whatsoever.
and deactivating all plugins apart from aTranslate?
Tried that just now and same result…..
I maintain about 12 websites for a client with multiple languages, so this is why I first tried in a local environment before updating all the live sites.Sure,
Is there something happened in the qTranslate Language Chooser Widget CSS:?
No, I left it as it is because it looks good.
maybe you’ve already done that but how it looks in your .htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule># END WordPress
The topic ‘Flags and redirection’ is closed to new replies.