[wp-trac] [WordPress Trac] #48365: No 301 redirection for Numeric style permalink structure

WordPress Trac noreply at wordpress.org
Fri Oct 18 02:43:11 UTC 2019


#48365: No 301 redirection for Numeric style permalink structure
--------------------------+-----------------------------
 Reporter:  1naveengiri   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  ui            |
--------------------------+-----------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48365>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list