[wp-trac] [WordPress Trac] #14036: Post 404 errors due to a base post's name matching the Permalink option "category base"

WordPress Trac noreply at wordpress.org
Mon Feb 3 21:47:52 UTC 2014


#14036: Post 404 errors due to a base post's name matching the Permalink option
"category base"
--------------------------+-------------------------
 Reporter:  sniper231     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Permalinks    |     Version:  3.0
 Severity:  normal        |  Resolution:  worksforme
 Keywords:  has-patch     |     Focuses:
--------------------------+-------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch dev-feedback => has-patch


Comment:

 Could not reproduce neither in 3.0 (when the ticket was created) nor in
 current trunk.

 My steps:
 1. Set permalink structure to `/%postname%/`.
 2. Changed category base to `general`.
 3. Created a post named "General".
 4. Successfully opened the post on the front-end.
 5. Repeated steps 3 and 4 with a page instead of a post.

 I can only reproduce the 404 error if there's a deleted page with the same
 name as the post. See #21970 for that.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14036#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list