Created
May 5, 2014 08:34
-
-
Save splacento-incomm/c198fc3b97fac7d6f523 to your computer and use it in GitHub Desktop.
Magento multisite setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create directory (for example "veleprodaja"): | |
mkdir veleprodaja | |
chmod 755 veleprodaja | |
cp index.php veleprodaja/ | |
cp .htaccess veleprodaja/ | |
ln -s ../app ./app | |
ln -s ../errors ./errors | |
ln -s ../includes ./includes | |
ln -s ../js ./js | |
ln -s ../lib ./lib | |
ln -s ../media ./media | |
ln -s ../skin ./skin | |
ln -s ../var ./var | |
Now edit index.php: | |
before Mage::run($mageRunCode, $mageRunType); | |
ADD: | |
$mageRunCode = "veleprodaja"; | |
$mageRunType="website"; | |
Don't forget to setup website and store... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment