No Code Attached Yet
avatar gochitashvili
gochitashvili
4 Oct 2022

Steps to reproduce the issue

Available Category: news
Available Tags: politics, business, other

Available Menu items:

  • News (menu type: category blog, category name: news, menu alias: news)
  • Politics (menu type: category blog, category name: news, tag: politics, alias: politics)
  • Business(menu type: category blog, category name: news, tag: business, alias: business)

Expected result

Click any article inside News menu should go to LINK: example.com/news/some-news
Click any article inside Business menu should go to LINK: example.com/business/some-news
Click any article inside Politics menu should go to LINK: example.com/politics/some-news

Menu items ordering: News, Business, Politics

Actual result

Click any article inside News menu is going to LINK: example.com/politics/some-news
Click any article inside Business menu is going to LINK: example.com/politics/some-news
Click any article inside Politics menu is going to LINK: example.com/politics/some-news

if I change Menu items ordering: Business, Politics, News

Now all is going to /news links..

System information (as much as possible)

PHP Version | 8.0.22
Joomla! 4.2.1 Stable
Apache Web server

Additional comments

avatar gochitashvili gochitashvili - open - 4 Oct 2022
avatar joomla-cms-bot joomla-cms-bot - change - 4 Oct 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Oct 2022
avatar richard67
richard67 - comment - 5 Oct 2022

That's how the router works in Joomlaas far as I know. Tags will not be a folder in the URL like categories are. So if I'm right, this issue should be closed as expected behavior. Maybe @Hackwar can explain it better and more detailed.

avatar Hackwar Hackwar - change - 5 Oct 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-10-05 12:52:15
Closed_By Hackwar
avatar Hackwar Hackwar - close - 5 Oct 2022
avatar Hackwar
Hackwar - comment - 5 Oct 2022

Indeed, this is expected behavior and rather a "false" setup from your side. If you want this to be distinguished, use subcategories. But tags aren't part of the URLs of a content item.

avatar richard67
richard67 - comment - 5 Oct 2022

@Hackwar Thanks for clarifying.

Add a Comment

Login with GitHub to post a comment