Forum Archive - Problem whit server

Problem whit server
Oct 20, 2015 10:01 am by ravasiniferramenta
i've a problem with a SERVER_NAME variable in .haccess on url the SERVER_NAME is on url the SERVER_NAME is on url the SERVER_NAME is why not show ? it's a problem because more script in my site set url by server_name and now not work correctly is there a way to set the correct server_name from .htaccess file? now my configuration is : CODE: SELECT ALL RewriteCond %{HTTP:X-GT-Lang} ^$ RewriteCond %{HTTP_HOST} ^ RewriteCond %{SERVER_NAME} !\$ [NC] RewriteRule (.*)$1 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$$2 [R=301,L,QSA] - See more at: server-name-variable-gtranslate-enterprise-t3577.html#sthash.yIGCE6P7.dpuf
Re: Problem whit server
Oct 21, 2015 2:40 pm by Yana
Hi, You can detect current selected language by _SERVER['HTTP_X_GT_LANG'] variable and use it to generate correct domain name.


Joomshaper Pagebuilder buttons Link edit problemJan 11, 2019 10:04 amReplies: 1Post by: kumatest
Problem with pluginDec 30, 2018 11:59 pmReplies: 1Post by: Iyari
Problem of translation in my websiteDec 8, 2018 12:15 pmReplies: 1Post by: Ibrahim
Problem with qTranslate-x, please help!Aug 22, 2018 9:14 amReplies: 1Post by: sadammkhan
The problem with the translation of the social pluginDec 27, 2017 7:52 amReplies: 1Post by: UriyFil

Try GTranslate with a free 15 day trial