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 | 1640 | October 28, 2021 | |
| Rebaking old posts won't pull new S3 CDN URL after S3 bucket rename | 13 | 1905 | January 12, 2021 | |
| Hosted to self-hosted migration: past uploads still reference discourse infra | 15 | 745 | October 16, 2023 | |
| Image uploads path in posts will not change after rebake and remap | 3 | 1298 | April 6, 2020 | |
| Updating image URL's after a domain change | 5 | 993 | February 3, 2021 |