I've encountered a problem and I can't seem to solve it.
My articles are tied to subcategories.
In one menu item, I display a list of all articles. Let's call it [all-articles]. This is Blog layout.
In another menu item, I first display a list of subcategories. Let's call this [all-categories]. This is Categories layout.
Then, when I open any subcategory, a list of articles appears. When I open any article, its path in the breadcrumbs and in the URL looks like this: sitename.com/all-articles/subcategory-name/article-name.
But I want it to be displayed like this: sitename.com/all-categories/subcategory-name/article-name.
It turns out that the main menu item for the article has become the menu with all the articles. But I want it to be with all the categories. How can I implement this?
If I enter both of these URLs for the article, it will open with both. That is, both URLs work for the article, but I want the main URL to be the one with all-categories.