Browsed by
Month: October 2020

Magento 2 – Tips

Magento 2 – Tips

Tip 1: Dump the database from Magento Cloud using N98 STEP 1: magento-cloud tunnel:single -p {CLOUD_PROJECT_CODE} -e {CLOUD_ENVIRONMENT_CODE} -r database STEP 2: Update the Project’s database configuration STEP 3: Enjoy: php7.1 n98-magerun2.phar db:dump –strip=”reporting_system_updates @log @stripped”

Nginx – Different storeviews or websites in subfolders

Nginx – Different storeviews or websites in subfolders

A client wants his multistore shop to be set up like this: http://www.domain1.org/en/ -> store view 2 http://www.domain1.org/de/ -> store view 3 http://www.domain1.org/fr/ -> store view 4 http://www.domain1.org/it/ -> store view 5 In this post, I will show you how to do this thing by using Nginx configuration. Step 1: add the configuration mapping to Nginx’s conf file. /etc/nginx/config.d/mapping_store.conf Step 2: Update the Magento’s nginx configuration By default, Magento provides sample Nginx configuration in the website’s root directory. It doesn’t…

Read More Read More