Issue after server move

Popular automatic website translation tool

Issue after server move

Postby Seadog » Tue Jun 12, 2012 2:48 pm

Hi, we're currently running GTranslate (1.5.x.26). We had major ptoblems on the previous host so have moved onto a new (same domain). It was working ok until today but it now shows /?force_no_api=1&force_translation=1 when you click ony of the flags. The domain's .

Many thanks,
Posts: 18
Joined: Wed Aug 03, 2011 6:12 pm

Re: Issue after server move

Postby Yana » Tue Jun 12, 2012 4:16 pm

Please check gtranslate config lines in your .htaccess file.

# 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