Hi @chcw
If you’ve replaced the images successfully, you might still need to flush your site’s cache. If you’re using WP Rocket for caching, try visiting the image URL in incognito mode or from another browser to check if you can see the updated version. Alternatively, you can append ?nocache=123 to the end of the image URL to bypass cached versions of the page.
If you’re able to see the updated images this way, it likely means you’re experiencing a browser caching issue.
Best,
Tarhe
It looks like your site is serving cached versions of the old image. Try these steps to fix it: ⤵
1️⃣ Clear Cache – Purge all caches from WP Rocket, Redis Object Cache, and OpCache. Most caching plugins have a “Clear Cache” button in their settings.
2️⃣ Regenerate Thumbnails – Use a plugin like Regenerate Thumbnails to refresh image sizes.
3️⃣ Force Refresh (Hard Load) – Hold Ctrl + F5 (Windows) or Shift + Command + R (Mac) to hard refresh your browser.
<span style=”box-sizing: border-box; margin: 0px; padding: 0px;”>4️⃣ Check Hosting Cache – If you’re using a hosting provider with built-in caching (such as Cloudflare, SiteGround, or Kinsta), you should also clear their cache.</span>
5️⃣ Try a Different Filename – Instead of replacing the image with the same name, try renaming the new file slightly (e.g., image-new.jpg) before uploading.
If you really want to replace a file, this plugin can help: https://ww.wp.xz.cn/plugins/enable-media-replace/
If the updated images are not immediately visible in the frontend, it may be due to caching plugins as described above. However, I have also experienced a server-side cache as the cause with some hosters.
Thread Starter
chcw
(@chcw)
Hi,
Thank you very much. After 11 hours, I try again and the new image works now. Should be due to a cache.