Issue Bug Closed

#103798Falsely created redirects when updating slug of expired page

Sebastian Swan 05/07/24, 07:44 updated 07/09/24, 15:35

Description

Summary

When updating the slug of an expired page (endtime in the past) a redirect for “/” is created.

redirects.png

Steps to reproduce

  • Create a new page and set the “Expiration Date” (endtime) to something in the past.
  • Save the page
  • Update the Slug of the page and save
  • This leads to two redirects being created:
  • Valid: Redirect for the old slug
  • Invalid: Redirect for “/”

Use Case

In our use case we have several expired “Event” pages, that are copied and used to create new pages. When one of those copies gets activated, the falsely created redirect kicks in and the homepage redirects to the copied event page.

Reviews 2