Page translates to /fr, /es, /ar, ... altough not selected

Popular automatic website translation tool

Page translates to /fr, /es, /ar, ... altough not selected

Postby dany » Thu Nov 06, 2014 9:48 pm

Hi,

I do have the following issue, would be great to have some help on that:
We use the pro version. I want our website http://www.maurer-it.com to be translated into English and German, so I selected English and German to be shown as flags. This works fine.

But if I add another language to the website-url (SEF Urls ??) - for example http://www.maurer-it.com/fr - the page is also being translated into french (but with automatic translation as I didn't correct it). And I do want to stop this.

I don't want users to be able to add their language to our website link, because then they have to read a badly translated website.

How can I stop GTranslate to show the site in several languages?
Thanks for your help!
Regards, Daniela
dany
 
Posts: 7
Joined: Fri Sep 19, 2014 1:37 pm

Re: Page translates to /fr, /es, /ar, ... altough not select

Postby Yana » Fri Nov 07, 2014 11:53 am

Hi,
You need to write a rule to redirect unwanted languages to the homepage. Here is an example :
RewriteRule ^(fr|es|ar)/(.*)$ /$1 [R=301,L]

You should add this rule in your .htaccess file after "RewriteEngine On" line.
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

Re: Page translates to /fr, /es, /ar, ... altough not select

Postby dany » Fri Mar 13, 2015 8:32 pm

Hi Yana,
I tried to add the rewrite rule to the .htaccess file but it doesn't work. What am I missing?
We use Joomla! 3.3.6.
Is there anything else I should consider?
Thanks,
Daniela
dany
 
Posts: 7
Joined: Fri Sep 19, 2014 1:37 pm

Re: Page translates to /fr, /es, /ar, ... altough not select

Postby Yana » Sun Mar 15, 2015 12:08 am

Dear Daniela,

If you send me ftp access info I can add the redirection rule.
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

Re: Page translates to /fr, /es, /ar, ... altough not select

Postby dany » Mon Mar 16, 2015 1:55 pm

Sorry Yana, I can't give you ftp access, cause I'm not allowed to give root access to externals.
Is there any other possible solution to find out the correct redirect rule / location?
Regards, Daniela
dany
 
Posts: 7
Joined: Fri Sep 19, 2014 1:37 pm

Re: Page translates to /fr, /es, /ar, ... altough not select

Postby Yana » Mon Mar 16, 2015 5:59 pm

Dear Daniela,
You need to put it in .htaccess file after the following line
RewriteEngine On
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


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron