This topic has 1 reply, 2 voices, and was last updated 9 years by Radu.

  • Author

    Tagged: 

  • #74240
     lifeact
    Participant

    I need to set up a site on a test domain (project.test), and then move it to the real site (mysite.com). Is there enough of these requests:

    COPY CODE
    
    UPDATE wp_options SET option_value = replace(option_value, 'http://old', 'http://new') WHERE option_name = 'home' OR option_name = 'siteurl';
     
    UPDATE wp_posts SET guid = replace(guid, 'http://old','http://new');
     
    UPDATE wp_posts SET post_content = replace(post_content, 'http://old', 'http://new');
    

    or for your theme, and Buddypress needs additional queries when migrating to another domain?

    #74355
     Radu
    Moderator

    Hi,

    It’s enough to do that, but if you have inserted lot of content in more plugins, you can search and replace on entire sql file by replacing http://old with http://new

    Regards

    RAdu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?