Joomla has changed the way it handles alias.
As an example, look at the structure of this site:
in the main menu I have the following items:
As my client wanted the main menu to display the first level only, and the article Black Star to have images pointing to the sub-items, I created a hidden menu with the remaining sub-levels to have the URL displayed correctly:
Previously, when creating an alias menu item to another type of menu item, Joomla would have the alias field filled with a number generated with the date and time the article was created. With SEO turned on, then it replaced this number with the alias of the original menu item.
That means that when I clicked on Collection > Black Star I would get www.site.com/collections/black-star.html
Once I was in the Black Star page, when clicking on the image Gold, I would get www.site.com/collections/black-star/gold.html
Now, that cannot be achieved anymore, because of the "conflict" of having two different menu items on the same level, although one of them is an alias.
I have to hardcode a different alias, e.g. collections-alias, which gives me a totally different URL and affects the site's SEO.
I heard this was changed because people were having problems with URLs with date and time.
This was easily fixed by simply deleting the offending alias and re-saving the menu item. When it was recreated, it would show on the live site the correct URL. Sometimes, it was necessary to change the menu item from alias type to another, clear the alias field, then go back to alias type and all worked well.
This change removed the capability of Joomla to create perfect SEO URLs in different scenarios.
In short, it solved a problem that could be fixed by any developer who did a basic research on the subject and replaced it with another that cannot be fixed at all.
Not directly related to the issue but it does go to the use case.
@helvecio did you know you do not need to create a hidden menu and aliases. You can do it all in the main menu and set the menu item to be hidden (option - display in menu). Much easier and especially makes things like module assignments easy as you only have one menu item and not two.
Thank you @brianteeman
I tried to use this feature in 3.6.5 but it doesn't seem to work as you mention. Actually, I was not sure of its purpose until now.
In 3.6.5, when I choose Link Type > Display Menu > No the menu item is still displayed.
In 3.7RC it works as expected.
Thankfully it is about to be released!
Maybe this could be addressed if there are any plans for fixes in 3.6.x.
I don't think we will release a 3.6.x when we have 3.7.0 released
Close it then, please.
closed as written above.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-21 16:23:45 |
Closed_By | ⇒ | franz-wohlkoenig |
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/15399
I guess it's for 3.7.0-rc3 or staging you tested this, right?
If yes, do you know the PR with the change you mentioned?