media file: change file that permanent link is pointing to?

Rita Mikusch asked on June 25, 2019 21:31


On our website we have linked to a PDF in the media library using the PERMANENT LINK.

We'd like to CHANGE that PDF, but keep the permanent link the same ... basically change the file that the permanent link is pointing to. Is that possible?

Really, they shouldn't have used the permanent link to link to that PDF ... but they did, and now we'd like to REPLACE the PDF without breaking that original permanent link.

Thank you.

Correct Answer

Dmitry Bastron answered on June 26, 2019 08:53

If you update the file via Update button in Media Libraries keeping the same file name (or you can rename it later), it keeps permanent link and other metadata unchanged and only substitutes the file content. Media file GUID remains the same:

Image Text

0 votesVote for this answer Unmark Correct answer

Recent Answers

Rita Mikusch answered on June 26, 2019 17:55

Thank you, Dmitry, this is excellent!!!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.