I'm trying to duplicate an existing Craft CMS site by moving it from an online server to a local installation using MAMP. I have copied the /craft folder and all files in the root of /public_html (including the htaccess file). I have exported and reimported the database using PHPMyAdmin.
But now when I go to localhost:8888 I get a "server not found" error because I've been redirected to www.localhost — is this the issue? I tried swapping out the htaccess file to the default one from the craft installation packet but then instead of getting a server not found I get blank pages.
Any ideas? I'm pretty sure the database imported correctly because I could login to /admin before I moved the /craft folder to the local server.