How to migrate from wordpress.com to self-hosted wordpress

** Edit **

Did you check your folder structure ?

did you rename the wordpress folder ?

have nested folders ?

** end edit **
@ allan z – that will not (always) work for an existing site , due to a multitude of reasons .

the best way is to either follow these instructions here :
Moving wordpress to another server

or , do it manually , like I usually do , which is :

  1. FTP ALL your files to the new server. (ALL means ALL, as is – including images, plugins, theme)

  2. Update wp-config with new data. (install folder, DB…)

  3. manually execute those SQL sentences :

    /**
    To update WordPress options with the new blog location:
    **/

    UPDATE wp_options SET option_value = replace(option_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’) WHERE option_name=”home” OR option_name=”siteurl”;

    /**
    fix URLs of the WordPress posts and pages:
    **/

    UPDATE wp_posts SET guid = replace(guid, ‘http://www.old-domain.com’,’http://www.new-domain.com’);

    /**
    fix all internal links to own blog in all WordPress posts and pages:
    **/

    UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’);

Leave a Comment

error code: 523