[wp-trac] [WordPress Trac] #42932: Automatic Add number prefix to the end of permalink when the name of page starts with a number

WordPress Trac noreply at wordpress.org
Wed Dec 20 06:09:46 UTC 2017


#42932: Automatic Add number prefix to the end of permalink when the name of page
starts with a number
-------------------------------+----------------------
 Reporter:  merckdelmoro       |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.9.1
 Severity:  normal             |  Resolution:  invalid
 Keywords:                     |     Focuses:
-------------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Posts, Post Types
 * milestone:  Awaiting Review =>


Comment:

 Hi @merckdelmoro,

 This is the intended behaviour. The URL `.../new-cars/308/` would refer to
 page 308 of `new-cars`, not to a sub-page.
 I believe the ticket for that behaviour may be #5305.

 For now, we won't be changing this behaviour. You may want to work around
 it by customising the page slug to something else non-numeric.

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


More information about the wp-trac mailing list