Magento 2
Add an extension through composer ignoring any composer errors
Section titled “Add an extension through composer ignoring any composer errors”eg symphony needing php8 errors
composer require amasty/blog --ignore-platform-reqs --with-all-dependenciesUpdate magento after making changes (production mode)
Section titled “Update magento after making changes (production mode)”bin/magento setup:upgrade &&bin/magento setup:di:compile &&bin/magento setup:static-content:deploy -f &&bin/magento cache:clean &&bin/magento cache:flush &&bin/magento indexer:reindexMultistore setup
Section titled “Multistore setup”Using the website code
Add a redirect block to .htacess for each website
RewriteCond %{HTTP_HOST} ^(.*)sgstoolgroup\.comRewriteRule .* – [E=MAGE_RUN_CODE:sgs_com]RewriteCond %{HTTP_HOST} ^(.*)sgstoolgroup\.comRewriteRule .* – [E=MAGE_RUN_TYPE:website]