How to change WordPress site address (URL)

If you want to change WordPress website URL, you can do it in Dashboard at http://yourdomain/wp-admin.

1. Log in to WordPress admin panel Settings > General.
2. Update WordPress Address (URL) line and Site Address (URL) lines and save the changes:

3. You will also need to re-generate the permalinks to make sure they have the new URL in  Settings > Permalinks.
So if you had Post name, you need to switch to "Default" for instance, save the changes and then revert everything back:  


   If  Dashboard  is not opening or not letting you in for some reason, you may perform the changes directly in MySQL database.
   The instruction below will guide you on how to change WordPress website URL using phpMyAdmin in cPanel.

1. Login to your cPanel and navigate to phpMyAdmin menu:

2. Choose the database which is being used for your WordPress blog and click on it.

If you are not sure what exactly database you need, check it in wp-config.php file which is located in the document root - in our case it is /public_html/wp/:

3. Click on wp-options table and edit siteurl and home fields:

Go back to your website and refresh the page to check the results.

That's is all!

  • 11 Users Found This Useful
Was this answer helpful?

Related Articles

How do I link my domain to GitHub Pages?

In order to set up your domain with your page, you need to take several simple steps: 1. Add a...

What is your refund policy ?

Python1 offers refunds with our Web Hosting plans under the following conditions: 48 Hour Refunds...

Will you install Wordpress for free ?

Yes, we do not charge to install Wordpress and it's completely free. Simply open a support ticket...

Why does my temporary URL not work ?

Temporary URL is only provided to accounts wih a dedicated IP. We do not allow dedicated IP's...

Can I use SSH ?

SSH is not enabled by default for all our web hosting plans, although if you do want to use SSH,...