• Resolved user9876

    (@user9876)


    I’m having a problem with Offload Media Lite.

    After I disabled the plugin and removed the files from the AWS bucket the images are broken, even though the local copies have been preserved in the media library.

    Images are still being served from the Cloudfront CDN and the links haven’t reverted back to their original locations in the media library, even though I’ve removed the CDN from the settings before disabling the plugin. I’ve also removed the CDN CNAME record from the site’s DND records.

    Could you please help me? How do I serve images from the media library?

    Do I need to clean the database? How do I do it? I don’t understand the instructions in the uninstall guide, I’m confused.

    Thank you!

    • This topic was modified 3 years ago by user9876.
    • This topic was modified 3 years ago by user9876.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter user9876

    (@user9876)

    Bump. Someone please help me! No matter what I do all the images on my website are broken because the plugin rewrote all my image urls and they stay rewritten after I disabled the plugin.

    Plugin Author Delicious Brains

    (@deliciousbrains)

    WP Offload Media *should* work by leaving URLs in the database content as local URLs, and then dynamically rewriting those URLs to their CDN version when a page is displayed.

    However, it sounds like your site has either had a problem whereby CDN URLs have been saved into the database content, or there’s a cache that is still serving the old HTML.

    Could you briefly re-install WP Offload Media, turn off the “Copy Files to Bucket” and “Rewrite Media URLs” settings, save those changes, and then grab the Diagnostic Info from the “Support” tab for us?

    -IJ

    Thread Starter user9876

    (@user9876)

    Thank you very much!

    I’ve updated and reinstalled the plugin, turned off rewrite urls etc, then turned off WP Offload Media and WP Rocket. The images were back and they were served from the website’s media library. However, when I turn WP Rocket back on the images become broken again and are getting served from CDN again. Clearing WP Rocket’s cache doesn’t help. Looks like it’s a caching issue. However, I really do need WP Rocket for speed and optimization. What should I do? Thanks again!

    Edit: I’ve found the source of the problem: I still had CDN turned on in my WP Rocket settings, my bad. I’ve turned it off and the images are back up.

    • This reply was modified 3 years ago by user9876.
    • This reply was modified 3 years ago by user9876.
    • This reply was modified 3 years ago by user9876.
    • This reply was modified 3 years ago by user9876.
    • This reply was modified 3 years ago by user9876.
    Plugin Author Delicious Brains

    (@deliciousbrains)

    Thanks for letting us know it wasn’t a problem with WP Offload Media, phew! ??

    -IJ

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images broken after I disabled the plugin’ is closed to new replies.