No Code Attached Yet
avatar universewrld
universewrld
15 Apr 2025

Steps to reproduce the issue

If you have changed the structure of your website, for example links to categories of your website, then in Joomla 5.3 the redirect to SEF links still does not work if the category does not have an ID, if the category has an ID, then the redirect works as it should.

Expected result

site.com/old-category/1-article
auto redirect to:
site.com/new-category/1-article

Actual result

site.com/old-category/1-article
auto redirect to:
404 error page

Any articles on my website with ID's whose categories now have new aliases are no longer available and show a 404 error

System information (as much as possible)

Joomla 5.3
multilingual website with 2 languages

Image
Image
Image

avatar universewrld universewrld - open - 15 Apr 2025
avatar joomla-cms-bot joomla-cms-bot - change - 15 Apr 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Apr 2025
avatar universewrld universewrld - change - 15 Apr 2025
The description was changed
avatar universewrld universewrld - edited - 15 Apr 2025
avatar AdarshSantoria
AdarshSantoria - comment - 19 Apr 2025

I tested this on Joomla 5.3-dev. This is expected behavior, not a bug. Joomla doesn’t auto-redirect old SEF URLs after changing a category or menu alias. SEF paths rely on the current menu structure, so old URLs return a 404 unless handled by the Redirect plugin.

Also, please update the issue with exact steps to reproduce. The current description is unclear — especially regarding whether the menu alias or category alias was changed, and whether a menu item still existed.

avatar universewrld
universewrld - comment - 19 Apr 2025

I tested this on Joomla 5.3-dev. This is expected behavior, not a bug. Joomla doesn’t auto-redirect old SEF URLs after changing a category or menu alias. SEF paths rely on the current menu structure, so old URLs return a 404 unless handled by the Redirect plugin.

is there a default way in @joomla to redirect if the category alias has changed?

I know that it is possible to do a redirect for each individual page through the default component in Joomla, but what to do if the category alice was changed for 200+ articles.

Also, please update the issue with exact steps to reproduce. The current description is unclear — especially regarding whether the menu alias or category alias was changed, and whether a menu item still existed.

I changed the alias for the category, but some articles were also moved to other categories when the website structure was changed.

avatar universewrld universewrld - change - 20 Apr 2025
The description was changed
avatar universewrld universewrld - edited - 20 Apr 2025

Add a Comment

Login with GitHub to post a comment