• When I just started, I installed wordpress on my first domain name, for example, abc.com, later I decided to rebrand and changed the domain name to xyz.com. I also redirected abc.com to xyz.com until abc.com is expired.

    However, when I check my wordpress on cpanel, it says the wordpress link is still abc.com. I don’t use abc.com anymore and don’t renew it. I want to know what I should do in this case? Should I install wordpress one more time on xyz.com or just import from abc.com or I need do something special, so the wordpress link will be xyz.com rather than abc.com? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • cPanel as I know it does not care what is at a given destination, and all traffic passes through my Primary Domain even though an Add-On is assigned to a different folder. If I were in your place, I would talk with your host about how things are done at cPanel without mentioning WordPress at all. Your question is only about what cPanel needs to know in order to be certain all traffic for abc.com and xyz.com lands where it should no matter what might be found when it gets there.

    Most likely you did not change your site URL and HOME options in the WordPress database. There are several ways to accomplish this and this article should help you get under way.

    https://codex.wordpress.org/Changing_The_Site_URL

    Change the URL directly in the database at 2 places in wp_options Table.

    Step 1. Login to phpMyAdmin of xyz.com.
    Step 2. Click the link to your Databases.
    Step 3. All the tables in your database will appear on the screen.
    Step 4. From the list, look for wp_options.
    Click on the small icon indicated as Browse.
    Step 5. A screen will open with a list of the fields within the wp_options table.
    Step 6. Under the field option_name, scroll down and look for siteurl. it will be abc.com
    Click the Edit Field icon which usually is found at the far left at the beginning of the row.
    Step 7. In the input box for option_value, carefully change the URL information to the new address. i.e Make it xyz.com in your case.
    Step 8. Verify this is correct and click Go to save the information.
    Step 9. Look for the home field in the table and click Edit Field.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Do I need Install WordPress on my New Website’ is closed to new replies.