Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#48365 new defect (bug)

No 301 redirection for Numeric style permalink structure

Reported by: 1naveengiri Owned by:
Priority: normal Milestone: Awaiting Review
Component: Permalinks Version:
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description


Hi :)

If permalink structure is Post name style and I changed it to Numeric.

the post get a 301 redirect from
​http://newwp.local/hello-world/ to ​http://newwp.local/archives/1

but not so happen with permalink structure Numeric.

when the current permalink structure is Numeric and I changed it to Post name or anything else.
ideally, the post should get 301 redirection from
​http://newwp.local/archives/1 to ​http://newwp.local/hello-world/ but this is not happening.

post giving 404 error instead of 301 redirecting to the correct URL format. when I try to access the post with ​http://newwp.local/archives/1

Thanks
Naveen Giri

Change History (2)

#1 @1naveengiri
7 years ago

  • Focuses ui removed

#2 @SergeyBiryukov
7 years ago

  • Version trunk

Related: #12456, #44847.

Note: See TracTickets for help on using tickets.