WordPress.org

Make WordPress Core

Opened 2 weeks ago

Last modified 2 weeks 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: trunk
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 (1)

#1 @1naveengiri
2 weeks ago

  • Focuses ui removed
Note: See TracTickets for help on using tickets.