Changing domain names and not breaking Photon URLs
I recently purchased a new domain name and would like to move my current WP site to the new domain name, terminating my old domain name. I will do the necessary changes within CPanel, but I wanted to confirm the process of changing domain names relating to Jetpack’s Photon. I don’t want to break numerous links to my photos on Photon’s CDN servers. Researching this here at Github, I find this simple (2014) solution: "To fix this, you need to disconnect JetPack and reconnect it on the new domain.” Is this true and is this the current recommended method of making a domain name change with Jetpack/Photon? Could someone at Jetpack please confirm this?
In the Jetpack Debug Center there is....
A connection problem with WordPress.com. Jetpack works by connecting to WordPress.com for a lot of features. Sometimes, when the connection gets messed up, you need to disconnect and reconnect to get things working properly. Disconnect from WordPress.com
Is this where I disconnect and then reconnect?
Or maybe reconnect/connect at..... Jetpack> Dashboard>Connections>Manage Site connection?
Where do I replace the domain name and add the new domain name?
Hello, thanks for contacting us about this!
Yes, you're right, you don't have to change anything, only disconnect and reconnect your Jetpack installation using the new domain name. Photon will automatically create new cached versions of images from your new domain as if it was a new site.
You can even migrate all of your Jetpack settings to the new domain if you follow the procedure detailed here: https://jetpack.com/support/safe-mode/#what-is-an-identity-crisis
You need to go the "Confirm Safe Mode" -> "Migrate Stats & Subscribers" route in your case. If you need help, please contact support about that.
Hope that helps!