jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Changing domain names and not breaking Photon URLs

Open gordo019 opened this issue 8 years ago • 4 comments

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?

gordo019 avatar Jul 25 '18 20:07 gordo019

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?

gordo019 avatar Jul 25 '18 20:07 gordo019

Or maybe reconnect/connect at..... Jetpack> Dashboard>Connections>Manage Site connection?

gordo019 avatar Jul 25 '18 22:07 gordo019

Where do I replace the domain name and add the new domain name?

gordo019 avatar Jul 25 '18 22:07 gordo019

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!

zinigor avatar Jul 26 '18 13:07 zinigor