WordPress stores the site address in the database. If the wrong address is saved there, the site may redirect incorrectly or fail to load properly.
You can update the WordPress home and site URL from phpMyAdmin.
Before editing the database, take a backup if possible.
To update the URLs:
- Log in to the 4UHosting client area at https://clients.4uhosting.co.uk.
- Choose My Services.
- Find the hosting service and select Manage.
- Select Login to cPanel from the left side.
- Open phpMyAdmin.
- Select the database used by the WordPress site.
- Open the table ending in
_options. - Find the row named
siteurland edit the value. - Find the row named
homeand edit the value. - Save the changes.
The two values are often the same, such as https://example.co.uk.
The table prefix may not always be wp_, so the options table may have a different name, such as abc_options.
If you are not sure which database the site uses, check the wp-config.php file for the database name before making changes.