Support » Fixing WordPress » Moving to new domain

Viewing 9 replies - 1 through 9 (of 9 total)
  • Samuel B

    (@samboll)

    cohahaco

    (@cohahaco)

    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?

    Samuel B

    (@samboll)

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

    cohahaco

    (@cohahaco)

    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:
    http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    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.

    Samuel B

    (@samboll)

    1. yes – changing url in db

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

    cohahaco

    (@cohahaco)

    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:
    wp_user
    wp_post
    wp_comments

    Thanks

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    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.

    cohahaco

    (@cohahaco)

    @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:
    http://codex.wordpress.org/Changing_The_Site_URL#Domain_Name_Change

    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?

    Saildude

    (@saildude)

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Moving to new domain’ is closed to new replies.