Magento News
Media images not loading on second website
by rezurrection (Posted Wed, 10 Aug 2011 15:49:18 GMT)
Hi,
I am trying to set up multiple Magento websites that use 1 admin area with a unique domain for each website.
I seem to be almost there, however, on the second domain images in the media folder (i.e. product images and images in CMS pages) are not being displayed, but everything else seems fine.
I have spent a lot of time searching various forums and websites to no avail and I would greatly appreciate any help you could provide on this?
Below are the steps I have done.
1. Loaded admin on Site A
2. Created root category called Site B
3. Set up new website as follows:
a. Name: Site B
b. Code: siteb
c. Default Store: storeb.com
4. Set up new store as follows:
a. Website: Store B
b. Name: websiteb.com
c. Root Category: Store B
d. Default Store View: English
5. Set up store view as follows:
a. Store: storeb.co.uk
b. Name: English
c. storeb_en
d. Status: Enabled
6. Changed the unsecure and secure bas url for Store B to http://www.storeb.com/
7. Copied index.php and .htaccess from storea.com to storeb.com
8. Midified index.php on storeb.com as follows:
a. $mageFilename = ‘.http://magento-forum.co.uk/app/Mage.php’;
b. Mage::run(’storeb’, ‘website’);
9. Used SSH to create symbolic links on storeb.com
a. ln -s .http://magento-forum.co.uk/404/ http://magento-forum.co.uk/404
b. ln -s .http://magento-forum.co.uk/app/ http://magento-forum.co.uk/app
c. ln -s .http://magento-forum.co.uk/includes/ http://magento-forum.co.uk/includes
d. ln -s .http://magento-forum.co.uk/js/ http://magento-forum.co.uk/js
e. ln -s .http://magento-forum.co.uk/media/ http://magento-forum.co.uk/media
f. ln -s .http://magento-forum.co.uk/report/ http://magento-forum.co.uk/report
g. ln -s .http://magento-forum.co.uk/skin/ http://magento-forum.co.uk/skin
h. ln -s .http://magento-forum.co.uk/var/ http://magento-forum.co.uk/var
i. ln -s .http://magento-forum.co.uk/lib/ http://magento-forum.co.uk/lib
10. Re-indexed and cleared / refreshed the cache.
When loading siteb.com all the theme and skin files load fine and all the information is loaded from the database.
However, any images in the media folder wont display (i.e. Product images, Images uploaded through CMS etc.)
Regards,
Andrew Bolton
http://magento-forum.co.uk/viewtopic.php?f=8&t=839#p2780
Possibly Related Posts:
- Hiring #Magento #Developers at #Ahmedabad location. http://t.co/O5PmfSqi #Magento #PHP #Mysql #Jobs #Ahmedabad
- わかってるよ………… あんたの「鉄球」はツェペリの一族のより上の技術があるんだろ? 安心してるよ
- Magento Upgrade by blugreen http://t.co/ZyH6G2MO #jobs #Freelance
- Looking for #Zend #Developers at #Ahmedabad location. http://t.co/O5PmfSqi #Magento #PHP #Mysql #Jobs #Ahmedabad
- Looking for #Zend #Developers at #Ahmedabad location. http://t.co/xDkodbp4 #Magento #PHP #Mysql #Jobs #Ahmedabad
RSS Feed