There are two ways of seeting the Site URL.
- In the dashboard.
- In the
wp-config.php
file. - In the
functions.php
file.
If you cannot change Option 1 above, then you should NOT edit the table in PhpMyAdmin.
Check for the following in wp-config.php:
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
If you can’t find that, then check in your functions.php for:
update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );
You can read more here