I followed the steps of this link and I had the 404 error when I checked my localhost. My website is http://174.138.8.241/
- I copied all WP files in the root folder of Wamp
- I exported DB from WP website and I imported it into my localhost/phpmyadmin
- I updated the URLs inside the WP DB localhost
- I updated wp-config from my root localhost folder with the WordPress website database credentials.
Updated URLs in DataBase on my localhost/phpmyadmin:
UPDATE wp_options SET option_value=replace(option_value, http://174.138.8.241/','http://localhost/imosig/');
WHERE option_name='home' OR option_name='siteurl';
UPDATE wp_posts SET post_content=replace(post_content,'http://174.138.8.241/','http://localhost/imosig/');
UPDATE wp_postmeta SET meta_value=replace(meta_value,'http://174.138.8.241/','http://localhost/imosig/');
Aucun commentaire:
Enregistrer un commentaire