Forum Archive - Blank site after adding # gtranslate config to .htaccess

Blank site after adding # gtranslate config to .htaccess
Apr 3, 2012 6:23 pm by eurocup
Hi, when I add code presented below to .htaccess due to instruction my website disappeared. # gtranslate config RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 Any idea why?
Re: Blank site after adding # gtranslate config to .htacces
Apr 3, 2012 9:07 pm by Yana
Hi, Please try to enable FOLLOW_LOCATION option in the config.php : define('FOLLOW_LOCATION', true);
Re: Blank site after adding # gtranslate config to .htacces
Apr 4, 2012 2:29 pm by eurocup
Unfortunately, changing config.php didn't help. After that, 500 internal error has appeared. Do you have any other ideas?
Re: Blank site after adding # gtranslate config to .htacces
Apr 4, 2012 4:38 pm by Yana
Hi, Could you please check the following points? troubleshooting-gtranslate-pro-t368.html#2
Re: Blank site after adding # gtranslate config to .htacces
Oct 12, 2012 2:39 pm by dominik123
I have the same problem but my server is already done with: Can someone help me please?? 1. PHP ionCube Loader - can be found at http://www.ioncube.com/loaders.php, if you don't have it ask your hosting provider to enable it for you 2. PHP Curl library - default for the most hosts 3. PHP JSON library - default for PHP 5 >= 5.2.0 4. Apache mod_rewrite or equivalent (IIRF or ISAPI_rewrite for IIS servers)
Re: Blank site after adding # gtranslate config to .htacces
Oct 12, 2012 3:33 pm by dominik123
okay this problem is sortet
Re: Blank site after adding # gtranslate config to .htacces
Oct 13, 2012 3:16 pm by Yana
Hi, Thank you for the information.

SIMILAR TOPICS

Gtranslate MultisiteFeb 12, 2019 7:27 amReplies: 1Post by: infact_dat
Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon
how to translate site right to left for arabic in WordPressDec 26, 2018 9:02 amReplies: 1Post by: Hammond753

Try GTranslate with a free 15 day trial