Site Migration with Jetpack CDN
-
Hello friends,
I’m working with a client who would like to move a self-hosted WordPress install from one server to another. On the current server, they are using Jetpack’s CDN to host their images. When I view the page source, all of the media URLs are prepended with i[number].wp.com links so they’re served from the CDN. All good there.
When I disable Jetpack during the migration, are these CDN links replaced with the local media URL? In other words if I have this link:
And I disable Jetpack, does the image URL automatically revert to the unadorned URL?
I’m hoping to make this migration as painless and error-free as possible and Jetpack’s CDN service is the one thing I’m not sure about.
Thanks :)
-
Hi there,
If you disable the CDN the image links should revert to the media library URLs, yes, but that shouldn’t even be necessary. The CDN links are generated dynamically when someone loads a page containing the image in their browser, and the links for any particular image would differ depending on both the location from (which determines which CDN server the images will be served from), and the screen size (which affects the image size) on which the site is being viewed.
In the site database, in the post HTML itself, the media library URL is always used, so whether you are migrating the database directly or generating a WordPress XML export file, the CDN shouldn’t affect what media URLs are migrated.
- The topic ‘Site Migration with Jetpack CDN’ is closed to new replies.

