Change media item permalink

The question:

I have an image whose permalink is
I would now like a page located at this permalink.

Is there a way to change the image’s permalink?


The Solutions:

Below are the methods you can try. The first solution is probably the best. Try others if the first one doesn’t work. Senior developers aren’t just copying/pasting – they read the methods carefully & apply them wisely to each case.

Method 1


  1. Go to your Media Library
  2. Find the Image
  3. Click Edit
  4. Locate the Permalink under the Title
  5. Click Edit
  6. Change the Permalink
  7. Click Update!


If for some reason you cannot Edit the Images’ Permalink… you could:

  1. Delete Image
  2. Change your Pages’ Permalink
  3. Re-Upload Image

Method 2

  1. Go to Media Library
  2. Find the Image
  3. Click Edit Image

  1. Click Edit more details (at bottom right, very easy to miss)

  1. Find the Screen Options (top right) and enable the Slug checkbox

  1. Scroll down to the slug box and change the slug to whatever you want.
  2. Click Update!

Method 3

In Media Library, I noticed that when media file is not Attached to a page the permalink is not editable. When they are attached, permalink editing is permitted.

Method 4

On the edit page,
1. click the screen options downward triangle in the upper right of the screen
2. Check “Slug” under Boxes.
3. Update
4. Scroll down to Slug box.
5. Type in what you want to call the link.

This doesn’t change the link location. Just the link name, which is what I was trying to figure out since I didn’t want it as the name of the file I uploaded.

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Comment