Migrating from testing to live: Difference between revisions
Jump to navigation
Jump to search
Created page with "Remember to change the Google Analytics web property id config!" |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Remember to change the Google Analytics web property | 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 | |||
<pre> | |||
$ chown -R www-data sites/default/files | |||
$ chmod -R 0700 sites/default/files | |||
</pre> | |||
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 = | |||
[https://drupal.org/node/776864 drupal docs] | |||
check using the Hacked! module |
Latest revision as of 10:21, 7 May 2014
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
check using the Hacked! module