No Code Attached Yet
avatar StefanSTS
StefanSTS
24 Apr 2024

Steps to reproduce the issue

First test

  • Add category blog and sub category sub-blog.
  • Add articles in each category e.g. with alias blog-article-01, sub-blog-article-01
  • Add menu item for category blog blog. Set to default page to make it the home page.

Second test

  • Add menu item for the sub category below category blog.

Expected result

Both tests

  • URLs for Home
    example.com/
  • URL for blog article blog-article-01
    example.com/blog-article-01
  • URL for sub blog article sub-blog-article-01
    example.com/sub-blog/sub-blog-article-01

Actual result

First Test as expected
example.com/
example.com/blog-article-01
example.com/sub-blog/sub-blog-article-01

Second Test
example.com/
example.com/blog-article-01
example.com/blog/sub-blog/sub-blog-article-01

Additional comments

example.com/sub-blog/sub-blog-article-01
vs.
example.com/blog/sub-blog/sub-blog-article-01

This happens if you add a menu item for the sub category.
The links should be the same in both tests.

Two URLs - same page
example.com/ and
example.com/blog
show the same content. The alias blog should never appear anywhere.

avatar StefanSTS StefanSTS - open - 24 Apr 2024
avatar StefanSTS StefanSTS - change - 24 Apr 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 24 Apr 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Apr 2024
avatar Hackwar Hackwar - change - 26 Apr 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-04-26 18:14:05
Closed_By Hackwar
avatar Hackwar Hackwar - close - 26 Apr 2024
avatar Hackwar
Hackwar - comment - 26 Apr 2024

I'm sorry, but this is expected behavior and has been like this since Joomla 1.5. You are creating a sublevel of the home menu item and we are only removing the alias for the actual home menu item, not for any other menu items. This is not a bug.

Add a Comment

Login with GitHub to post a comment