Title: Flags and redirection
Last modified: August 22, 2016

---

# Flags and redirection

 *  Resolved [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/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?
 * [https://wordpress.org/plugins/qtranslate-x/](https://wordpress.org/plugins/qtranslate-x/)

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/flags-and-redirection/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/flags-and-redirection/page/2/?output_format=md)

 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5837977)
 * [@marionwante](https://wordpress.org/support/users/marionwante/),
 * how are the other settings
 * Use Pre-Path Mode and Permalinks to Post name?
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5837995)
 * Yes…
 * Regards,
    Marion
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5837996)
 * Flags 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.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5837997)
 * Maybe an old adjustment in the functions.php from your theme for mqTranslate?
 * Do you use the qTranslate language selector widget?
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838000)
 * Yes, the same as I did before with mqtranslate.
 * The only thing I adjusted in the theme’s functions.php is registring widget areas.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838001)
 * Try to save the permalinks again.
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838002)
 * Tried that for at least 10 times every time I changed settings.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838005)
 * you could try with a default WP theme if it is also wrong.
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838008)
 * Tried that just now, no change whatsoever.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838009)
 * and deactivating all plugins apart from aTranslate?
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838010)
 * 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.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838013)
 * Sure,
 * Is there something happened in the qTranslate Language Chooser Widget CSS:?
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838014)
 * No, I left it as it is because it looks good.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838015)
 * 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
 *  Thread Starter [MarionWante](https://wordpress.org/support/users/marionwante/)
 * (@marionwante)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/#post-5838017)
 * # 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

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/flags-and-redirection/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/flags-and-redirection/page/2/?output_format=md)

The topic ‘Flags and redirection’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate-x_f9f9f9.svg)
 * [qTranslate X](https://wordpress.org/plugins/qtranslate-x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate-x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate-x/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate-x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate-x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate-x/reviews/)

## Tags

 * [default language](https://wordpress.org/support/topic-tag/default-language/)
 * [flags](https://wordpress.org/support/topic-tag/flags/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 28 replies
 * 3 participants
 * Last reply from: [John Clause](https://wordpress.org/support/users/johnclause/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/flags-and-redirection/page/2/#post-5838224)
 * Status: resolved