Enables permalink support for media attachments making the URLs more friendly and great for SEO.
As of April 2026, Attachment Slugs for WordPress is a WordPress page slug plugin with 100 active installations and a 5/5 rating from 3 reviews. It has been downloaded 6.4K+ times in total. Requires WordPress 4.4+ and PHP 5.6+. Available on WordPress.org since 2016. Last updated 3 years ago — may have compatibility concerns. Top alternative: Show Page Slug in Admin.
Attachment Slugs for WordPress enables you to add permalink support for media attachments making the attachment URLs more friendly and great for SEO results should you decide to index your attachments.
You can also edit the permalink slug of an individual attachment which you can not do via “Quick Edit” like other post types. Changing the attachment title does not update the permalink slug so this is handy to have should you want to rename the URL for the attachment.
Simply go to the media library and edit the item you wish to rename. Then on the left side under “Attachment Slug” you can rename the slug. Press the “Update” button and that’s it.
You can contribute code to this plugin via the GitH…
| WordPress | 4.4+ requiredTested up to 6.1.10 |
| PHP | 5.6+ required |
⚠️ You will have to redo your attachment permalinks once updated to this version of the plugin. ⚠️
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.