How to setup multiple websites in Magento

In this post, we will guide you how to setup multiple websites in Magento

As you know, Magento support multi-websites. That means you can manage many websites in same backend. Each website has its own settings, themes, products, customers …

In this post, we will tell you how to create and setup multiple website on Magento 1.

Step 1: Create a website in backend

Go to System -> Manage Stores -> Create Website

Setup multiple websites in magento - Metagento

Please remember new website code because you will need it when editing index.php file.

Step 2: Create a new Root Category

( optional – if your new website has different products )

Go to Catalog -> Manage Categories -> Add Root Category

Step 3: Create a new Store

Go to┬áSystem -> Manage Stores -> Create Store, select the website and the root category that you’ve just created.

Setup multiple websites in magento - Metagento

Step 4: Create a new Store View

Go to┬áSystem -> Manage Stores -> Create Store View, select the store that you’ve just created.

Setup multiple websites in magento - Metagento

Step 5: Set new website Base URL

Go to System -> Configuration -> General -> Web -> Change “Current Configuration Scope” to the new website.

Edit Base URL in “Unsecure” & “Secure” tab using your new website domain.

Setup multiple websites in magento

Step 6: Edit index.php file

Use your Cpanel File Manager or other FTP Client as FilleZilla, WinSCP to edit index.php file. You should create a backup of this file before editing.

Add this code:

BEFORE:

Step 7: Flush Magento Storage Cache in System -> Cache Management.

It’s done, that’s how to setup multiple websites in Magento 1.

In the next tutorial, we will guide you to do this in Magento 2.

If you have any question, please leave a comment.

Leave a Reply

Your email address will not be published.