Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#48365 new defect (bug)

No 301 redirection for Numeric style permalink structure

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

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
5 years ago

  • Focuses ui removed

#2 @SergeyBiryukov
5 years ago

  • Version trunk deleted

Related: #12456, #44847.

Note: See TracTickets for help on using tickets.