[Solved] Problem with redirect

Popular automatic website translation tool

[Solved] Problem with redirect

Postby ollee » Tue Aug 09, 2011 12:55 am

Please, help me resolve this problem:
I use some redirects on my site. When I use GTranslatePro these redirects doesn't work.
For example:
1) Go to http://forex-shop.com/de/
2) When I click on link "systeme" (top menu)(http://forex-shop.com/de/?page_id=133) I see BLANK page.
Because I use redirect WP plugin, where " /?page_id=133 " redirect to "http://forex-shop.com/?category_name=systems-2"

Here screenshot of my WP plugin:

Here what I have in ".htaccess" file:
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]
RewriteCond %{REQUEST_URI} !^/wp
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA]
RewriteCond %{REQUEST_URI} !^/wp
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]

AddDefaultCharset UTF8

What I need add into ".htaccess" for working my redirects?

Thank you
Posts: 8
Joined: Tue Aug 02, 2011 1:47 pm

Re: Problem with redirect

Postby Edvard » Wed Aug 10, 2011 1:45 am

Try to turn on Follow Location in gtranslate/config.php.

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Site Admin
Posts: 4403
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Problem with redirect

Postby ollee » Wed Aug 10, 2011 3:46 pm

THANK YOU! solved..... you're the best! ;)
Posts: 8
Joined: Tue Aug 02, 2011 1:47 pm

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests