WordPress localhost not working

I am new to wordpress so please assist.

I know there have been some questions regarding this already there but it did not work hence asking for assistance

I have cloned a live repo and saved it in my WAMP www folder which I normally use for other php sites and refer it using localhost/project/ but now when I am trying this it is redirecting to https://localhost/project/

I performed following steps

1) Set up my db connection in wp-config.php

2) added these 2 lines in wp-config

define('WP_HOME','localhost/project');
define('WP_SITEURL','localhost/project');

3) turned WP_CACHE to false in wp-config.php

I don’t know what else to do so please assist.

Leave a Comment