I have configured a multi website like bikestore. So right now i have a folder bikestore inside my main magento installation which contains index.php file and a .htaccess file. I have created few categories withen my bikestore website and i have the following url to access my bikestore website http://localhost/magento/bikestore/. and it shows me the home page with the bikestore categories however if i click on MAGENTO Home it takes me to following url http://localhost/magento instead of http://localhost/magento/bikestore/ and when i click on any categories the url it takes me is as http://localhost/magento/index.php/catalog/category/view/s/yamaha/id/11/ instead it should take me to this http://localhost/magento/bikestore/index.php/catalog/category/view/s/yamaha/id/11/.. I think I am missing some code.
多网站magento中的问题?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
douxiong1994 2012-01-09 11:48关注By default, magento does not add storecodes to the URL, try changing the following setting:
System -> Configuration -> Web -> Url Options -> Add Store Code to Urls本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报