Nginx + GTPro

Popular automatic website translation tool

Nginx + GTPro

Postby 1m5FDMR2D4al » Sun Sep 18, 2011 1:20 pm

There is Nginx rewrite config for GTranslatePro
Code: Select all
rewrite ^/([a-z][a-z])/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 last;
rewrite ^/([a-z][a-z])$ /gtranslate/translate.php?lang=$1 last;
rewrite ^/(zh-CN)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 last;
rewrite ^/(zh-CN)$ /gtranslate/translate.php?lang=$1 last;
rewrite ^/(zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 last;
rewrite ^/(zh-TW)$ /gtranslate/translate.php?lang=$1 last;

Originally there was a problem but it was solved with complete script reinstall.
Last edited by 1m5FDMR2D4al on Sun Sep 18, 2011 2:13 pm, edited 1 time in total.
Posts: 15
Joined: Sun Sep 18, 2011 12:57 pm

Re: Nginx + GTPro

Postby Edvard » Mon Sep 19, 2011 2:23 pm


Edvard Ananyan - 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
Site Admin
Posts: 4403
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest