[wp-trac] [WordPress Trac] #9191: Permalink custom structure 404
issue
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 20 18:33:41 GMT 2009
#9191: Permalink custom structure 404 issue
--------------------------+-------------------------------------------------
Reporter: bankrate | Owner: ryan
Type: defect (bug) | Status: new
Priority: high | Milestone:
Component: Permalinks | Version: 2.6.1
Severity: normal | Keywords: 404, not found, post_id, 4 digit, postname
--------------------------+-------------------------------------------------
I have run into a weird issue where 4 digit post_id's for the following
custom structure is causing a 404 Not Found.
Custom structure setting:
/%post_id%/%postname%/
Example broken URL: (4 digit post_id)
http://www.bankaholic.com/1005/more-high-yield-checking-accounts/
Example working URL: (3 digit post_id)
http://www.bankaholic.com/988/americanet-checking-account-is-very-
rewarding/
I have tried tweaking the core to see if I could find a fix but was unable
to do so. I was also unable to find similar issues by searching the docs,
trac, and google.
One interesting think to note is that if you call the page with only the
post_id without the postname slug it does work.
http://www.bankaholic.com/1005/
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9191>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list