The URLs of the uploads are “optimized” (i.e. made absolute and use CDN when enabled) when cooking a post for performance reasons. The solution to your problem is indeed a remap. More can be found here
zogstrip
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| After backup restore on other server, uploaded images are broken | 6 | 1621 | October 28, 2021 | |
| Rebaking old posts won't pull new S3 CDN URL after S3 bucket rename | 14 | 1858 | January 12, 2021 | |
| Hosted to self-hosted migration: past uploads still reference discourse infra | 16 | 731 | October 16, 2023 | |
| Image uploads path in posts will not change after rebake and remap | 4 | 1286 | April 27, 2024 | |
| Updating image URL's after a domain change | 5 | 978 | February 3, 2021 |