Page 1 of 1

multilingual site 404: error on homepage of 1 language

Posted: Sun Jul 21, 2019 8:06 am
by easytherm
Hello,

I get a 404 error on the homepage of a particular language (de) in a multilingula site.

I followed the instructions found in https://docs.joomla.org/J3.x:Setup_a_Mu ... t_Language
Same pages in different languages are associated

I see no error in the multilingual status administrator module...

the homepage are (and working):
.../index.php/fr/
.../index.php/en/
in german, .../index.php/de/ generates a 404 error
but .../index.php/de/10-deutsch/227-home-de is working (which is a temporary solution for me)


other german pages do work with language prefix only, for example

.../index.php/fr/french-article-1
.../index.php/en/english-article-1
.../index.php/de/german-article-1 is working

Where can I search?

best regards

Jacques

Re: multilingual site 404: error on homepage of 1 language

Posted: Sun Jul 21, 2019 8:28 am
by Per Yngve Berg
Turn off SEF in Global Configuration so you can see what is going on.

Probably the German Home Menu item is faulty.

Have you configured Legacy or Modern Routing in the Options of Article manager?

https://docs.joomla.org/J3.x:New_Routing_System

Re: multilingual site 404: error on homepage of 1 language

Posted: Sun Jul 21, 2019 10:34 am
by easytherm
Hi, thank you for your quick response

I disabled SEF and see the following URL for the hompage (all are running fine)

.../index.php?option=com_content&view=article&id=262:home-fr&catid=8&lang=fr&Itemid=181
.../index.php?option=com_content&view=article&id=228:home-en&catid=2&lang=en&Itemid=186
.../index.php?option=com_content&view=article&id=227:home-de&catid=10&lang=de&Itemid=185

I have configured Legacy Routing (I don't see why only one menu item could be affected by this)

Maybe you can give me an idea what and where to check further

regards

Re: multilingual site 404: error on homepage of 1 language

Posted: Sun Jul 21, 2019 1:25 pm
by Per Yngve Berg
What is the alias of the German Menu Item (Itemid=185)?

index.php/de/<alias> should also work.

Re: multilingual site 404: error on homepage of 1 language

Posted: Sun Jul 21, 2019 5:13 pm
by infograf768
Home pages don't need to be associated. They are associated by default.
What are the menu items kind for your Home pages?

Re: multilingual site 404: error on homepage of 1 language

Posted: Sun Jul 21, 2019 7:28 pm
by easytherm
My home pages are of single article type

Re: multilingual site 404: error on homepage of 1 language

Posted: Mon Jul 22, 2019 6:57 am
by infograf768
@easytherm
To help you further, I would need a superuser access to the backend of your site.
You can send me credentials through my Contact.

Re: multilingual site 404: error on homepage of 1 language

Posted: Mon Jul 22, 2019 7:06 am
by easytherm
Hi and thank you very much for your proposition. I just managed to solve my problem 10 minutes ago.

I created a new homepage article for the german language and associated it to the original homepage menu.
The menu system works now with SEF on.

The old article is not yet deleted. If you want to have a look (maybe to check what's wrong), I can give you credential to this test project.

By the way, I learned the hard way an open bug of joomla: I wanted to use the loin module redirection feature (for login and logout). A experienced that the login redirection (in a multilingual system) only redirects to the selected default language and not to the currently selected language. As far as I know, this is still the case in Joomla 3.9.10

regards Jacques

Re: multilingual site 404: error on homepage of 1 language

Posted: Mon Jul 22, 2019 7:14 am
by Per Yngve Berg
Create a login module for each language.

Re: multilingual site 404: error on homepage of 1 language

Posted: Mon Jul 22, 2019 9:50 am
by infograf768
In a multilingual site, user login is normally redirected to the user default site language.
Therefore indeed, as Per says, if you want to specify another redirection than the default, create a login module per language and choose a redirection in the same language.

Re: multilingual site 404: error on homepage of 1 language

Posted: Mon Jul 22, 2019 11:11 am
by easytherm
thank you all for your great help!