New answers tagged

1 vote

Magento2 multiwebsite multistore sharing storeview code

Multi-Store Setup (Apache) Create a virtual host for your main example.com sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/{virtualname}com.conf Here {virtualname}...
  • 6,205
-1 votes

Magento2 multiwebsite multistore sharing storeview code

IMO it's ugly but you can add directory in pub directory like: pub/store_code/index.php Duplicate the main index.php in all new directories and add that: use Magento\Framework\App\Bootstrap; try { ...
  • 9

Top 50 recent answers are included