Hi, @jess69.
Is there a pattern to convert the old URLs to the new ones? If so, it could be solved with a SQL command.
Thread Starter
jess69
(@jess69)
Thank for the quick response. Unfortunately it seems like a big change as in example below:
Current image url in post: https://cdn2.img.example.com/images/104/34/104.jpg
New url: https://cdn1.img.example.com/img/104/33/104_0:237:450:2768_1920x0_80_0_0_0faeb99880ebd41b5f.jpg.webp
Seems like they would all need be re-fetched some how as it’s caused 100s of post to now lose their images.
So unfortunately you would need to have a file that associates old and new URLs first. After that we could help you with the replacement.
The only solution we had to prevent that was FIFU Cloud. But we’re going to rebuild that soon to reduce cloud costs and make it cheap.
Thread Starter
jess69
(@jess69)
Sorry what do you mean by “you would need to have a file that associates old and new URLs first.”? And FIFU Cloud seems great. Will lookout for the update (i’m assuming we will know somehow)
Since there is no pattern to build the new URLs using the old URLs, you would need to find the new URLs by yourself.
Having the new URLs, you could:
- update each post manually.
- or, if you build a CSV file that contains old and new URLs, I could help you to build a SQL to update the URLs programmatically. This is what I meant.
Thread Starter
jess69
(@jess69)
Ok understood. Seems it might not be possible as it’s 100s of posts. Will see what we can do and appreciate the help as always.