Support » Plugin: WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage » How to update new Rewrite path on old files?

  • morespinach

    (@morespinach)


    Hello. I have a custom CNAME url to use for all images, cdn.mydomain.com.

    Initially I had the Path setting as default (wp/wp-content/uploads), but now I’d like that to be a different setting with the CNAME from cloudfront as lead domain. When i do this, the old images are all invisible because they’re still using the old path.

    How can I make the plugin use the new revised path for all the old media files?

    • This topic was modified 5 months ago by  morespinach.
Viewing 1 replies (of 1 total)
  • Plugin Contributor ianmjones

    (@ianmjones)

    The Path setting tells WP Offload Media Lite where to offload objects to in the bucket, so the objects that used the old path will still have that path in the bucket.

    You’ll need to remove the objects from the bucket ensuring WP Offload Media is aware that they’re no longer in the bucket, and then re-offload them.

    The easiest way to do this is via WP Offload Media’s “Remove all files from bucket” tool.

    https://deliciousbrains.com/wp-offload-media/#download

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.