[wp-trac] [WordPress Trac] #14238: WordPress prevents pages with numeric slugs
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 8 16:03:22 UTC 2010
#14238: WordPress prevents pages with numeric slugs
--------------------------+-------------------------------------------------
Reporter: vividvisions | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.0
Severity: major | Keywords: slug, unique, numeric, page, pages
--------------------------+-------------------------------------------------
Comment(by vividvisions):
Replying to [comment:1 scribu]:
> > the function should check, if the permalink of the page is at odds
with the configured permalink structure
>
> Doing that reliably is easier said than done, considering the permalink
could be any combination of post ids, pagination numbers, years, months
and days.
True, but to shut numeric page slugs out isn't a solution either. This
change broke our site because we have a lot of pages with numeric slugs
representing postal codes. These pages are also grandchildren, so there's
no way they interfere with our /%year%/%monthnum%/%day%/%postname%/
permalink structure.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14238#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list