Forum Archive - When I translate, it doesn't change the URL

When I translate, it doesn't change the URL
Feb 28, 2011 12:37 pm by ptheisen
I installed Gtranslate Pro but it behaves still exactly like the standard version. I can click on languages, get the translation, but the URL doesn't change to have the /mysite/DE/mypage.html format. See my PHP info under: Thanks and best regards, Peter This is my .htaccess: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On # 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] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Re: When I translate, it doesn't change the URL
Feb 28, 2011 12:42 pm by Edvard
Hi, You need to use Redirect translation method, so it will change the URL. Also, when I go to it gives me 404 not found error. Make sure that .htaccess file is being parsed. You can ask your hosting provider.


wordpress amp link not translateDec 31, 2016 10:11 amReplies: 12Post by: besybuy
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

Try GTranslate with a free 15 day trial