24 hr Australian Support

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.


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:


Better Search Replace:


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

Did you find this article useful?