Changing the URL
If you move your Wordpress site to a different domain, you will need to change the Wordpress address and Site address for your installation. Here are two methods.
Wordpress Back-end
If you can access the back-end you might be able to make the following changes.
- Go to Settings > General.
- Change the following fields...
- Wordpress Address (URL)
- Site Address (URL)
Edit wp-config.php
If you can't access the back-end, you may need to make this change manually. This method allows you to temporarily make this change.
Add the following lines of code to the wp-config.php file.
- define('WP_HOME','https://yourwebsite.com');
- define('WP_SITEURL','https://yourwebsite.com');
Thanks for visiting.