Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#6997 closed defect (bug) (duplicate)

Cannot use year (ie, 2008) in page slug

Reported by: chrismou's profile chrismou Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5.1
Component: General Keywords: needs-patch
Focuses: Cc:


WordPress doesn't seem to like the idea of me using "2008" or "2007" as a page slug.

The situation is that I'm writing a page a year dedicated to a festival I go to. The front page is located at, and sections for each year would be located at and respectively.

BUT, when I try and view either of these pages, it shows me the page located at - ie, the parent page.

Bizarrely, when I entered (just to test), it redirected me to a post I wrote in 2007.

I assume that this is not intended behaviour? I can see the logic in trying to extract a date from the URL and find the closest matching post, but surely this should be overridden if Ive created a page where the slug matches exactly whats in the address bar?

Change History (3)

#1 @DD32
16 years ago

  • Keywords needs-patch added

#2 @Otto42
16 years ago

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

#3 @thee17
16 years ago

  • Milestone 2.6 deleted
Note: See TracTickets for help on using tickets.