Option #1 - Change Home and Site URL From Dashboard

You can change the Home and Site URL from the WordPress Dashboard:

  1. Log into Your WordPress Dashboard
  2. From the Left Hand Side, Click on: Settings > General

WordPress Settings General

3. Update Your New WordPress Address (URL) and Site Address (URL) then click Save.

 

What is the Difference Between the WordPress Address or Home (URL) and the Site Address (URL)?

 

Option #2 - Update Home and Site URL via PHPMyAdmin

1. Log Into cPanel

2. Backup your database in cPanel before making any changes!

3. Click on the phpMyAdmin icon under the Database section to open phpMyAdmin where you will manage your database.

cPanel PHPMyAdmin

4. Select  your WordPress database from the left to expand it then select your wp_options table.

phpMyAdmin Example 

DatabasephpMyAdmin Select WordPress 

Options Table

Your wp_ prefix may differ based on your installation settings.

 

5. Click Edit beside the siteurlor home option_name. You can also  Double Click in the option valueto edit the option_value directly.

phpMyAdmin WordPress Options Table Edit Home and Site URL

6. Enter in your new WordPress URL in the option_value field

phpMyAdmin WordPress Options table Options Value

7. Scroll Downthen click Go

phpMyAdmin Go Button
 

Option #3 - Update Home and Site URL via the wp-config.php file.

Use this Method When Option#1 and Option#2 do not work.

  1. Log into cPanel
  2. Click on File Manager
  3. Right Click on the wp-config.php file and click edit

    File Manager Edit wp-config.php File


  4. Click Edit again on the Prompt to open the wp-config.php file for editing.
  5. Define your WP_HOME and WP_SITEURL settings by copying and pasting the lines below into your wp-config.php file replacing ‘example.com’ with your new website URL:    

    define('WP_HOME','http://example.com'); 
    define('WP_SITEURL','http://example.com');
       
  6. Click Save Changes in the Top Right Hand corner of File Manager.

File Manager Save Changes 

 
That's it! Browse to your new WordPress Website Address in your favorite browser to check the changes. Make sure to Clear Your Browser Cache. 
 
Need Help? Submit a Ticket or Emailsupport@glowfroghosting.com
Was this answer helpful? 1 Users Found This Useful (1 Votes)