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.
site.com/old-category/1-article
auto redirect to:
site.com/new-category/1-article
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
Joomla 5.3
multilingual website with 2 languages
Labels |
Added:
No Code Attached Yet
|
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.
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.