.http

Popular automatic website translation tool

.http

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
tacitus
 
Posts: 34
Joined: Wed Mar 21, 2012 3:43 pm

Re: .http

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

Hi,
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]
Regards,

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


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron