I have created Replica of main website on another server, I did all the configurations in config.local.php
but my demo store is redirecting to live site.
Neither admin panel is accessible nor frontend
Please help me .
SSL is installed in it.
I tried to change
'secure_admin' = N
'secure_storefront' = none
But still it is redirecting to live site.
Thanks in Advance
- go to Administration -> Stores page and correct store-front URLs
- delete the var/cache directory
If backend is redirecting to wrong place then cache needs to be cleared (assuming config.local.php settings are corect).
Only exception might be if it is referencing https and if your certificate doesn't handle your new admin URL, then it might revert to your main store.
If issue is frontend then do as Ecom advises and change the storefront URL's. But same https caveat applies to storefronts as well as backend.