How to Move a Live WordPress Site to Local Server
-
hi
After doing below:
UPDATE wp_options SET option_value = replace(option_value, ‘https://www.example.com’, ‘https://localhost/mylocalsite’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;UPDATE wp_posts SET post_content = replace(post_content, ‘https://www.example.com’, ‘https://localhost/mylocalsite’);
UPDATE wp_postmeta SET meta_value = replace(meta_value,’https://www.example.com’,’hhttps://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.