Multi-language with domain name specific doesn't work I am working on a multi-language website. I am setting content in both English and French. 

When I use path prefix as my detection method, it works fine, like poc-local.com and poc-local.com/fr. When I use domain as my detection method, it doesn't work, like fr.poc-local.com.

I am getting a 302 error, and "the page isn't redirecting properly" error. How can I fix this?
I found the answer for this.

I have installed global redirect module and now it's working.

https://www.drupal.org/project/globalredirect

But Now I am having another one problem.My language Switcher block is not working.When I switching from one language to another language the recently switched language url displaying for all languages...