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.
- Login to your WordPress Admin Page
- Go to Settings > General at the left of your WordPress Panel
- 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.
Step 2. Click on phpMyAdmin under Databases panel.
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.
Step 4. Click on the + symbol of the database that you are using for your WordPress site.
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.)
Step 6. Look for the siteurl and home in the option_name.
Step 7. Click on Edit button or the pencil icon.
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.
If you are not confident to make any of the modifications mentioned above, you may have our Application Support Engineers help you with an ad-hoc fee per request.
If you have further questions, please do not hesitate to contact our support team.