Opened 7 years ago
Last modified 7 years ago
#47207 new defect (bug)
Specific custom permalink 404 on archive page
| Reported by: | briandd | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Permalinks | Version: | 5.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
If we set a custom permalink of
/%year%/%monthnum%/%day%/%postname%/
archive pages will be
/2019/05/
If we want european/asian/african/southamerican D/M/Y date format
/%monthnum%/%year%/%postname%/
archive pages will be
/2019/05/
US format but doesn't matter, at least it works
but with this permalink:
/%day%/%monthnum%/%year%/%postname%/
archive pages (at least on archive widget) will be
/05/2019/
Which looks good
But returns 404 with default wp and theme and WP 5.1.1 or 5.2
tried to go to /2019/05/ but 404 too
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I have tried with 4.1 and the bug was already there
If we put %day% before %monthnum% and %year% it will always break
this is broken too:
/%monthnum%/%day%/%year%/%postname%/
But weird permalinks like
/%postname%/%day%/
/%postname%/%day%/%monthnum%/
/%postname%/%day%/%year%/
/%day%/%monthnum%/%postname%/
/%day%/%year%/%postname%/
/%day%/%monthnum%/%monthnum%/%postname%/
will give working archives
even /%day%/%year%/%monthnum%/%postname%/
Who's against D/M/Y and M/D/Y raise hands