Forums

How to Import all wordpress content from one website to another website (5 posts)

  1. yogesh_gamer
    Member
    Posted 4 months ago #

    How to Import all wordpress content from one website to another website?
    I would like to import all content including images, themes, widget means to say website looks like same except domain name.
    Please Help me

  2. YouON
    Member
    Posted 4 months ago #

    Via FTP you can made a simply copy/paste and via MySQL you can use this SQL string:

    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';
    
    UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');
    
    UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
  3. yogesh_gamer
    Member
    Posted 4 months ago #

    1) I am newbie. I didn't understood. Is there any video?
    2) I forgot to mention that when i will register my new domain my company will immediately delete the old website. Means to say I have only one domain at a time.

    Sorry for poor English

  4. yogesh_gamer
    Member
    Posted 4 months ago #

    Sir forget the theme and widget.
    I used wordpress import plugin which import all post and pages with images. But these images are uploaded on old website. Images are just embeed on new (Testing purpose) website. I want to upload them on new website. And there is one major problem in wordpress import plugin that it doesn't show gallery.

  5. yogesh_gamer
    Member
    Posted 4 months ago #

    I tried Partial backup. But it shows all old url. How to change old url?

Reply

You must log in to post.

About this Topic