wp admin – WordPress Localhost migration issue
Below are the steps I took to migrate WP locally:
I have downloaded the WordPress files from an online hosted site.
I have used MAMP to import the database and WP files.
I run the search and replace query to update the old url with localhost url.
Also changed the wp-config.php file with new information.
https://localhost works great. Site is opening without any error.
Issue:
When I try to access http://localhost/wp-admin, it give me an error “This site can’t be reached localhost refused to connect.” it redirects me to https://localhost
Can you please help me fix this issue, so that I can load the wp-admin page locally?
Thank You for your help
Leave an answer