URL should be "nice", probably something like
http://jcm.cloudaccess.host/router-issue (alias of the article)
http://jcm.cloudaccess.host/?view=article&id=4:router-issue&catid=2
All other urls do work normally (when a menu points to the Category or to the Single Article).
Joomla version: already observed on Joomla 3.8.8 (but it also occurs on 3.8.9 or 3.8.10 so this is not an issue caused by the two releases of yesterday)
I experienced this first on a hosting of the type "joomla.com" and first throught it was an issue related to some server configuration. But then I could reproduce it on other websites hosted elsewhere.
Also I had a chat about this with Rowan and she faces the same issue. So obviously it is quite general and not linked to my own typical configuration of Joomla sites.
Title |
|
Status | Expected Behaviour | ⇒ | Closed |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Status | New | ⇒ | Expected Behaviour |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-06-27 12:54:07 |
Closed_By | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/20892
Closed as expected Behaviour.
Txs for the quick reaction.
Yes indeed, creating a menu item (Single Article or Category Blog/List | displayed or not) was the way I would "solve the issue".
But I am even happier now that I know that it was not even an "issue" but expected behaviour ;)
BTW, txs to all the people involved in all the work done on the two releases of yesterday. #jpositive #ILikePeopleWhoTestBefore #IHatePeopleWhoCriticizeAfter
It's one of the behavior quirks that doesn't exist in the new router compared to the older implementation (where the older one would try a lot harder to create "friendly" URLs even in cases where it made no sense). So if you add to your checklist something about ensuring there is at least one category menu item (hidden or not) for each category branch then you'll be OK (and like I noted, this is best done with a categories menu item for the root of your category tree that way you always have one and you don't have to think about it later if you add a new branch to your category tree and its content has "ugly" URLs).
It's expected behavior. If there isn't a menu item for either the article or any of its parent categories, then it is impossible to create a "nice" URL. Note that the archived and featured menu items can't be used as a "parent" in this case, those two views represent a status on content items and don't exist as part of the content hierarchy (categories/menus).
The best way to deal with this is a hidden menu item for a categories view at the root of your category tree.