How to keep a media url when modifying it?

We are going to see how to modify a media (in this case our Mascot the Business Maras) while keeping the file name and the links/url attached to it.

Our original media

Go to the image you’d like to modify in the media library of your WordPress

Click on upload a new file

Choose the new file to upload

If you want to keep the links and the file name choose “Just replace the file” in Replacement Options.

If you want to keep the date, select “Keep the date” in Date Options.

Verify your information and update the file.

Et Voila! Your file is now modified while keeping the original information.