Changing the default directory in WordPress is a fairly simple process. You can access the settings for your site by clicking on the “Settings” link in the main admin area. Once you are in the settings area, you will see a section called “Site Location”. You will need to enter the full URL to your WordPress site in this section, including the http:// part. After you have entered the full URL, you will need to click on the “Change Site Location” button.
This will take you to the “Site Location Settings” page. On this page, you will see a section called “Directory”. You will need to enter the full path to the directory where your WordPress site resides. After you have entered the directory path, you will need to click on the “Save Changes” button.