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!

  • 13 Users Found This Useful
Was this answer helpful?

Related Articles

Why does cPanel create a subdomain when adding a domain ?

The subdomain is required for the addon to work properly and should not be removed. cPanel will...

I am having trouble logging into cPanel

If you are experiencing difficulties logging into cPanel, please type in your username and...

What is your refund policy ?

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

Do you allow adult content ?

Adult content is allowed as long as it is legal.

Are there any promotional codes ?

Please visit http://python1coupons.com/ for our monthly promotions and coupon codes.