My Site is inactive - Page Not Found

Popular automatic website translation tool

My Site is inactive - Page Not Found

Postby giorgoskon » Sun Jul 01, 2012 8:56 pm

HI,

Please check my website http://www.cyprusorganics.com/el

it is the third time that happens inactive, please resolve it ASAP



?verify_license=1 in to working
giorgoskon
 
Posts: 16
Joined: Sat May 05, 2012 5:48 am

Re: My Site is inactive - Page Not Found

Postby giorgoskon » Sun Jul 01, 2012 9:10 pm

my site is working again,, server replaced the htaccess with a new,, I don't know why..

I was able to get the current language with $_GET['glang'] . using the following rewrite rules,, are they correct?

# 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]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2&glang=$1 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&glang=$1 [L,QSA]
giorgoskon
 
Posts: 16
Joined: Sat May 05, 2012 5:48 am

Re: My Site is inactive - Page Not Found

Postby Yana » Sun Jul 01, 2012 10:37 pm

Hi,
Yes you can get the current language code with $_GET['glang'] .

Here are the GTranslate config rules:

# 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: 4129
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