Forum Archive - My Site is inactive - Page Not Found

My Site is inactive - Page Not Found
Jul 1, 2012 4:56 pm by giorgoskon
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
Re: My Site is inactive - Page Not Found
Jul 1, 2012 5:10 pm by giorgoskon
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]
Re: My Site is inactive - Page Not Found
Jul 1, 2012 6:37 pm by Yana
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]

SIMILAR TOPICS

GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Best way to translate a page in WordPress?Jan 7, 2019 11:10 amReplies: 3Post by: Tonnystark
how to translate site right to left for arabic in WordPressDec 26, 2018 9:02 amReplies: 1Post by: Hammond753
Would you share your site URL?Dec 3, 2018 4:57 pmReplies: 1Post by: BevVincent

Try GTranslate with a free 15 day trial