.

Popular automatic website translation tool

.

Postby sportnetwork » Thu Jul 03, 2014 2:36 pm

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:22 pm, edited 1 time in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

Re: Set up automatic redirection rules in .htaccess

Postby Edvard » Thu Jul 03, 2014 2:43 pm

Hi,

You may use this rewrite rule before gtranslate rules in .htaccess:

RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/example/example/example/(.*)$ /$1/example/$2 [R=301,L]

This is an example for images:

RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/image_path/(.*)$ /image_path/$2 [R=301,L]

Thanks!
Regards,

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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

.

Postby sportnetwork » Fri Jul 04, 2014 7:10 am

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:23 pm, edited 1 time in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

Re: Set up automatic redirection rules in .htaccess

Postby Yana » Fri Jul 04, 2014 12:05 pm

Hi,
Please make sure that you put the redirection rules after RewriteEngine On line. Please try the following rule for image redirection, remove $ after (.*)
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/components/com_virtuemart/shop_image/product/(.*) /components/com_virtuemart/shop_image/product/$2 [R=301,L]


.
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm

.

Postby sportnetwork » Fri Jul 04, 2014 1:46 pm

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:24 pm, edited 2 times in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

Re: Set up automatic redirection rules in .htaccess

Postby Yana » Fri Jul 04, 2014 4:07 pm

Hi,
If you can send me access info I'll try to add redirection rules.
You can use the contact form on our homepage.
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm

.

Postby sportnetwork » Mon Jul 07, 2014 11:24 am

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:25 pm, edited 2 times in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

Re: Set up automatic redirection rules in .htaccess

Postby Yana » Mon Jul 07, 2014 11:11 pm

Hi,
Please check your email.
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm

.

Postby sportnetwork » Tue Jul 08, 2014 8:04 am

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:24 pm, edited 1 time in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

Re: Set up automatic redirection rules in .htaccess

Postby Yana » Tue Jul 08, 2014 4:32 pm

Hi,

There is a problem with the FTP connection. Please check password. I have sent the log by email.
Thanks!
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm

.

Postby sportnetwork » Wed Jul 09, 2014 2:34 pm

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:22 pm, edited 1 time in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

Re: Set up automatic redirection rules in .htaccess

Postby Yana » Thu Jul 10, 2014 1:49 am

Hi,

You just need to add the redirection rules after RewriteEngine On
I added the rule for images and it is working properly. Please check.
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm

.

Postby sportnetwork » Thu Jul 10, 2014 6:52 am

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:23 pm, edited 1 time in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

.

Postby sportnetwork » Thu Jul 10, 2014 12:52 pm

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:24 pm, edited 1 time in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

Re: Set up automatic redirection rules in .htaccess

Postby Edvard » Thu Jul 10, 2014 10:09 pm

Hi,

I have sent you an example to use for all your URLs, did you try that?

Thanks!
Regards,

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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

.

Postby sportnetwork » Mon Jul 14, 2014 11:50 am

.
Last edited by sportnetwork on Mon Nov 02, 2015 2:24 pm, edited 1 time in total.
sportnetwork
 
Posts: 74
Joined: Tue Mar 12, 2013 10:33 am

Re: Set up automatic redirection rules in .htaccess

Postby Edvard » Mon Jul 14, 2014 9:02 pm

Hi,

I don't think that you can do anything about it yourself. It depends which SEO solution you use, some of them automatically redirect URLs with parameters to their structured URL without parameters. You need to check your current SEO solution or get a new one which will support that feature.

Thanks!
Regards,

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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


Who is online

Users browsing this forum: No registered users and 0 guests

2GLux