Note: the following is about software translation!
Hypothesis:
There is one category: OS
There are two tag: Windows,Linux
Please note the menu order!
New Menu Item:
Alias: windows
Menu Item Type: Articles » Category Blog
Choose a Category: OS
Tags: Windows
New Menu Item:
Alias: linux
Menu Item Type: Articles » Category Blog
Choose a Category: OS
Tags: Linux
New Menu Item:
Alias: os
Menu Item Type: Articles » Category List
Choose a Category: OS
http://domain/index.php/windows/articleid-1.html
http://domain/index.php/linux/articleid-2.html
--- or ---
http://domain/index.php/os/articleid-1.html
http://domain/index.php/os/articleid-2.html
http://domain/index.php/windows/articleid-1.html
http://domain/index.php/windows/articleid-2.html
Joomla 3.7.0 +
As mentioned above, the routing is confusing and does not meet the expected results.
Labels |
Added:
?
|
Title |
|
Category | ⇒ | com_menus Router / SEF |
Status | New | ⇒ | Expected Behaviour |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-10 12:38:51 |
Closed_By | ⇒ | franz-wohlkoenig |
Status | Expected Behaviour | ⇒ | Closed |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/17052
closed as expected Behaviour. It can always reopened for further Discussion.
@mahagr Even if all three are (Category, Blog), then the path of the article is all (windows/articleid-1.html);
Whether I can be so understanding, namely the first menu must be no label the menu list; if not, then the logic is wrong, because I cannot make use of (Linux) (Windows) of the menu path.
It is a routing issue. When you have multiple menu items configured to show the same content (in this case, your OS category using the category blog view), when links are generated the system uses the first menu item that matches the configuration. So in your case, Joomla generates all of the URLs as /os/1-article.html
but you can manually input /windows/1-article.html
and /linux/1-article.html
to get to the same content since you have menu items configured with each of those paths.
It's expected behavior (even if it's not really clear or friendly). The actual menu item is for the category blog, and you've created 3 menu items for the same category. The tags selection is designed to create an additional filter for that view, but on its own doesn't affect routing.