I got all magento 2 files and db sql file. Now I want to make it working locally, so I follow this steps.

1.I go to Magento root app/etc/env.php and change my database details. 2. I update both the web/unsecure/base_url and web/secure/base_url URLs in core_config_data 3. Then I execute following commands.

ROOT > var > cache > *DELETE ALL*
ROOT > var > page_cache > *DELETE ALL*
ROOT > var > session > *DELETE ALL*
also delete old files generated in ROOT > pub > static > DELETE ALL EXCEPT .HTACCESS

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

chmod -R 0777 var/ pub/ generated/

So magento is working fine..but problem is coming in theme. Online website has applied porto theme and in my local also as I have just copied from online so..

But home page is not displaying like that online website as well as logo also coming from default theme Not that applied theme. So basically I want to get displayed Home page and other pages same as like live website.

Can any one guide me what I am missing.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.