[wp-trac] [WordPress Trac] #13459: Conflict between post and page slugs/permalinks when permalink setting is set to /%postname%/

WordPress Trac noreply at wordpress.org
Thu Jul 21 16:51:10 UTC 2022


#13459: Conflict between post and page slugs/permalinks when permalink setting is
set to /%postname%/
--------------------------+-----------------------------
 Reporter:  jamescollins  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Permalinks    |     Version:  2.9.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by fidoboy):

 Why not use a base slug for unattached media items? Something like this:
 www.domain.com/media-item/the-filename-here/

 As far as I know, the biggest issue with this thing is specially on sites
 with thousands of media items and pages, it's very difficult or almost
 impossible to detect conflicts. Or may be that someone could develop a
 plugin to scan all library and pages to detect duplicates and alert.

 The big problem with this is that is causing random 404 errors and the
 most of times it's very difficult to detect or to know that it's due to a
 duplicated permalink into the website structure. Most of times it's
 causing racing conditions and that's why sometimes a link work as expected
 and other times it didn't.

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


More information about the wp-trac mailing list