Sometimes, non-techy users can accidentally change the WordPress URL and site address settings from the WordPress admin area.
To recover from that, you’ll have to follow our guide to change the WordPress URLs back by editing functions.php, wp-config.php, or the WordPress database.