• So I’m trying to transfer my wordpress website from my hosting company to my localhost to work on it offline for quicker response times in development. I’m brand new to this, but I followed several guides on how to do it and have re-done it 3 times from scratch to make sure I didn’t make a mistake. I did not make a mistake from what I’ve gathered so please enlighten me.

    I exported the mySQL database from phpMyAdmin, and I also backed up/downloaded the public_html folder where my site resides. I am using MAMP Pro on a mac to host my localhost server. I started my server, and followed their guide on where to import my website files to. I created a new database, then imported the exported mySQL database from my current live site. Added the user privileges and linked the database in wp-config.php. When I try to load the site, it gives me the error “ERR_CONNECTION_CLOSED” and goes nowhere. I made sure that I changed the options file in the mySQL database to have the correct site URL and home URL which is https://localhost/**name of site folder**

    Still nothing.

    I did another install fresh of wordpress using the same method, and minus the importing of the mySQL databse, and the site loads up fine. I can create my wordpress site and it all functions properly. As soon as I add the new files to the fresh install of wordpress and change the mySQL database over to the imported one from my livesite – the same result happens, the site seems broken and parses “ERR_CONNECTION_CLOSED”.

    Please help!! It would be way better for my workflow to work on this site offline as response times would be greatly improved. Any advise would be greatly appreciated, thanks!

    • This topic was modified 4 years, 7 months ago by James Huff. Reason: moved to Localhost Installs since this is a localhost install
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘LocalHost Migration Not Connecting’ is closed to new replies.