2015-03-13 76 views
0

你好我m跑在Magento 1.7兩家店..乳寧Mullti商店上的Magento

abc.example.com xyz.example.com

abc.example.com是主力店和從那裏即時通訊使用magento管理面板。 Mage :: run($ mageRunCode,$ mageRunType);我想將索引文件改爲 Mage :: run($ mageRunCode,$ mageRunType); 至 Mage :: run('xyz_code','xyz.example.com');

但從這我重定向到404頁。當我保持第一個參數空如Mage :: run('','xyz.example.com');網絡打開abc.example.com

任何想法是什麼造成的?

回答

0

將索引文件更改爲Mage :: run($ mageRunCode,$ mageRunType);到Mage :: run('xyz_code','xyz.example.com')。您需要創建符號鏈接以指向幾個目錄。

ln -s ../public_html/app ./app 
ln -s ../public_html/errors ./errors 
ln -s ../public_html/includes ./includes 
ln -s ../public_html/js ./js 
ln -s ../public_html/lib ./lib 
ln -s ../public_html/media ./media 
ln -s ../public_html/skin ./skin 
ln -s ../public_html/var ./var 

這可能對你有幫助。 http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/navigation/multiple-website-setup