#207 Posted in ‘Route 66’

Latest post by Lefteris Kavadas on Tuesday, 03 July 2018 13:01 EEST

Takacs Gyorgy
I have a routing problem on my multi-language website: http://alkony.enerla.net/
If I switch on any kind of redirect pattern, an error occurs when I try to switch between translated articles. Translated menus work fine, it's just the individual articles that get messed up.
I use the built-in language switcher for Joomla.
I use the {categoryPath}/{articleAlias} redirect pattern for all language.

For example, this is the Hungarian article:
http://alkony.enerla.net/hu/alkony-hun/az-alkony-vilaga

IF I switch to the English one, it gives me:
http://alkony.enerla.net/hu/basic/the-world-of-alkony (showing 404)
instead of
http://alkony.enerla.net/basic/the-world-of-alkony
that appears if I change the /hu/ to /en/

This is the English article:
http://alkony.enerla.net/basic/the-world-of-alkony

If I switch to Hungarian, it gives me:
http://alkony.enerla.net/alap/az-alkony-vilaga/hu/ (showing 404)

(The English article is actually redirected to http://alkony.enerla.net/nexus-projects/alkony-eng/the-world-of-alkony because it's there in the menu structure, but I use the {categoryPath}/{articleAlias} pattern , and I suppose that is the basis of the routing )

I don't know how to check where the routing problem occurs, it might not be caused by Route 66, but another software I've installed, but I got stuck, and I'd like some help, because I'd really like to use the features of Route 66, because it creates a way better url structure than the original Joomla one.

Lefteris Kavadas
Hi,

Are you using the core Language Switcher module? Because the link to switch the language looks wrong.

Since you are viewing http://alkony.enerla.net/hu/alkony-hun/az-alkony-vilaga the link to the English language should contain the en prefix. Here are some things you can try:

1. Ensure that you are not using any third-party extensions for the multi-language functionality.
2. Ensure that the core multi-language is set up correctly. You can use the administrator multilingual status module to ensure everything is fine. More info at https://docs.joomla.org/J3.x:Setup_a_Multilingual_Site
3. Ensure that you are using the latest versions of Joomla and Route 66.
4. Try to disable some third-party plugins that may affect this (hint: look for plugins that have to do with redirects or multi-language functionality).

If you try all the above and this is still not working, please create a new private ticket including administrator access so I can have a look.

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review