Make WordPress Core

Opened 18 months ago

Last modified 18 months ago

#56423 new defect (bug)

Changing Title changes URL

Reported by: rbm7777's profile RBM7777 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version:
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

Having the URL change whenever the a page or post Title changes is a major hazard. You can say "works as designed"; but this is not a good design - people can edit a Title and get an unexpected URL change, breaking links and requiring re-direction of the accidental URL. At a minimum, upon hitting the Update button, user should be warned that URL is about to change - and required to approve this before page is re-published.

Change History (1)

#1 in reply to: ↑ description @SergeyBiryukov
18 months ago

  • Keywords reporter-feedback added; changes-requested removed

Hi there, welcome to WordPress Trac! Thanks for the ticket.

Replying to RBM7777:

Having the URL change whenever the a page or post Title changes is a major hazard.You can say "works as designed"; but this is not a good design - people can edit a Title and get an unexpected URL change, breaking links and requiring re-direction of the accidental URL.

In my testing, the slug only changes on title edit for drafts, not for published posts. Changing it for published posts was previously discussed in #35352 but decided against and never implemented, exactly to avoid breaking existing links.

Does the issue still happen with all plugins disabled and a default theme (Twenty Twenty-Two) activated? Could you provide the steps to reproduce it on a clean install?

Note: See TracTickets for help on using tickets.