Migrating from testing to live

From Edgar BV Wiki
Jump to navigation Jump to search

Copy files from testingdir/ to livedir/

don't forget the .htaccess file

copy the database

make sure ./sites/default/files and subdirs are chown www-data

$ chown -R www-data sites/default/files
$ chmod -R 0700 sites/default/files


Configuration:

System -> Site information: change the site name

System -> Google Analytics: Remember to change the Google Analytics web property ID

Search and Metadata -> XML Sitemap -> Settings tab -> Advanced -> change default base URL ; then rebuild links tab -> rebuild links ; then List tab -> update cached files

edit ./sites/default/settings.php to change the database and $base_url

Development / Performance -> clear all caches

Migrating to another server

drupal docs

check using the Hacked! module