Migrating from testing to live: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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: |
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