Forum Archive - Gtranslate pro only translate index

Gtranslate pro only translate index
May 27, 2011 11:07 am by gui62112
Hello, I have a problem with gtranslate pro, only translate the main page( index )... I use this .htaccess(i found on this forum, because have a js folder in the root) : 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] also try this, and same problem : 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] With that no diplay errors on the website. translation is okay for the main page ( index ) /index.php. When i try to go on product or categorie page in English /en/product_xyz.php . there is no translation, the page still in french. I also try original .htaccess, but with it, problem with all javascrip, ajax : # 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 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA] I already have rewrite for SEO for this website. Widget is okay, redirect, on for pro version... Have a look here : http://www.yakaequiper.com Can help me ?
Re: Gtranslate pro only translate index
May 27, 2011 2:23 pm by gui62112
Where is the support ?
Re: Gtranslate pro only translate index
May 27, 2011 4:05 pm by gui62112
First problem look solved: i put htaccess lines for gtranslate just after : RewriteEngine On. Translate look okay ! I have a last question : We have SEO URL : Instead of this : http://www.yakaequiper.com/en/ampoule-effet-xenon-c-94.html (french) I want : http://www.yakaequiper.com/en/xenon-bulb-effect-c-94.html (english) Please help
Re: Gtranslate pro only translate index
May 31, 2011 7:58 am by Edvard
Hi, Sorry for my late response. You can create a rewrite rule to redirect what you want to the one what you have and add what you want inside sitemap.txt, so the search engines will index it.

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
wordpress amp link not translateDec 31, 2016 10:11 amReplies: 12Post by: besybuy
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon

Try GTranslate with a free 15 day trial