Change WordPress URL or Home in MYSQL

Modified on Fri, 01 May 2020 at 12:37 PM

Occasionally, your WordPress site will not load it's dashboard because the database is trying to connect to the wrong url.

This can happen if you have moved a database from one site to another or your having an SSL related issue.

You can change the WordPress url manually by logging into your phpMyAdmin tool at or

Once you have logged in, click on Databases at the top of the page then select your DB.

Select the wp_options table on the left side of the page (your db may have a different prefix other than wp_) then click Edit to change either or both the siteurl or home.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article