how to move my wordpress site ? (5 posts)

  1. burako
    Posted 2 years ago #

    Hi all,

    i know there are answers out there and hundreds of tut videos on utube but all old.

    i have my site on http://test.royaltyline.com and would like to move to http://www.royaltyline.com

    in this case what should i do?



  2. francishunger
    Posted 2 years ago #

    do a fresh install of wp on your new site
    delete all testpage/testcomment contents
    install plugin "wordpress importer" on new site
    upload theme that you developed for test site to new site
    activate theme
    on old site use tools>export and export all data of your test site to an xml file on your local computer
    go to new site and to tools>importer and upload from your local computer the xml file
    in appearance>menus rebuild the menus if necessary

    this should cover the basic way to do it.

  3. burako
    Posted 2 years ago #

    thx alot for the quick response, will try and let u know the result :)

  4. burako
    Posted 2 years ago #

    its hardest way, i tried it on another site to see how it looks, i need to configure everything from the beginning. Is there any other way to export the site as a whole thing and import it and after everything looks the same?

  5. Robin W
    bbPress.org Moderator
    Posted 2 years ago #

    you can

    Install wordpress on new site
    Now you've got wordpress
    Copy all of WP-content folder across
    then you've got your themes, plugins and uploads
    Use phpmyadmin to copy the database to your PC - use the custom export, and select zipped and drop table as options
    now you've got the oldsite database saved on your PC
    Go to you new MySQL database and import the database
    you've now got the old database, with all the data, but it's all pointing at the old site
    use the sql query and pate the following
    UPDATE wp_options SET option_value = 'http://www.mysite.com' WHERE option_name IN ('siteurl', 'home')
    where 'mysite' is you new site url
    now you have the site url right so you can...
    login into wp-admin on new site
    install velvet blues plugin and change the urls from old site to new site
    now you have the site looking for all the attachments in the new sites uploads folder
    and that's it

Topic Closed

This topic has been closed to new replies.

About this Topic