When a menu item is scheduled to be unpublished it could then produce 404 errors.
Allow scheduling of 301 redirects so that when a menu item is unpublished the page(s) on that item are redirected elsewhere instead of to the error page.
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
?
|
In addition you can use the redirect manager (admittedly without the scheduling) to issue a 301
This should be closed for the reasons stated by @joomdonation
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-02-28 07:22:57 |
Closed_By | ⇒ | joomdonation |
Closing for the reasons explained above.
Technical, Joomla is a menu base routing system. It relies on published menu items to find the matching component, execute it and returns the response. Supporting this will require loading unpublished menu items into memory for each request and change how Joomla core routing system works, so it will:
From what I see, if this is needed, this should be the job of a third party plugin or the error page of your template. It could catch the 404 error, find the matching unpublished menu item and perform the redirection. It is not something I see that could/should be implemented in Joomla! core.