Migrating from testing to live: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
copy the database | 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: | Configuration: | ||
Line 13: | Line 20: | ||
Search and Metadata -> XML Sitemap -> Settings tab -> Advanced -> change default base URL ; then rebuild links tab -> rebuild links ; then List tab -> update cached files | 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 settings.php to change the database and $base_url | edit ./sites/default/settings.php to change the database and $base_url | ||
Development / Performance -> clear all caches | Development / Performance -> clear all caches | ||
= Migrating to another server | = Migrating to another server = | ||
[https://drupal.org/node/776864 drupal docs] | [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