Moving to new domain (10 posts)

  1. cohahaco
    Posted 5 years ago #


    Just a quick question. I want to move my wordpress to a new domain, so can I just edit the url in the settings?

    Or will I have to change the url in the database as it says here:


  2. Samuel B
    Posted 5 years ago #

  3. cohahaco
    Posted 5 years ago #

    No actually I'm not moving servers. I just want to change the domain.

    So is simply changing it in the Administration > Settings > General okay?

    Or will I have to go in the database like the link I posted above?

  4. Samuel B
    Posted 5 years ago #

    oh ok
    yea you need to follow that guide or you will disassociate your posts and other info

  5. cohahaco
    Posted 5 years ago #

    Okay quick question. On step 1, it says
    1. Follow the guide above to alter the information in the database.

    Is it referring to this:

    Second question:
    If I want to import only the user and post content database from my old blog to the blog on the new domain, can I do that?
    I don't care about the other settings and plugins as I can redo them easily.

  6. Samuel B
    Posted 5 years ago #

    1. yes - changing url in db

    2. no - not without setting up a 2nd install

  7. cohahaco
    Posted 5 years ago #

    Okay please correct me if I'm wrong with the steps needed:

    1. Backup > Change the url via database > export user/post content databases
    2. Fresh install on new url domain
    3. Import the databases onto new domain blog

    For step 1, what database do I backup for the users and post content? I want to keep the tags and categories as well.

    Is it just:


  8. James Huff
    Volunteer Moderator
    Posted 5 years ago #

    Here's what you have to do (assuming you haven't done anything yet):

    1. Go to Settings/General in your admin panel and change the two URLs to the new domain.

    2. Backup the database.

    3. Backup the files.

    4. At the new host, import the database backup.

    5. Upload the files from the backup.

    There's no safe way to only backup and import specific tables as they are all related. The best thing to do is to backup and import everything then delete what you don't want from the admin panel.

  9. cohahaco
    Posted 5 years ago #

    @James: Again I'm not moving to a new host/server. I just want to change the blog to a new domain.

    Samuel said I needed to follow this guide:

    Or my posts will be disassociated.

    I'm just curious, is going to Settings/General and changing both URL there okay. Or is it necessary to follow the guide instead?

  10. Saildude
    Posted 5 years ago #

    FOLLOW THE GUIDE - If you just change settings in the Dashboard you will be real sorry and crash your site.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.