简体   繁体   中英

Magento lose layouts after moving website to another server

I developed the site on the local server, and after I moved the site to another server, Magento doesn't show layouts. They do not exist on the layout dropdown in admin panel.

What could be the problem?

Below are the steps to migrate Magento Installation within different server.

Step 1: Create Full DataBase Dump of your current installation.

Step 2: Import your data base to your new server.

Step3: Create a zip of your current source code.

Step4: Upload it via FTP and after upload Unzip it.

Step5: Give proper file and folder permissions. [*]

Step6: Navigate to your installation root. Then go app/etc. open the file local.xml in text editor. Changes the data base details here. host,user,password,dbname in the xml.

Step7: Open your database. open the table called core_config_data. you have run two mysql update query here.

1 . UPDATE core_config_data SET value = http://yournewdomain.com WHERE path = 'web/unsecure/base_url'

2 . UPDATE core_config_data SET value = http://yournewdomain.com WHERE path = 'web/secure/base_url'

Note: IF your path is like www.domain.com/source then add a slash at the end like www.domain.com/source/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM