gtranslate pro will not work.
Domainroot is: /
Wordpressroot is: /blog
i use wordpress in subfolder:
http://www.domain.com/other_script_with ... slate/blog
The GTranslate Pro is here:
http://www.domain.com/other_script_with ... gtranslate
So what i must do to bring the gtranslate Pro to work in my blog?
Where must i write in .htaccess?
In the folder from my other script (Domainroot) or in the root from wordpress?
I test all, translate pro will not work.
If i write the .htaccess in the folder from my other script (Domainroot) and edit the path:
- Code: Select all
# 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)/(.*)$ /blog/gtranslate/translate.php?lang=$1&url=$2 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /blog/gtranslate/translate.php?lang=$1 [L,QSA]
So, Wordpress is working, but no translate possible.
If i write the .htaccess in the wordpressroot, wordpress is not working.
Greets BMW