The document provides instructions for migrating a Drupal installation to a new environment. It recommends disabling clean URLs and taking the site offline before clearing cache, session, and watchdog tables. It then advises exporting the database, copying files, importing the database, altering settings.php, and re-enabling clean URLs before taking the site back online.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
42 views
Drupal Migration Instructions
The document provides instructions for migrating a Drupal installation to a new environment. It recommends disabling clean URLs and taking the site offline before clearing cache, session, and watchdog tables. It then advises exporting the database, copying files, importing the database, altering settings.php, and re-enabling clean URLs before taking the site back online.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Drupal migration
A few instructions when migrating a Drupal instalation
Obviously, if you've done it before (many times) without issue, than it's likely nothing to do with drupal and more to do with the change of environments. How I handle moving: 1. disable clean urls; 2. set site offline 3. clear cache tables (manually); 4. clear sessions table (manually); 5. clear watchdog table (manually); Note! You can use variable table to manually set site offline or disable clean urls; If there are some short php tags I enable short tags by htaccess. Next: Export DB; Copy files; Import DB; Alter settings.php; login thorugh site.com/?q=user; navigate to site.com/?q=admin; navigate to clean urls and reenable (provided mod rewrite is available, though I wouldn't use a host where it isn't); set site back online and check for functionality;