I had a website online, but I needed it also working on localhost in order to do some tests and see how it is before going on to prod.
SO, I got the sources and sql db though the BitBucket from the developer who initialy created the production version.


  1. Downloaded all from the Bitbacket to my pc.
  2. Downloaded WAMP and run it on localhost until all the services were green

(Wamps phpMyAdmin did not work properly.)

3. Change links/prefixes at the DB
At the sql db you got from BitBucket looked for all the https://{NameOfYourSite} links and changed it to http://{YourLocalName.Local} (http in local and not https)


3.a.Open MySql through the WAMP options – left click on the green w -> mysql-> console

C:\WINDOWS\system32>cd C:\wamp64\bin\mysql\bin\mysql5.7.26

C:\wamp64\bin\mysql\mysql5.7.26\bin>mysql -u root eezyimport < C:\wamp64\www\{YourDBFileName}.sql


4.Change config of the site:


define( ‘DB_HOST’, ‘localhost’ );

define( ‘DB_PASSWORD’, ” );  – no password on local

/**put in remark on local

5.Change host to your site
C:\Windows\System32\drivers\etc\hosts localhost
::1 localhost {YourLocalName.Local}


6.Update Apache 

C:\wamp64\bin\apache\apache2.4.39\conf\httpd.conf – find hosts –>


Add host

<VirtualHost *:80>
ServerName eezyimport.local
DocumentRoot “${INSTALL_DIR}/www/{YourLocalNameDirectory}”
<Directory “${INSTALL_DIR}/www/{YourLocalNameDirectory}”>
RewriteEngine On
Options Indexes FollowSymLinks
AllowOverride all
Order deny,allow
Allow from all
Require all granted


7. Restart WAMP all services. 

And you are done.
Now your local site should run.