Go to Admin > Settings > General – paste https://sitename in both the WordPress Address (URL) and Site Address (URL) fields.
You can also edit these values in wp-config.php by adding the following.
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
Or edit the values directly in the database by editing the wp_options table and editing the values of “siteurl” and “home”.
Here is more info on changing the site URL.