WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 7 days ago

#48365 new defect (bug)

No 301 redirection for Numeric style permalink structure

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

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 weeks ago

  • Focuses ui removed

#2 @SergeyBiryukov
7 days ago

  • Version trunk deleted

Related: #12456, #44847.

Note: See TracTickets for help on using tickets.