How to update the Wordpress Main Domain / Primary URL


When you update your WordPress site to use HTTPS, or change the primary domain name of your hosting account, you will often want to update your base WordPress URL.

Please note that the information in this guide is provided as a suggestion, and we can't provide detailed support for modifications to a Content Management System. If you require assistance with this, we'd recommend speaking to your website developer to ensure relevance and compatibility with your site.


Step 1 - Log in to your WordPress admin area.





Step 2 - Click on Settings > General.





Step 3 - Update the WordPress Address (URL) and the Site Address (URL) field.




Then scroll down the bottom and hit Save Changes





The last step is to update all the URLs in the database. This can be done manually by a developer, but it can also be done using plugins like Velvet Blues or Better Search Replace.

Step 4 - Click on Plugins > Add New and Install then Activate either Velvet Blues or Better Search Replace.

512bcac9b7f340e2a01701309908323aead5d3b3?t=f2ff182a72622c0395ad3e591f6d1b49


Step 5 - (1) Click Tools.
(2) Click Update URLs.
(3) Add in the Old URL and New URL.
(4) Tick all the boxes except the last.
(5) Click Update URLs Now.

Velvet Blues:

64146080885fdc9a39e1a9cfd4c1af005a684ae1?t=0b91e3d2334b955e0bff8dc3faa38ab9


Better Search Replace:

0f55d30ed5a8124a3792a5991e0283246748b561?t=e54142c96f1d09ba71cf046a1e118672


For more tutorials on website development and Wordpress troubleshooting, view our List of Wordpress Guides.


Did you find this article useful?