How to create new website in Magento

Steps:

1. Make an empty folder inside the root Magento folder.

2. Rename it as u want to name for ur website.(e.g. demo website)

3. Copy the two file (1:index.php ,2:.htaccess) from Magento folder and paste both file
In to ur website folder i.e. demo website.

4. Now open backend i.e. admin panel (http://localhost/magento-1.4.0.1/admin)
And login into admin panel (use same username and password u created at the time of installation process.)

5. Now click on system tab ->manage store.

6. Next u will get new window which show some buttons
click on create website button then fill information i.e. website name same as u create website folder above i.e. demo website and click on save config button.

7. Next click on create store button (u can create multiple stores) ,fill all info and press save button.

8. Next click on create new store view button (which is use for create locale i.e languages for website , u can create multiple store view ) and press save button.

9.next click on system->configuration then select Current Configuration Scope of ur website ->web->Unsecure then set Base Link URL:{{unsecure_base_url}}demo_website/

10.next click on system->configuration then select Current Configuration Scope of ur website ->web->secure then set Base Link URL:{{unsecure_base_url}}demo_website/
Next press save button.

11. Now ur new website i.e. demo website has been created. Please check the URL:http://localhost/magento-1.4.0.1/demo_website
12. If u found error app/Mage.php was not found in Magento-1.4.0.1 then open index.php of website and replace $mageFilename = 'app/Mage.php'; to $mageFilename = '../app/Mage.php';

NOTE: FOR LOCALHOST ONLY NOT FOR LIVE DOMAIN.WHEN U UPLOAD ON LIVE DOMAIN MAKE IT ENABLE.
1. PLEASE DESABLE CACHE FOR FAST PERFORMANCE AND TO APPEAR NEW CHANGES.
SYSTEM->CACHE MANAGEMENT->SELECT ALL CHECK BOX AND SELECT ACTION AS DESABLE
AND PRESS SUBMITS BUTTON.ALSO FLUSHES ADDITIONAL CACHE MANAGEMENT BY MANUALLY PRESS BUTTON.

2. TO GET HINT FOR DEVELOPER
SYSTEM->CONFIGURATION->SELECT CURRENT CONFIGURATION SCOPE OF UR WEBSITE ->ADVANCED ->DEVELOPER ->DEBUG ->Template Path Hints=YES AND
Template Path Hints=YES.
NOW REFRESH THE FORNTEND AGAIN.
How to create new website in Magento How to create new website in Magento Reviewed by Web Technology Funda on 10:49:00 PM Rating: 5

No comments

Free! Free!Free! Subscribe to Get Free PHP (Magento) tutorial Update in Your Inbox!!! Hurry Up!!!