[wp-trac] [WordPress Trac] #28781: redirect issue with post_id/postname or postname/post_id permalink structure

WordPress Trac noreply at wordpress.org
Mon Jul 7 19:50:02 UTC 2014


#28781: redirect issue with post_id/postname or postname/post_id permalink
structure
--------------------------+-----------------------------
 Reporter:  calvin_ngan   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.9.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Using www.example.com/%post_id%/%postname%/ as permalink structure, mMost
 canonical redirects work fine, except:

 www.example.com/post_id/ brings you to the post but does not redirect to
 the canonical www.example.com/post_id/postname/

 For example
 http://www.geckoandfly.com/16402/smarter-effective-to-do-list-things/
 http://www.geckoandfly.com/16402/


 http://blog.miragestudio7.com/10-breathtaking-infinity-swimming-pools-
 around-world/5635/
 http://blog.miragestudio7.com/10-breathtaking-infinity-swimming-pools-
 around-world/

 and it is not an isolated issue, every wordpress installation with the
 same permalink configuration has the same problem.

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


More information about the wp-trac mailing list