I want to create secondary website to be accessed in a subfolder. My base magento installation folder is in domain's root http://mydomain.com/
. I am setting up secondary website in http://mydomain.com/ws2/
.
I have created the secondary website in Magento Admin, given the code ws2
and set unsecure and secure base urls to http://mydomain.com/ws2/
.
Since I am on a shared hosting, and I don't have access to apache configuration, I have followed this tutorial with Step 2- Method 1 Separate Directories for Each Store.
Essentially, I have created a new folder, copied there index.php and .htaccess. I have created the symlinks pointing at the app
, include
, js
, lib
, media
, skin
, var
folders of the root installation.
I have edited index.php in ws2 folder, changing last line to:
Mage::run('ws2', 'website');
Unfortunately, when I access the url http://mydomain.com/ws2/
, I get 404 Page Not Found error.
Have I made a big mistake? If no, how can I debug this?