Title: back to default lang
Last modified: August 24, 2016

---

# back to default lang

 *  Resolved [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/)
 * Hello and congrats for this useful plugin!
 * Please help regarding the following problem:
 * Site uzinadezambete.ro, using standard twentythirteen with qtranslate-x beside
   multiple other plugins, with option “Hide URL language information for default
   language” set to on, three langs: default-ro/en/it, different slug for each page/
   post. No problem going from default to en/it, or between en/it. same on firefox/
   opera/chrome/ie.
 * – from site/en with click on default-lang-flag, hoover shows site/default but
   going to site/en
    – from site/en/page-slug-en with click on default-lang-flag,
   hoover shows site/default/page-slug-default, page change to site/en/page-slug-
   default. – same for it
 * here [https://wordpress.org/support/topic/site-redirection-to-other-languages?replies=2](https://wordpress.org/support/topic/site-redirection-to-other-languages?replies=2)
   you suggest to remove cookies, but this does’n change the behavior, i even setup
   one browser to no cookies at all.
 * here [https://wordpress.org/support/topic/language-switch-problem-firefox?replies=20](https://wordpress.org/support/topic/language-switch-problem-firefox?replies=20)
   are multiple posibilities: disabling all other plugins doesn’t fix, with hide
   url off it goes well – but that’s not what i want, with esc_url( home_url( ‘/’)
   doesn’t fix.
 * here [https://wordpress.org/support/topic/cant-switch-back-to-default-language?replies=5](https://wordpress.org/support/topic/cant-switch-back-to-default-language?replies=5)
   i’m confised about && isset($_SERVER[‘REDIRECT_STATUS’]);, and following [https://qtranslatexteam.wordpress.com/2015/02/26/browser-redirection-based-on-language/](https://qtranslatexteam.wordpress.com/2015/02/26/browser-redirection-based-on-language/)
   puts me on the “one may expect the URL without a language to be always resolved
   to the default language” side, but since hoover shows correct url i can only 
   guess that there is something else going wrong after.
 * .htaccess
 * # 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 W3TC Browser Cache
    <IfModule mod_deflate.c> <IfModule mod_headers.c>
   Header append Vary User-Agent env=!dont-vary </IfModule> AddOutputFilterByType
   DEFLATE text/css text/x-component application/x-javascript application/javascript
   text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/
   xsd text/xsl text/xml image/x-icon application/json <IfModule mod_mime.c> # DEFLATE
   by extension AddOutputFilter DEFLATE js css htm html xml </IfModule> </IfModule
   > # END W3TC Browser Cache
 * [https://wordpress.org/plugins/qtranslate-x/](https://wordpress.org/plugins/qtranslate-x/)

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

 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6177979)
 * [@tzepx](https://wordpress.org/support/users/tzepx/)
 * You use qTranslate Slug?
 * If so, deactivate this plugin and see if that makes a difference.
 *  Thread Starter [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6177981)
 * with qtranslate-x slug deactivated:
    -links changed to site/default-slug or site/
   en/default-slug or site/it/default-slug – still doesn’t go back to default lang
 * with all plugins (except qtranslate-x) deactivated, it behave the same.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6177982)
 * if you remove this from your .htaccess that makes a difference?
 *     ```
       # BEGIN W3TC Browser Cache
       <IfModule mod_deflate.c>
       <IfModule mod_headers.c>
       Header append Vary User-Agent env=!dont-vary
       </IfModule>
       AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
       <IfModule mod_mime.c>
       # DEFLATE by extension
       AddOutputFilter DEFLATE js css htm html xml
       </IfModule>
       </IfModule>
       # END W3TC Browser Cache
       ```
   
 * Can you give me a link to your site?
 *  Thread Starter [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6177985)
 * with .htaccess changes – still same behavior.
 * site is uzinadezambete.ro, thank you.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6177996)
 * [@tzepx](https://wordpress.org/support/users/tzepx/)
 * which version of qTranslate you use?
 * Apache or Nginx server?
 *  Thread Starter [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6177999)
 * wp 4.2.2
    qtranslate-x 3.3 Apache/2.4.7 (Ubuntu)
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178000)
 * The next you could try – Import export – Reset qTranslate
 * Check this box and click Save Changes to reset all qTranslate settings.
    and 
   Yes, I really want to reset qTranslate.
 * You must then enable your languages again.
 *  Thread Starter [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178004)
 * full back-up before 🙂
    check both “Check this box and click Save Changes to 
   reset all qTranslate settings.” and “Yes, I really want to reset qTranslate. “
 * then enable ro/it, disable de, default ro, ro up above en
    same behavior
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178007)
 * do you want to deactivate qTranslate Slug once so I can here see if there is 
   a difference?
 * Let me know.
 *  Thread Starter [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178008)
 * update: firefox cookies on it seems that it’s working
    opera cookies off getting:
 * This webpage has a redirect loop
    The webpage at [http://uzinadezambete.ro/preturi/](http://uzinadezambete.ro/preturi/)
   has resulted in too many redirects. Clearing your cookies for this site or allowing
   third-party cookies may fix the problem. If not, it is possibly a server configuration
   issue and not a problem with your computer.
 * but double refresh is getting where it is supposed to
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178010)
 * Here with Firefox it now works – clean approach to the website
 *  Thread Starter [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178011)
 * with small updates on menu following reset, firefox with cookies=on version is
   working!
 * HURRAY! thanks!
 * regarding opera with cookies=off, wrong behavior is continued.
    with qtrans-slug
   deactivated both versions behave the same: firefox cookies on navigation ok, 
   opera cookies off initial navigation with problems. i’m letting qtrans-slug off
   if you want to investigate further for cookies=off version.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178012)
 * > regarding opera with cookies=off, wrong behavior is continued.
 * And with cookies=on?
 *  Thread Starter [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178013)
 * opera cookies=on behave normal, as it should be.
 *  Thread Starter [tzepx](https://wordpress.org/support/users/tzepx/)
 * (@tzepx)
 * [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178014)
 * huge thanks, i will comeback in several hours.

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

The topic ‘back to default lang’ 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

 * [back](https://wordpress.org/support/topic-tag/back/)
 * [default](https://wordpress.org/support/topic-tag/default/)

 * 15 replies
 * 2 participants
 * Last reply from: [tzepx](https://wordpress.org/support/users/tzepx/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/back-to-default-lang/#post-6178014)
 * Status: resolved