Title: Forcing language based on domain
Last modified: August 22, 2016

---

# Forcing language based on domain

 *  [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/forcing-language-based-on-domain/)
 * Hi
    I have site set up and running fine. I am using domains to configure the 
   languages i.e.
 * site.com – English
    site.ch – German(Swiss/German)
 * When I type site.ch I am always brought to the English version i.e. the landing
   page is always in English. If I click on the flag for the language it takes me
   to the correct language. Is there no way setting it so that when you land on 
   the site.ch page that it automatically goes to the language (or is the system
   simply detecting my region and default language as english).
    Thanks
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/forcing-language-based-on-domain/#post-5363019)
 * Hi!
 * EDIT: when using one domain per language, Polylang does not redirect the homepage(
   unlike other options where you can choose to redirect to the preferred browser
   language). So I don’t know what cause the redirection from site.ch to site.com.
 *  [car777rod](https://wordpress.org/support/users/car777rod/)
 * (@car777rod)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/forcing-language-based-on-domain/#post-5363208)
 * I have the same problem. When I type the url: [http://www.juventudecuatoriana.org](http://www.juventudecuatoriana.org)
   or juventudecuatoriana.org it directs me to the spanish site [http://www.juventudecuatoriana.org/es](http://www.juventudecuatoriana.org/es)
   regardless whether the browser is defaulted to english and my zone is english.
   I have also english as the default language in the polylang settings. Please 
   help as it is affecting traffic to our site.
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/forcing-language-based-on-domain/#post-5363210)
 * @car77rod
    This is not the same problem, as you are not using a domain per language.
   You are redirected to spanish because this is your latest browsed language and
   you checked the option: “When the front page is visited, set the language according
   to the browser preference”
 *  [car777rod](https://wordpress.org/support/users/car777rod/)
 * (@car777rod)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/forcing-language-based-on-domain/#post-5363213)
 * In this case, how can I change where people is being redirected to? juventudecuatoriana.
   org/es is not the spanish version homepage, and I do not see anywhere to change
   where people should be redirected to.

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

The topic ‘Forcing language based on domain’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [car777rod](https://wordpress.org/support/users/car777rod/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/forcing-language-based-on-domain/#post-5363213)
 * Status: not resolved