Drupal for Drupal migration

I am trying to migrate hosts and I am having problems migrating from one Drupal instance to another. I have a setup on multiple sites. I am trying to save files / code as well as databases. I have transferred files from a Drupal instance from my old server to a new server. I have exported databases via phpmyadmin and imported them back using cli. For some reason, the home pages for my sites work, but the internal pages don't. When I try to navigate to the page, I get the Requested URL not found. I have installed and started a new instance of drupal 6 (same version) on a new server and it seems to be working fine. I'm guessing this is what I am doing wrong with the migration process? Any help is greatly appreciated!

+2


source to share


4 answers


Have you transferred files as well .htaccess

?

These are "hidden" (their name starts with ".") And is not displayed by default by some FTP transfer software ...



(I saw this issue a couple of days ago and get the .htaccess from the old server and put it in the new one, saved the day ^^, so maybe you have this problem too ...)

+10


source


You could only avoid this by redirecting the directory / directory. Extract the latest version to the new server and copy the modules, themes and settings from your old site. Of course, the database will also need to be moved.



This assumes that your site is up to date and you haven't changed the drupal core. Perhaps you also have a custom installation profile.

+2


source


There are a few important things to keep in mind before moving from one Drupal instance to another.

1. Optimize the tables before exporting the database.
 a) By clearing all the temporary tables
 b) By removing website cache.

For more details go through the following link:
http://goldapplesoftware.ca/blog/2011-05-reducing-drupals-disk-temporary-table-usage

2. Export database with command line so no data is lost.
+1


source


Check your httpd / apache conf file ... be sure to add:

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

      

0


source







All Articles