I've just installed GTranslate pro on to my website I am having the problem that only some of the URLs on my (wordpress) site get re-written, and when they do, I get a 404.
I have gone through the trouble shooting guide, I have ioncube, curl and json the gtranslate folder is in public_html on my server - but still no luck.
I have disabled w3cache, just in case that was interfering + have stripped back my htaccess to the bare bones:
- Code: Select all
Options +FollowSymLinks
# gtranslate config
<IfModule mod_rewrite.c>
RewriteEngine On
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]
</IfModule>
# gtranslate config
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# Externally redirect the non www hostname to the www hostname
RewriteCond %{HTTP_HOST} ^lcd-enclosure\.com [NC]
RewriteRule (.*) http://www.lcd-enclosure.com/$1 [R=301,L]
#
Any help greatly appreciated
Thanks
Dave