This is an overview of necessary cleanup and issues when regenerating a Genesis WordPress site with Evolution. You should bring over any database and uploaded files via the Cambrian export/import process.
- Remove the old provisioning script:
rm bin/provision - Remove leftover directories created by Genesis:
rm -r deploymentrm -r provisioning- Typically, any subdirectory you did not explicitly create, other than
bin,lib, andweb
- Remove all your old wordpress files and directories from
web, exceptwp-contentandwp-config.php:rm -r web/wp-{a,b,com,cr,i,l,m,s,t}*
- If you've added any non-standard components to
bower.json, Evolution will overwrite them. You will need to re-add them yourself. See precisely what's changed with:git diff bower.json - Capistrano was upgraded from 2 to 3, so the following files will have changed drastically:
CapfileGemfileGemfile.lock
- Remove any possibly outdated dependencies, and then run your installs from scratch:
rm -r ./{node_modules,bower_components}npm install; bower install; bundle install
- Your
Vagrantfilewill be drastically different, and you may have to destroy and re-create your local vm - Any customizations you've made to your
.gitignorewill need to be re-added, below a demarcated line - You'll see significant changes to
web/.htaccess:- Forced redirects from
www.{domain}to the bare domain (or vice versa) are standard in Evolution's htaccess - Most security + performance tweaks from Genesis' htaccess were moved to Apache's virtual host configuration
- Any existing Genesis block should be removed
- Forced redirects from
- Are all your links prefixed with
/wp/and 404ing? Check that your themes and plugins usehome_url()instead ofsite_url()