As the title says we would like to redirect a url to a specific store view
What we have now:
- magento1.com
- store view EN
- magento2.com
- store view DE
What we would like to have
- magento1.com
- store view EN (default)
- store view DE - magento2.com -> redirect to store view DE on magento1.com
This is what we have now in our vhost (nginx) *of relevance to this
map $http_host $MAGE_RUN_CODE { default ''; magento2.com DE; return 301 https://$server_name$request_uri; set $MAGE_RUN_TYPE store;