[wp-trac] [WordPress Trac] #44847: Redirect old date-based permalinks on structure changes

WordPress Trac noreply at wordpress.org
Mon Aug 27 13:43:48 UTC 2018


#44847: Redirect old date-based permalinks on structure changes
----------------------------+------------------------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Permalinks      |    Version:
 Severity:  normal          |   Keywords:  needs-patch needs-unit-tests
  Focuses:                  |
----------------------------+------------------------------------------
 If someone switches from `/%year%/%monthnum%/%day%/%postname%/` to
 `/%postname%/`:

 * `/%year%/%postname%/` redirects to the correct URL.
 * `/%year%/%monthnum%/%postname%/` shows a 404 error.
 * `/%year%/%monthnum%/%day%/%postname%/` shows a 404 error.

 All of these URLs should redirect to the correct one.

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


More information about the wp-trac mailing list