Forum Archive - Gtranslate Pro - issues with .htaccess

Gtranslate Pro - issues with .htaccess
May 10, 2011 10:40 am by market_architect
I am having issues with the .htaccess
Re: Gtranslate Pro - issues with .htaccess
May 10, 2011 4:55 pm by Edvard
Hi, Please add the rules in the .htaccess and let me know, so I can test and see what can be done.
Re: Gtranslate Pro - issues with .htaccess
May 11, 2011 6:01 am by market_architect
I have uploaded the following .htaccess :
Re: Gtranslate Pro - issues with .htaccess
May 11, 2011 11:56 am by Edvard
I can see the Spanish is OK now: http://www.architectsap.com/es/ I can see that the background image when I hover the top menu items works... For now you just need to add the language selector to your website.
Re: Gtranslate Pro - issues with .htaccess
May 11, 2011 2:44 pm by Edvard
You need to use this rewrite rules instead to avoid translation of 2 letter js folder: 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_URI} !^/js RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteCond %{REQUEST_URI} !^/js RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]
Re: Gtranslate Pro - issues with .htaccess
May 11, 2011 3:05 pm by market_architect
Issue is resolved. Thanks Edvard!

SIMILAR TOPICS

Gtranslate MultisiteFeb 12, 2019 7:27 amReplies: 1Post by: infact_dat
Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon
Instragram and Gtranslate...!!!!Dec 19, 2018 11:18 amReplies: 1Post by: zackfernandes

Try GTranslate with a free 15 day trial