Moving Magento To A Different Server

There comes a time in the life of a website when it must be moved from one server to another. This transition can be from a development/testing server to a production server or from on hosting-provider’s servers to a different hosting-provider’s server. Whatever the case might be and whatever the reason behind moving your website is, the need to move a website from one server to another is inevitable. Magento websites are no exception.

Here we present to you a list of steps you’d need to follow to get your website working after you have moved it to a different server.

Step 1

Upload your website to the new server and copy the database with its contents intact.

Changing the Database Information

Open magento/app/etc/local.xml  and edit the lines that read:

<host><![CDATA[old db host name]]></host>
<username><![CDATA[old db username]]></username>
<password><![CDATA[old db password]]></password>
<dbname><![CDATA[old db name]]></dbname>

to

<host><![CDATA[new db host name]]></host>
<username><![CDATA[new db username]]></username>
<password><![CDATA[new db password]]></password>
<dbname><![CDATA[new db name]]></dbname>

read more

Magento: Adding a ‘Home Link’ To The Top Menu

magento-sample-store

By default Magento does not have a Home Link in the top menu. If you have just created your Magento site with the sample data provided on the Magento site, you would have something similar to:

As you can see, there is no Home Link in the top menu. To go back to the Home page, a user is expected to click on the store logo which is something that a lot of users will not realise. Magento does not provide a method through which you can add a Home Link to your navigation menu using the Admin Panel.

read more

Magento Theming Basics

From what I have experienced, I feel that Magento goes out of its way to de-couple the user-interface from the backend. This has one clear advantage, if you upgrade your Magento packages, chances of the look and feel of your shopping cart not getting effected are pretty high (that is if you followed the guidelines set by Magento and refrained from replacing any of the base/default packages while theming your shopping cart in which case all bets are off and when the shopping cart reverts to looking like a new Magento installation after the upgrade, you’d better have a backup around to apply all your customizations again).

read more

Magento Installation

(Operating System: Kubuntu 12.10)

Requirements

  1. You need to have Apache, MySql and PHP installed and configured on your server to proceed.
  2. Download Magento and Magento Sample Data from here.

Setting It Up

  1. Un-compress the packages that you downloaded and copy the contents of the Magento package to your server root or a folder inside your server root (normally, for Ubuntu based systems, this would be /var/www).
  2. Copy the contents of the media folder from the extracted contents of the Magento Sample Data archive to the media folder in your magento directory.