1) Log in to the WordPress administration dashboard.
2) In the menu on your left side, click “Settings” > “General.”

3) Change the URL in “WordPress Address (URL)” and “Site Address (URL).”

4) Click on the button “Save Changes” to submit the changes.