[wp-trac] [WordPress Trac] #65042: Alter Attachment page slug behaviour
WordPress Trac
noreply at wordpress.org
Thu Apr 9 04:53:08 UTC 2026
#65042: Alter Attachment page slug behaviour
-------------------------------+------------------------------
Reporter: namith.jawahar | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: trivial | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Changes (by rakeshfalke):
* severity: minor => trivial
Comment:
Replying to [ticket:65042 namith.jawahar]:
Changing slug generation (random suffixes) would likely hurt SEO more than
it helps:
Breaks clean, readable URLs and can impact image/content sitemap structure
Reduces keyword relevance in image filenames
Can make debugging, CDN usage, and asset tracking harder
I think this can be handled during site building:
If a page is important → reserve that slug
Use slightly adjusted image names (e.g., planet-x-image.jpg)
I think best addressed through content planning and Information
Architecture (IA), rather than modifying slug generation logic.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65042#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list