[wp-trac] [WordPress Trac] #18962: Allow duplicate slugs for different content

WordPress Trac noreply at wordpress.org
Fri Jun 26 12:07:46 UTC 2015


#18962: Allow duplicate slugs for different content
--------------------------------------+-----------------------------
 Reporter:  maorb                     |       Owner:  wonderboymusic
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.1
Component:  Permalinks                |     Version:  2.9
 Severity:  major                     |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by j.conti):

 Hi,

 More problems with this...

 Fist, you need the permanlinks set to /%postname%/.

 Then, you can add a new page with the title Slug Test, the permanlink will
 be  `slug-test` (added by WordPress) after that, add a new post with the
 Title `Slug Test`, and WordPress will add the same permanlink `slug-test`

 Both permanlinks are created by WordPress, but only one works because only
 one `slug-test` can exist. `http://example.com/slug-test/`

 This is a very big problem...

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


More information about the wp-trac mailing list