How to Move a Live WordPress Site to Local Server
After doing below:
UPDATE wp_options SET option_value = replace(option_value, ‘https://www.example.com’, ‘http://localhost/mylocalsite’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
UPDATE wp_posts SET post_content = replace(post_content, ‘https://www.example.com’, ‘http://localhost/mylocalsite’);
UPDATE wp_postmeta SET meta_value = replace(meta_value,’https://www.example.com’,’hhttp://localhost/mylocalsite’);
It says O rows changed. But I checked the database it’s been changed to localhost/. . .
The localhost test site remains unchanged when activated on browser, even all steps are carefully followed without errors except the above. What’s wrong?
The page I need help with: [log in to see the link]
- The topic ‘How to Move a Live WordPress Site to Local Server’ is closed to new replies.