Hello,
You can also adjust your WordPress URL settings directly from the admin dashboard. This method will typically work if you haven't moved your WordPress installation and aren't having any issues access it.
Quote1) Login to WordPress admin dashboard.
2) Click on Settings >> General.
3) Fill in your WordPress Address and Site Address and click Save.