Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#2034 closed defect (bug) (fixed)

Sibling pages with identical slugs

Reported by: skeltoac's profile skeltoac Owned by: ryan's profile ryan
Milestone: Priority: high
Severity: major Version: 2.0
Component: Administration Keywords: bg|has-patch bg|commit
Focuses: Cc:

Description

Create two pages with the same parent and the same slug. Now there is no way for rewrite to differentiate the page URLs because they are identical. This is not a problem for pages with different parents.

The attached diff forces unique slugs for all pages with the same parent. If an existing page is moved to a parent which already has a page with the same slug, the moved page gets a new slug. Pages with different parents are not compared.

Attachments (1)

pageslug.diff (1.6 KB) - added by skeltoac 20 years ago.

Download all attachments as: .zip

Change History (3)

@skeltoac
20 years ago

#1 @ryan
20 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#2 @(none)
19 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.