There are two methods to change your WordPress URL.
1. From your Bluehost control panel
Log in to your Bluehost control panel.
From your menu, click on ‘My Sites’. This will take you to the ‘Sites’ page Where all your websites are listed.
Select the website for which you want to change the URL and click on ‘Log in’. This will lead you to your WordPress admin page.
Next, scroll down and from the menu select ‘Setting’, this is close to the bottom of the scroll. And from the options select ‘General’.
This will take you to your general settings page. Scroll down to find the text box ‘WordPress Address (URL)’ and ‘Site Address’. Make the necessary changes here and change the URL’s to the new ones.
After you have added the new URLs, scroll down further and click on ‘Save Changes’.
Once you do that, you will see this message confirming your changes being saved.
2. From the databases
- First login to your Bluehost panel.
- Click on the ‘Advanced’ tab from the menu.
- Next click on the ‘File Manager’ icon under the ‘Files’ section. This will take you to your File manager page.
- Next click on the ‘public_html’ directory where all the website files are listed and find ‘wp-config.php’ file. Right-click on it and select the ‘View’ option.
- Next, search for your database name for ‘DB_NAME’, Copy the Database name from here.
- Next, you will need to go to your cPanel (Advanced) and click on the ‘phpMyAdmin’ icon under the database section.
- This will open up your phpMyAdmin interface where all the Database’s created in your accounts are present and search for your Database Name.
- Once you find it, click the Database and search for the ‘TablePrefix_options’ table, open this. Search your site URL and home URL. Double click on the URL and make the edits that you require. Press outside the box after making changes.