In this article we will explain how change media (e.g. Images, PDFs etc) on the website without changing the url. This could be necessary if the exact url / link is mentioned on printed material, third party websites etc.


1. Replace the file

1. Navigate to the Media > Library on the left hand side of the CMS

2. Choose the media file that needs to be replaced (also works for the PDF files) and click on it.

3) On the right side, a menu appears. Click on the button “upload new file” (on the bottom of the menu)


2. Upload the new File

1.  On the new page select and upload the new media file.

Make sure that the “just replace the file” option is selected.




3. Update the new File to save your changes

1. On the final screen click the “update” button on the right.


Now the media file has been replaced, and the new file has the same url as the old one.

4. Translate the page

Translate the page on which the file is shown through WPML. The green loading bar will be 100% and green, so you will only have to click ‘Save & Close’. After that, the file should be changed for the other language as well. Repeat this for each language.