WordPress – How to Change Site URL (Dashboard and phpMyAdmin)

WordPress – How to Change Site URL

Before we begin, there are two types of URL that you will come across:

  • Site Address (URL)

Site Address is the address that you want the public to enter in their browser, in order to visit your WordPress Site.

  • WordPress Address (URL)

WordPress Address is the address where your WordPress core files are at.

 

IMPORTANT: Both settings should include the http:// part and should not have a slash “/” at the end.

 

  1. Login to your WordPress Admin Page
  2. Go to Settings > General at the left of your WordPress Panel
  3. Change both your WordPress Address (URL) and Site Address (URL) to your new site URL

Your site URL will be changed accordingly now.

 

Another way is via phpMyAdmin in the cPanel. This is for advanced users and/or to those who has cPanel access.

 

Step 1.Log in to the cPanel.

WordPress - How to Change Site URL

Step 2. Click on phpMyAdmin under Databases panel.

WordPress - How to Change Site URL

Step 3. You will be redirected at the phpMyAdmin site. Located at the left side part of the page is your database name. Click on the + symbol to show all the database you have.

WordPress - How to Change Site URL

Step 4. Click on the + symbol of the database that you are using for your WordPress site.WordPress - How to Change Site URL

Step 5. All tables will show up. Click on wp_options table. (Note: Some tables may have a different prefix. This depends on how you set it up. Some prefix may be random words or a combination of letters and numbers. You just need to look for the _options.)

WordPress - How to Change Site URL

Step 6. Look for the siteurl and home in the option_name.

WordPress - How to Change Site URL

Step 7. Click on Edit button or the pencil icon. WordPress - How to Change Site URL

Step 8. Enter the new URL in the option_value field and click on Go. Make sure that you change both the siteurl and home.WordPress - How to Change Site URL

Rate This Article

(56 out of 116 people found this article helpful)

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.