Pages

Wednesday, August 21, 2013

Moving files from local server to production server in magento

  1. Change the values in core_config_data table from http://localhost/project_name/ to http://project_name/ for both web/unsecure/base_url and web/secure/base_url
  2. Update the /app/etc/local.xml file as below:


<host><!--[CDATA[localhost]]--></host>
<username><!--[CDATA[{your_db_username}]]--></username>
<password><!--[CDATA[{your_db_password}]]--></password>
<dbname><!--[CDATA[{your_db_name}]]--></dbname>

// {write these values without quotes}



No comments: