How to Change WordPress Site URL without Dashboard Access

Are you locked out of your WordPress dashboard and can’t figure out how you can change your site URL? I know it can be very frustrating especially if you are not a WordPress developer.

If that is the case, you should not panic since there are a number of ways to change WordPress site URL without dashboard access. With this simple tutorial, you can change the WordPress site URL without any hectic coding, just simple edits to WordPress files.

Let be briefly share with you the normal way to change WordPress site URL and two more methods to change it when you have no access to the dashboard.   

3 Ways to Change WordPress Site URL

One of the most common scenarios where you may end up locked from your WordPress dashboard is when you are updating your site protocol from HTTP to HTTPS.

#1) Change WordPress Site URL via Dashboard Settings

If you are not locked out of your dashboard, changing the site URL is a simple process. From the dashboard menu click on Settings > General, change the site URL in the slots shown in the image below:Change WordPress Site URL without Dashboard Access

  • WordPress Address (URL): This is the address if your site that visitors use to access.
  • Site Address (URL): This is the address of the WordPress core files.

#2) Change WordPress Site URL via wp-config File

If you can access the site’s file through the Cpanel or FTP, you can change the site URL by editing the wp-config file.

You can access this file in the root WordPress installation. Open the file and add the following code at the top of the file:

define('WP_HOME','https://yoursite.com');

define('WP_SITEURL','https://yourdsite.com');

Change WordPress Site URL without Dashboard Access

#3) Change WordPress Site URL via Database Edit

One of the easiest ways to change the WordPress site URL without editing the wp-config file is through the WordPress database.

You can edit the database through PhpMyAdmin. In your hosting account, check out for PhpMyAdmin icon and click to open:Change WordPress Site URL without Dashboard Access

Click on the specific database of your WordPress installation and open the table wp_options (you can know the WordPress database of your site by checking the wp-config file).

Change WordPress Site URL without Dashboard Access

When you open the wp_options table you will see the entry for the site URL where you can make the changes and update the file.

change wordpress site

Use the Edit link to open and type the respective changes to the WordPress site URL before you update as shown in the image below:

change wordpress site url

Conclusion

You can now change your WordPress site URL when you do not have access to the dashboard using the two methods outlined above. My favorite is editing the WordPress dashboard since it’s straightforward and quick.

Do you have WordPress problems?

Let me take care of your WordPress headaches and give you time to think about website traffic growth, business leads, conversion, and profits.  This is what I do best, helping small, medium and large businesses grow their online presence. Get in touch with me.