Forum Archive - htaccess Configuration

htaccess Configuration
Feb 17, 2015 8:31 am by trovaweb
Reading the Documentation of the PRO Version, the example of config of the htaccess is the Chinese with CN and Tw, how can i edit the htaccess for using english?
Re: htaccess Configuration
Feb 17, 2015 10:09 am by Yana
Hi, It is already configured for English. [a-z]{2} means two-letter language code and the English language code is en, so you do not need to configure it.
Re: htaccess Configuration
Feb 17, 2015 10:36 am by trovaweb
We installed your plugin, corrected some errors and it works perfectly. After changing language, when i choose a menu voice it redirect me to home page. # 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 [L,QSA] These are the lines of code of the htaccess for chinese language, what i have to edit for using english language? This is the site: http://bellavistaristorante.info/
Re: htaccess Configuration
Feb 18, 2015 2:05 pm by Yana
Hi, Which version of GTranslate free module you installed?

SIMILAR TOPICS

Potential threat identified in .htaccessMar 1, 2017 7:30 pmReplies: 3Post by: Hannah
Redirect to subdomain in .htaccess using Accept-languageDec 27, 2016 5:44 amReplies: 5Post by: freebouba
htaccess (301 redirects) CacheSep 19, 2016 9:36 amReplies: 3Post by: belgor
configuration for sub-directoryJun 25, 2016 5:40 pmReplies: 7Post by: pbianco
Need updated htaccess rules for Windows IIS web.configMay 24, 2016 2:03 pmReplies: 5Post by: mjbradley85

Try GTranslate with a free 15 day trial