Drupal website Migration to giganetwebhosting.com top web hosting.
How to move your Drupal web site.
On the old site
- Document the modules used, their versions and paths etc.
- Document the temporary directory folder to be used in admin/settings/file-system and either prepare to edit this after restoring the database or make sure the same path exists on both sites.
- Set site to maintenance mode: in Administer → Site maintenance, choose "Off line".
- Consider updating Drupal core and modules before the migration
- Turn off clean URLs (Administer → "Clean URLs") Remember that, from now on, you'll enter the administrator part through
www.example.com/?q=user("user" should not be replaced by any user name.)
- Clear data from the cache tables. These are unnecessary for transfer and cause confusion when tidying up the data. The devel module and admin menu module contain links to do this easily, otherwise visit
www.example.com/admin/settings/performanceand click the "Clear cached data" button at the bottom of the page.
- Backup your mysql database on your old host using phpadmin, select your mysql database, usually something like "name_drpl1". Select all fields, click "export" and save the database to your local harddisk. Leave default options enabled. You will receive a file similar to "name_drpl1.sql".
This is your mysql database
- If your old site is public (on the web), consider setting your site on line: Administer → Site maintenance, choose "On line". Of course, all the modifications made on the old server from now on (readers' comments, forums posts, etc.) will be lost. Therefore, if you set back your old website on line and if it's public (on the web), consider blocking new comments to avoid users frustrations: Administer → Permissions.
- Copy the whole Drupal code – core, modules, themes, and download them if necessary or, better, transfer them directly to the new server. You could choose to use new copies instead on the new site.
- Copy the files directory and any similar directories (such as image galleries) and download them if necessary, or, better, transfer them directly to the new server.