If your website gets a new domain, copy WordPress to the new address with WP Toolkit. WP Toolkit automatically adjusts all internal links. Afterwards you redirect the old domain.
| ⏱️ Time | approx. 20 minutes |
| 📊 Difficulty | Medium |
| 🧰 You need | Login details for the Webhosting Control Panel and the new domain in your web hosting |
| 1 | Add the new domain |
Add the new domain in the Webhosting Control Panel and activate the SSL certificate for it. How to do this is described in the linked guide below.
| 2 | Clone WordPress to the new domain |
| 3 | Redirect the old domain |
Open the old address. You automatically land on the new domain, and all pages work.
Some images still point to the old domain.
Some plugins store addresses in places that WP Toolkit does not adjust. Replace the address with a plugin such as “Better Search Replace”.
I can no longer log in after the move.
Log in under the new address, for example https://new-domain.ch/wp-admin, or directly via WP Toolkit with Log in.