Hi @adrian95 is there a reason you couldn’t update the source of the old image to the new URL, instead of changing the new URL to match the old image’s source? I believe you have a couple different options here.
One option would be to use a plugin like https://www.ads-software.com/plugins/post-date-time-change/ to switch the date the image was posted. I have never personally used this plugin but I did install it quick to take a look. You have to switch to the list view in the media library to use it.
If the image is in your page content only then you could use a plugin like https://www.ads-software.com/plugins/velvet-blues-update-urls/ to change the source to the new url. So in the options page of this plugin you would add the old image source url “domain.com/wp-content/uploads/2017/11/logo-350f-1.png” to the first field “”, and you would add the new one “domain.com/wp-content/uploads/2018/08/logo-350f-1.png” to the second field. You would then check all of the boxes below the two url fields and hit update. It is important to match the format of both URLs exactly. If the first has “domain.com/path/to/image.jpg” and the other has “https://domain.com/path/to/image.jpg” you will end up with a final result of “https://https://domain.com/path/to/image.jpg”.
That would go through all of your pages and replace the old url with the new one which will get the image working. If the image is used in CSS or template files, or in custom options pages from your theme or widgets this will not work. Those would need to update manually.
Your last option would be to move the image and its associated thumbnails to the correct directory using a file manager plugin like https://www.ads-software.com/plugins/wp-file-manager/ but this is a last resort and shouldn’t be necessary. It would make the image inaccessible through the media library, since the old image information has already been removed from the database. The new image would also not work in the media library since the files would be missing. It would make your old images work on the front end though. I do not recommend this option.