www version vs non ww

Popular automatic website translation tool

www version vs non ww

Postby andyg » Sat Nov 28, 2015 7:47 pm

My website uses www version (we are forced for now to use it as we use redundant host).

My question is it possible to use GT translate for www version?
GT Company says use this in our htaccess:

Removing non-www to www redirect for our network

RewriteCond %{HTTP:X-GT-Lang} ^$ # requests from our network will have X-GT-Lang header
RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
- See more at: https://gtranslate.io/docs/58-gtranslat ... mlse8.dpuf

I did it but it is not working! typing language.mydomain.com I get redirected back to www.mydomain.com
I paid for Enterprise pro version hope you will help me to solve this.
Posts: 4
Joined: Thu Nov 19, 2015 3:28 pm

Re: www version vs non ww

Postby Yana » Sun Nov 29, 2015 9:42 pm

First you will need to disable www redirection and then add the rules .
If you cannot configure it , send me your domain name and we will remove www redirection on our server.

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Posts: 4090
Joined: Thu Jan 12, 2012 6:21 pm

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests