Opened 3 years ago

Last modified 3 years ago

#11931 new enhancement

Day/Month/Year Permalink Structure Fails in Archives

Reported by: Frenzie Owned by: ryan
Priority: normal Milestone: Future Release
Component: Rewrite Rules Version: 2.8.6
Severity: normal Keywords: needs-patch
Cc:

Description

If you use a permalink structure with %day%/%monthnum%/%year% then the archives automatically become date/%day%/%monthnum%/%year%. Wordpress automatically makes the links to monthly archives date/01/2010 etc (which is good), but if you go to it you get a 404 not found.

Reproduce using for example /%post_id%/%postname%/%day%/%monthnum%/%year%/

I "fixed" it with this plugin I wrote, but it will probably fail when things like /page/2/ come into play (that wasn't really important yet).

Attachments (1)

rewrite-day-month-year.php (1.7 KB) - added by Frenzie 3 years ago.

Download all attachments as: .zip

Change History (2)

  • Keywords needs-patch added; permalink day/month/year removed
  • Milestone changed from Unassigned to Future Release
  • Type changed from defect (bug) to enhancement
Note: See TracTickets for help on using tickets.