multilingual site 404: error on homepage of 1 language

General questions regarding the use of languages in Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
easytherm
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri May 06, 2011 4:18 pm
Location: Switzerland

multilingual site 404: error on homepage of 1 language

Post by easytherm » Sun Jul 21, 2019 8:06 am

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

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30934
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

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

Post by Per Yngve Berg » Sun Jul 21, 2019 8:28 am

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

easytherm
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri May 06, 2011 4:18 pm
Location: Switzerland

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

Post by easytherm » Sun Jul 21, 2019 10:34 am

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

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30934
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

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

Post by Per Yngve Berg » Sun Jul 21, 2019 1:25 pm

What is the alias of the German Menu Item (Itemid=185)?

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

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Post by infograf768 » Sun Jul 21, 2019 5:13 pm

Home pages don't need to be associated. They are associated by default.
What are the menu items kind for your Home pages?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

easytherm
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri May 06, 2011 4:18 pm
Location: Switzerland

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

Post by easytherm » Sun Jul 21, 2019 7:28 pm

My home pages are of single article type

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Post by infograf768 » Mon Jul 22, 2019 6:57 am

@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.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

easytherm
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri May 06, 2011 4:18 pm
Location: Switzerland

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

Post by easytherm » Mon Jul 22, 2019 7:06 am

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

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30934
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

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

Post by Per Yngve Berg » Mon Jul 22, 2019 7:14 am

Create a login module for each language.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Post by infograf768 » Mon Jul 22, 2019 9:50 am

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.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

easytherm
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Fri May 06, 2011 4:18 pm
Location: Switzerland

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

Post by easytherm » Mon Jul 22, 2019 11:11 am

thank you all for your great help!


Locked

Return to “Language - Joomla! 3.x”