• Resolved Sergey9999

    (@sergey9999)


    I will want to transport my site from domain1 to domain 2.

    If i will just install new wordpress files, download updraft, choose DB and all files for restore and make it. So will i need to replace sitename, wp_option, from olddomain to newdomain in SQL commands like this:

    UPDATE wp_options SET option_value = REPLACE(option_value, 'https://olddomain.ru', 'https://newdomain.ru') WHERE option_name = 'home' OR option_name = 'siteurl';
    UPDATE wp_posts SET guid = REPLACE(guid, 'https://olddomain.ru','https://newdomain.ru');
    UPDATE wp_posts SET post_content = REPLACE(post_content, 'https://olddomain.ru', 'https://newdomain.ru');

    Does updruft restore all files with DB itself? So i just install wordpress, restore all files (with database) from Uprdaft and my site with newdomain works fine?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Developers Have u some Feauture?’ is closed to new replies.