#1120 Posted in ‘Route 66’

Latest post by Lefteris Kavadas on Wednesday, 22 November 2023 13:39 EET

Henrietta Lorko
Hello, we have the following problem: We have the same menus for different languages, e.g. www.domain.com/de/partner.html, www.domain.com/en/partner.html, www.domain.com/it/partner .html. For Joomla it is no problem to use the same URL if the links are in different languages. Installing Route66 causes a 404 error. Is this due to a special setting? What can I do?
We didn't have this problem in Joomla 3. We've only had the errors since Joomla 4
Regards Robert

Lefteris Kavadas
Hi Robert,

Are you using any URL patterns in Route 66? If yes, then try to update them, since when multi-language is enabled Route 66 will ask you for a URL pattern for each active language.

Regards

Henrietta Lorko
I don't use URL patterns. I haven't made any settings here.

Lefteris Kavadas
Hi Robert,

Which version of Route 66 are you using?

Henrietta Lorko
Hi Lefteris,
Of course I had to install the latest version (1.9.10.) for the migration to J4.
Can you please help us faster? We urgently need a solution.

Lefteris Kavadas
Hi Robert,

No, unfortunately I cannot help you faster.
I just made some tests and everything works fine for me. I setup a multi-language site in latest Joomla 4 using Route 66 1.9.10.
I installed the Multilingual Sample Data that Joomla provides. I edited both those articles and I entered a common alias for both. I used "partner".
I have set Route 66 URL pattern for articles to {articleAlias} for both languages. Everything worked fine.

Finally, I removed URL patterns to match your case and it still works fine for me.

So a few questions. Have you set your site properly for multiple languages? You can always use "Multilingual Status" administrator module to see if everything is correct.
Is there a chance you have any custom rules in your web server configuration?

Regards

Henrietta Lorko
Hi Lefteris,
The problem appears in the menu - not in the blog articles. So it's not about article aliases, but about menu aliases: We have 5 menus for 5 languages. If the menu item has the same name and therefore the same alias, we get a 404 error:
www.domain.com/de/partner.html (works)
www.domain.com/en/partner.html (404)
www.domain.com/it/partner.html (404)

If i disable Route66 the pages can be displayed without errors

Lefteris Kavadas
Just tested again with menus. Still, everything works fine for me with Route 66 installed.
I am not able to reproduce the issue. I created two menu items pointing to two different articles. I used the same alias for both menu items.
I have selected for each menu item and for each article the corresponding language. I also have set the associations.
Everything works fine. Do you have any menu related options enabled under Route 66 options?

Henrietta Lorko
No, I haven't activated anything for the menus. I only find this setting: "Add suffix to menu links". And that's set to "no". Wouldn't it be easier if you took a look at our website? Can I send you a login?

Lefteris Kavadas
Hi Robert,

Yes, you can send me login credentials in a private ticket.

Lefteris Kavadas
Hi Robert,

You are right, there was an issue in Route 66. The issue has been fixed. The update will come out in a few days.
Thank you for reporting this.

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