WordPress.org

Ready to get started?Download WordPress

Forums

Moving host question (13 posts)

  1. bizguy72
    Member
    Posted 7 years ago #

    Hi,

    I am moving host but keeping the same domain name and
    path. ie. http://www.mydomain.com/blog

    WP version will remain the same.i ie. version 2.2 to version 2.2

    From what I have read, after I have moved the files and restored the database to the new host (and changed DNS of course) the only config change that I need to make is to edit 'wp-config.php' - can someone just confirm for me that it is this easy? No other file paths or anything to change anywhere else?

    Thanks

  2. whooami
    Member
    Posted 7 years ago #

    yes, thats true, as long as your domain and the install directory remain the same.

  3. bizguy72
    Member
    Posted 7 years ago #

    Thanks for the reply - can you just clarify for me your statement about the install directory....my old host URL to the blog is 'http://www.mydomain.com/blog' and this will also be the same URL on the new host, but in terms of actual physical UNC directory paths that will change between hosts.

    old host UNC directory path:

    /webusers/shared/mydomain.com/www/public_html/blog/

    new host UNC directory path:

    /home/web/mydomain.com/www/blog/

    Do I need to specify direct UNC paths anywhere in config files when I change host or not?

    Thanks

  4. moshu
    Member
    Posted 7 years ago #

    Nope.
    The only place (as far as I know) where the URI - example.com/blog - is stored is in the database, wp_options table. No path.

  5. bizguy72
    Member
    Posted 7 years ago #

    Great! Thanks for your help!

  6. Brian Layman
    Member
    Posted 7 years ago #

    I do this several times a week. It's as simple as you've heard. No changes should be required and you can use your host file to test the transfer before you pull the trigger on the dns transfer.

  7. Tideas
    Member
    Posted 6 years ago #

    what do you actually edit in the wp_config?

  8. likoma
    Member
    Posted 6 years ago #

    If you make your new database name, user name, and password the same, you might not need to change anything. For example:

    db name: domainusername_wp
    user name: domainusername_admin
    password: *******

    That "domainusername" usually being some automated name created by your host based on your domain name. So maybe they're both "domainusername" but if not, you can just change that and you're done (with wp-config.php anyway).

  9. Tideas
    Member
    Posted 6 years ago #

    is there a way to check what the actual database username and Pw is?

    Because I just transfered host, and after backingup and restoring all the data, if you go here, http://www.project-tideas.com, it's telling me something is off.

  10. likoma
    Member
    Posted 6 years ago #

    I looked at that domain and it looks like WP is up and running, just missing a theme. Maybe your themes didn't upload well? Try re-uploading?

    But because I can see your posts and links and text, it seems to me you transferred over pretty well--just need to fix the themes (maybe the CSS file didn't make it).

  11. Tideas
    Member
    Posted 6 years ago #

    yah, so I managed to fix that, but you're right, the theme isn't working, but then, I can't login as admin either, so the wp_login.php isn't working either.

    ANy suggestion?

  12. macsoft3
    Member
    Posted 6 years ago #

    Unless you use the plug-in (I forgot the name), the permalinks of the blog articles are all likely to change just for your info.

  13. Tideas
    Member
    Posted 6 years ago #

    is there a way to fix the theme issues? Because I've successfully managed to log into the admin of WP, but then, it doesn't have the snazzy UI like before. It's really, just all white, and all the format is wrong

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.