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.