Drupal - Move from live to local environment
Today i experienced in moving drupal from live to local environment.
#Problem
1. copy whole site folder to local server. (example: /public_html)
2. copy the database to local server.
3. investigate & update the database
#Problem
- Site redirected to live site when i open 'user/login'
#Issue
Problem may come from the site SSL setting, default Drupal settings, or the HTACCESS configuration.
#Solution
1. copy whole site folder to local server. (example: /public_html)
2. copy the database to local server.
3. investigate & update the database
- turn off ssl - refer here
4. update setting files
- update settings.php - refer here
5. update .htaccess
thats all.
Comments
Post a Comment