Popular automatic website translation tool


Postby tacitus » Wed Mar 21, 2012 4:03 pm

Hi, I'm a old costumer that buy from you gtranslator for joomla.
I've been passing for a serios health issue and I was away from my computer for several months
Now I'm trying to reinstall the component in my domai, but I don't remember which alterations I must do in httpacess.

Could you help me please?
Thanks in advance
Posts: 34
Joined: Wed Mar 21, 2012 3:43 pm

Re: .http

Postby Yana » Wed Mar 21, 2012 9:22 pm

If you installed the general version , you should add the following lines in the .htaccess file after "RewriteEngine On" line

# 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]

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: 4547
Joined: Thu Jan 12, 2012 6:21 pm

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests