[wp-trac] [WordPress Trac] #32795: Duplicate permalinks when using /%postname%/

WordPress Trac noreply at wordpress.org
Fri Jun 26 14:27:07 UTC 2015


#32795: Duplicate permalinks when using /%postname%/
------------------------------------------+-----------------------------
 Reporter:  j.conti                       |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Permalinks                    |     Version:  4.1
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by MattyRob):

 Replying to [comment:3 boonebgorges]:
 >
 > Well, it seemed to be the consensus in #18962 that there's no reason for
 WP to place undue restrictions on duplicate slugs for different kinds of
 content. The problem in this ticket is specific to permalink clashes, but
 other post types (like attachments) can never have permalinks like
 `example.com/foo/`, so they're not forbidden from having duplicate slugs.
 If you would like to enforce a stricter sense of uniqueness on your sites,
 there's a filter for that :)

 Understand that fully - still don't agree with it :)

 The scalability of WordPress is going to run the risk of future edge cases
 where we realise that duplicate slug names are not a good idea. Avoid this
 forever and ASAP by ensuring that future content is not allowed a
 duplicate slug name would be way to achieve this.

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


More information about the wp-trac mailing list