Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Deploy Local magento to live server

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 272
    Comment on it

    Steps to describe Local magento to live server ?

     

    1.     Copy all of your local files to server
    2.     Delete the content of the /var folder
    3.     Export magento database from localhost and import it in server MySQL.
    4.     Edit app/etc/local.xml file and Change the respective attributes like (localhost,   username, database    name and password.)
    5.     After import database on live, you need to make some changes.

     

    Run this query:

     

      SELECT * FROM core_config_data WHERE path = 'web/unsecure/base_url' OR path = 'web/secure/base_url';

     

    you get output like this.

     

    config_id scope scope_id path value
    5 default 0 web/unsecure/base_url

    localhost/myproject

    6 default 0 web/secure/base_url

    localhost/myproject

     

    Now, Run below queury to change that values for new url

     

    UPDATE core_config_data SET value = 'http://www.yourdomainname.com/' WHERE path LIKE 'web/%/base_url';

    That’s all,  Hope this helps. Thanks.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: