Title: Redirection failures
Last modified: January 26, 2017

---

# Redirection failures

 *  [webs101](https://wordpress.org/support/users/webs101/)
 * (@webs101)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/redirection-failures/)
 * I have been using qTranslate on a client’s site for a while. I’m really just 
   a maintainer and not a coder, and I did not design this custom theme although
   I have added pages to it over the years.
 * The site is: [http://reframe-films.com](http://reframe-films.com)
 * We have been using qTranslate to maintain English and French versions of the 
   homepage and of the “Order Films” page.
 * Recently, qTranslate broke, possibly with a WordPress upgrade. (We just moved
   to a new host as well, but I don’t see how that would break this.) I otherwise
   haven’t touched the site.
 * The link to the French-translated pages no longer functioned. I have been meaning
   to abandon qTranslate for a while and I thought this would be a good opportunity
   so I have done so.
 * But the problems persist and I can modify the behaviour but not fix it.
 * With French enabled in /Settings/Languages:
 * 1) Links to [http://www.reframe-films.com/?page_id=617](http://www.reframe-films.com/?page_id=617)
   redirect to [http://reframe-films.com/?page_id=617&lang=fr](http://reframe-films.com/?page_id=617&lang=fr)
 * 2) Links to [http://reframe-films.com/index.php](http://reframe-films.com/index.php)
   redirect to [http://reframe-films.com/?lang=fr](http://reframe-films.com/?lang=fr)
 * (Curiously, this is the reverse of my problem with qTranslate, which was that
   those two French pages were completely unavailable.)
 * It may be worth noting that when you first go to the domain, you get the English
   index.php by default. It’s only once you start clicking site links that you get
   redirected to the French.
 * Is there an easy fix I’m too inexperienced to find? I have a feeling there is.
   Add ?setlang=no to all the redirected inks? Or add ?lang=en maybe? But shouldn’t
   a default be a default without adding code?

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

 *  [terry789](https://wordpress.org/support/users/terry789/)
 * (@terry789)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/redirection-failures/#post-8706768)
 * Hello,
 * if I go to your website to the film page I get /films.html
    Change the language
   to French than I get /films_fr.html Change back to the English language I get
   the correct language.
 * Page Order films I get /?page_id=617
    Change to French I get /?lang=fr
 * After this, the redirections do not work correct but when I go to the page Contact
   I get /contact_fr.html
    Change to English works again here I get /contact.html
 * Why different forms in the URL’s?
    Do you use html and php pages together?
 * What theme and other plugins you use?
 *  Thread Starter [webs101](https://wordpress.org/support/users/webs101/)
 * (@webs101)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/redirection-failures/#post-8707085)
 * The folks who designed this site went for a mix of HTML and PHP, yes. The only
   WordPress pages are the Order Films and home pages. All the blog posts are done
   in both languages, too.
 * Ignore all the HTML pages. Those work fine – but other than having links, they
   are architecturally independent from the WordPress installation.
 * The theme is homemade, based on Twenty Ten.
 * Active plugins are Akismet, Cart66 Lite, Duplicator, ILC Slider, qTranslate-X,
   Simple Google Analytics, and Twitter Feed. Currently inactive are Jetpack, W3
   Total Cache, and some others that have never been used.
 *  [kamilszmit](https://wordpress.org/support/users/kamilszmit/)
 * (@kamilszmit)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/redirection-failures/#post-8730669)
 * I am using detecting the language of the browser and appropriate redirecting.
   When hiding of information about base language in URL address is turn on, I cannot
   switch homepage from a version of detected language (PL) to default language (
   EN). Homepage in English redirects to homepage in Polish. This problem does not
   occur when hiding of information about base language in URL address is turn off.
   I am creating documentation with WeDoc plugin. When language is not specified
   in URL address, documents are displayed in default language (EN), not in detected
   one (PL). Can I resolve problem with redirection form homepage in English when
   hiding of information about base language in URL address is enabled? How to do
   this? Is this bug of ‘qTranslate X’ plugin? Could you help me? My website URL
   is [http://strona.billon.it:81/billon.pro/](http://strona.billon.it:81/billon.pro/)

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

The topic ‘Redirection failures’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [kamilszmit](https://wordpress.org/support/users/kamilszmit/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/redirection-failures/#post-8730669)
 * Status: not resolved