GTranslate Pro for Joomla and external links

Popular automatic website translation tool

GTranslate Pro for Joomla and external links

Postby q12321 » Sun Dec 15, 2013 3:17 am

GTranslate Pro for Joomla translates external links (text and banners) with language suffixes (ru, pl, ar etc,) included.

For example:
http://jobera.com/banners/click14.html is correct banner link,
but after translation to polish language it becomes http://jobera.com/pl/banners/click14.html which is incorrect and leads into the non existent/empty page.

How to deal with this?

All the best, Stefan
Last edited by q12321 on Sun Dec 15, 2013 8:48 pm, edited 2 times in total.
q12321
 
Posts: 23
Joined: Tue Nov 05, 2013 2:47 am
Location: Canada

Re: GTranslate Pro for Joomla and external links

Postby Edvard » Sun Dec 15, 2013 5:21 pm

Hi,

You may set a redirect in your .htaccess file to redirect all XX/banners/... to /banners/...

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

Re: GTranslate Pro for Joomla and external links

Postby q12321 » Sun Dec 15, 2013 8:45 pm

You may set a redirect in your .htaccess file to redirect all XX/banners/... to /banners/...


Can you elaborate on it?
Please give the correct code and some examples.

What about the external text links?
How to deal with them?

All the best, Stefan
q12321
 
Posts: 23
Joined: Tue Nov 05, 2013 2:47 am
Location: Canada

Re: GTranslate Pro for Joomla and external links

Postby Edvard » Sun Dec 15, 2013 9:06 pm

Try to place this code before GTranslate rewrite rules:

RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/banners/(.*)$ /banners/$2 [R=301,L]
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

Re: GTranslate Pro for Joomla and external links

Postby q12321 » Sun Dec 15, 2013 9:48 pm

What about the external text links?
How to deal with them?


You did not answer the above questions.

All the best, Stefan
q12321
 
Posts: 23
Joined: Tue Nov 05, 2013 2:47 am
Location: Canada

Re: GTranslate Pro for Joomla and external links

Postby Edvard » Sun Dec 15, 2013 10:35 pm

Not sure what external links? Can you provide an example and what you need?
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

Re: GTranslate Pro for Joomla and external links

Postby q12321 » Mon Dec 16, 2013 12:55 am

These are links to affiliate websites generated by Joomla's "Web Links Manager: Web Links".

For example:

before translation http://jobera.com/cv-builders/Online-CV-Builder.html is correct
after translation http://jobera.com/pl/cv-builders/Online-CV-Builder.html is incorrect and leads to empty page,
or
before translation http://jobera.com/cv-writing/The-CV-Centre.html
after translation http://jobera.com/pl/cv-writing/The-CV-Centre.html leads to empty page.

Where "cv-builders" and "cv-writing" represent "Categories" in "Web Links".

I need a solution to the problem.
I want the links after translation to lead to correct links before translation.

All the best, Stefan
q12321
 
Posts: 23
Joined: Tue Nov 05, 2013 2:47 am
Location: Canada

Re: GTranslate Pro for Joomla and external links

Postby Edvard » Mon Dec 16, 2013 2:24 pm

Hi,

You will need to set a similar redirect rule in your .htaccess for each category of your external links. Ex:

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

It happens because GTranslate is not intended to translate external websites.
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


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux