Multiple language Selector in URL

Popular automatic website translation tool

Multiple language Selector in URL

Postby Riel » Mon Dec 10, 2012 6:57 am

Hi,

I've tried looking for the solution for my problem in the forum but I can't find it.

I saw a lot of these URL request in my server:

GET /ja/en/article/284-my-title-article
GET /de/ja/article/284-my-title-article
GET /de/es/article/284-my-title-article
GET /ja/zh-CN/article/284-my-title-article
GET /en/de/biografi/article/284-my-title-article
....

As you can see, there is a double languange selector in each of the URL. I'm afraid these bad URL have been put my website down a couple times in the last few days.

Can you please help me to fix these bad URL so human or search robot didn't have a chance to open that kind of URL. Maybe via htaccess?

My system info:
- Joomla 1.5.26
- Apache with PHP 5.3.18
- Joomla cache plugin disable, JotCache enable (15 min)
- Mighty Resources 1.5.9 Build 8087. The content of my website is built with this CCK component.
- Active language: zh-CN, nl, en, de, ja, ko, pt, sv
- I have this setup in my .htaccess:
Code: Select all
RewriteRule ^(af|ar|az|be|bg|bn|ca|cs|cy|da|el|es|et|eu|fa|fi|fr|ga|gl|gu|hi|hr|ht|hu|hy|is|it|iw|ka|kn|lt|lv|mk|ms|mt|no|pl|ro|ru|sk|sl|sq|sr|sw|ta|te|th|tl|tr|uk|ur|vi|yi|zh-TW)/(.*)$ /index.php [R=301,L]


Thank you.
Riel
 
Posts: 4
Joined: Thu May 12, 2011 3:53 pm

Re: Multiple language Selector in URL

Postby Yana » Tue Dec 11, 2012 12:05 am

Hi,
Please check if you installed the language filter and language code plugins try to disable.
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: 4129
Joined: Thu Jan 12, 2012 6:21 pm

Re: Multiple language Selector in URL

Postby rielniro » Tue Dec 11, 2012 8:55 am

Hi,

What is the language filter? As far as I know I've never installed it in my website.

What is language code plugins? Did you mean System - GTranslate plugin?

FYI, I use GTranslate Pro version.

Thank you.
rielniro
 
Posts: 5
Joined: Tue Dec 11, 2012 8:49 am

Re: Multiple language Selector in URL

Postby rielniro » Tue Dec 11, 2012 9:01 am

Hi,

I see another bad URLs today:

/de/en/article/284-my-title-article
/de/nl/article/284-my-title-article
/de/tl/article/284-my-title-article
/en/fr/article/284-my-title-article
/en/ko/article/284-my-title-article
/en/ja/article/284-my-title-article
/en/tl/article/284-my-title-article
/en/zh-CN/article/284-my-title-article
/id/en/article/284-my-title-article
/id/ja/article/284-my-title-article

Thank you.
rielniro
 
Posts: 5
Joined: Tue Dec 11, 2012 8:49 am

Re: Multiple language Selector in URL

Postby Yana » Tue Dec 11, 2012 5:39 pm

Hi,
The language code plugin is not GTranslate. Please check your plugins list. If you installed the GTranslate Pro general version please check the .htaccess rules also.
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: 4129
Joined: Thu Jan 12, 2012 6:21 pm

Re: Multiple language Selector in URL

Postby rielniro » Wed Dec 12, 2012 4:40 am

Hi,

As I mentioned in my first post, I use Joomla 1.5.26. So I didn't have the language code plugin there. I use GTranslate Pro for Joomla.

As I mentioned in my first post, I use only this .htaccess rules for GTranslate right after RewriteEngine On.
Code: Select all
RewriteRule ^(af|ar|az|be|bg|bn|ca|cs|cy|da|el|es|et|eu|fa|fi|fr|ga|gl|gu|hi|hr|ht|hu|hy|is|it|iw|ka|kn|lt|lv|mk|ms|mt|no|pl|ro|ru|sk|sl|sq|sr|sw|ta|te|th|tl|tr|uk|ur|vi|yi|zh-TW)/(.*)$ /index.php [R=301,L]


I put System - GTranslate plugin below System - SEF plugin. Here is the position:
System - SEF
System - Tag Meta
System - GTranslate
Abivia.net Redaction Utility
System - jFinalizer
JotCache

Please let me know if you have a real solution here so we don't have to waste our time repeating the same question and answer again and again. I've read and tried all troubleshooting tips in the forum and I didn't see any solution for my specific problem.

Thank you.
rielniro
 
Posts: 5
Joined: Tue Dec 11, 2012 8:49 am

Re: Multiple language Selector in URL

Postby Yana » Fri Dec 14, 2012 1:17 am

Hi, Can you please send me your website address, so I can check and assist you?
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: 4129
Joined: Thu Jan 12, 2012 6:21 pm

Re: Multiple language Selector in URL

Postby rielniro » Tue Dec 18, 2012 4:23 am

Hi,

I've sent you my website URL via PM a few days ago. Any solution?

Thank you.
rielniro
 
Posts: 5
Joined: Tue Dec 11, 2012 8:49 am

Re: Multiple language Selector in URL

Postby Yana » Thu Dec 20, 2012 12:44 am

Hi,
Can you please enable gtranslate plugin?
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: 4129
Joined: Thu Jan 12, 2012 6:21 pm

Re: Multiple language Selector in URL

Postby rielniro » Sat Dec 22, 2012 4:09 pm

Hi,

Any news here? You keep asking something that already exist. GTranslate plugin always enable in my website. Please let me know if you didn't have a solution so I can move on.

Thank you.
rielniro
 
Posts: 5
Joined: Tue Dec 11, 2012 8:49 am

Re: Multiple language Selector in URL

Postby Edvard » Sat Dec 22, 2012 4:27 pm

Hi,

I have checked your website in Swedish language and I cannot find any double links. Can you please post a relative link here without your domain name for your privacy and mention where I can find double language code URLs.
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