wordpress - WP from remote to local -
i hope can me!
i need make changes on wp website xampp on mac.
i did backup of db , via ftp copied files in xampp/htdocs/b
i modified wp-config.php follow:
define('db_name', 'db:name'); define('db_user', 'root'); define('db_password', '');
after importing db changed siteurl under wp_options.
now problem this... wen open website no pictures loads , link goes /xampp/ folder
i tried many things nothing seams work. cannot access wp-login.php due user , psw wrong.
please please help!
* realise img url is: img src="/wp-content/themes/nm/images/common/impcontent/mapfiller.jpg" looks imgs localhost/wp-content/... insted of localhost/b/wp-content/... how change that???
in wp-config.php set following values proper values:
define('wp_home','http://example.com'); define('wp_siteurl','http://example.com');
once working, install , run https://wordpress.org/plugins/velvet-blues-update-urls/ fix path issues.
Comments
Post a Comment