Changing an image permalink (also known as image slug or image URL) in WordPress is easy – if you know where to look! In this tutorial, we’ll explore the hidden feature in the WordPress Media Library that lets you change image permalinks (as well as video permalinks, pdf permalinks and other types of slugs in the WordPress Media Library).

Why bother to change the image permalink? The most common use case is to reclaim a URL for a page or post that now has the unwanted “hyphen two” (“-2”) or a higher number in the URL.

SHORTCUTS:
00:00 – Intro: How to change image permalinks in WordPress
00:29 – How image permalinks are generated in WordPress
01:56 – Image permalinks can be the reason why “-2” is added to a page URL
03:00 – THE SOLUTION: Changing an image permalink in WordPress
04:39 – Alternative method if you can’t change the image slug
05:44 – Removing “-2” (or any number) in a WordPress page or post URL

👉 Read more in this blog post:

Any questions? Let me know in the comments!

⚡ DiviMundo.com is dedicated to spread knowledge about WordPress and the Divi theme. The vision is that everyone should be able to design beautiful websites without exhausting coding issues. Read more at

⚡Find all the latest Divi related discounts here:

#image #permalink #slug #WordPress
#Change #Image #Permalinks #WordPress #HIDDEN #FEATURE

Leave a Comment

Your email address will not be published. Required fields are marked *