Migrating Offloaded Media to Shifter CDN

Shifter now supports Shifter Media CDN, a CDN service dedicated to media. This guide explains how to migrate media stored on external servers or storage to Shifter Media CDN on Shifter Static.

How to Migrate from an External CDN to Shifter CDN

Follow the steps below to migrate media from an external CDN to Shifter CDN.

Step List:

  1. If you are running WordPress on the Shifter dashboard, stop it.

  2. Verify that Media CDN is disabled on the Shifter dashboard. For more details, please read the article on Shifter Media CDN.

  3. Download the media to your local machine. You can download the media from your media server via SFTP/SSH. If the media is stored in AWS
    S3, you can download it using the AWS Command Line Interface (aws-cli)
    . AWS CLI example: aws s3 cp s3://my-offload-media/wp-content/uploads --recursive ~/backup/

  4. Start WordPress and use a plugin or similar tool to upload the media to the uploads directory. Note: Please leave Media CDN disabled.


  5. Stop WordPress and enable Media CDN. For details, please read the Shifter Media CDN article.

  6. Start WordPress and transfer the uploaded media to the Shifter CDN. This background process may take some time. Please keep the WordPress dashboard open until all thumbnails appear on the Media Library page.

  7. Use the Search & Replace plugin to rewrite the paths to media files within your posts.

    • Better Search & Replace
  8. After the transfer is complete, use a thumbnail regeneration plugin to regenerate the media thumbnails.

    • Enable Media Replace
    • reGenerate Thumbnails
    • Advanced Regenerate thumbnails and delete unused thumbnails