WordPress.org

Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#45784 new defect (bug)

Pages and archives containing /[0-9]/ should redirect or redirect correctly

Reported by: superpoincare Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.2
Component: Permalinks Keywords:
Focuses: Cc:
PR Number:

Description

With default settings,

https://www.example.com/0 should redirect to https://www.example.com/ but doesn't and instead redirects to https://www.example.com/0/

https://www.example.com/page/0 should redirect to https://www.example.com/ but doesn't and instead redirects to https://www.example.com/page/0/

https://www.example.com/2018/1/25/post-name/ should redirect to https://www.example.com/2018/01/25/post-name but doesn't.

So basically there is some issue about redirection with pages containing /[0-9]/

Change History (1)

Note: See TracTickets for help on using tickets.