Enables permalink support for media attachments making the URLs more friendly and great for SEO.
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 GitHub repository.
Use the WordPress.org forums for community support. If you spot a bug, you can of course log it on Github instead where I can act upon it more efficiently.
Your ratings make a big difference. If you like Attachment Slugs, please consider spending a minute or two leaving a review and tell me what you think about the plugin.
More information
Installing “Attachment Slug” can be done either by searching for “Attachment Slug” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:
Simply go to “Settings -> Permalinks” page and then at the bottom configure the attachment permalinks to your liking and press “Save Changes”. That’s it!
Automatic updates should work like a charm; as always though, ensure you backup your site just in case.
⚠️ You will have to redo your attachment permalinks once updated to this version of the plugin. ⚠️