Via WordPress Dashboard
After moving your site files (if necessary), log into your WordPress Dashboard as an administrator.
Next, click on Settings from the menu, and then General.
Click on General to get started.
The two fields we’ll change are WordPress Address (URL) and Site Address (URL).
Enter the URL you’d like to use. For this example, we’ll change the two fields to https://dv-example.com.
Scroll down the page and click on the Save Changes button.
Be sure that you rename the folder to the new URL in FTP or the File Manager.
That’s it!
TIP:
Remember that your WordPress Dashboard has now changed and will be using the URL you entered before.
Which folder is that?
By name?