Git Deploying – Disabling plugin/theme installation/update on remote?

Set the constant DISALLOW_FILE_MODS to TRUE in your wp-config.php: const DISALLOW_FILE_MODS = TRUE; See the Codex for background information: Setting this constant also disables the Plugin and Theme editor (i.e. you don’t need to set DISALLOW_FILE_MODS and DISALLOW_FILE_EDIT, as on its own DISALLOW_FILE_MODS will have the same effect). It will also prevent installing or uninstalling … Read more

How can I sync WordPress plugin settings between environments?

The reliable two–way sync is simply not something that have happened in WordPress. The typical way is in line with what you are doing — pulling a copy of production database into development environment. Note that this is commonly the one direction it goes. It’s much more problematic to try sync development back to production. … Read more

WordPress and Git Workflow

I’m one of the developers of WP Migrate DB Pro, and would like to answer @Ennui’s question: “Do you know if the db url replace script it runs takes into account serialized strings?” Yes, it does handle serialized data. In fact, that is the primary reason I developed the free version of the plugin back … Read more

Is Git/GitHub a good WordPress deployment solution?

I use git for this and find it works really well. A few suggestions: Add your uploads directory (wp-content/uploads) directory to your .gitignore file. Run a web server and database server on your development system so you can test changes locally before pushing them to production. Keep your database connection settings consistent beween dev and … Read more

How to: Easily Move a WordPress Install from Development to Production?

@Insanity5902: Deployment of a WordPress site from one box to another has been a PITA since day one I started working with WordPress. (Truth-be-told it was a PITA with Drupal for 2 years before I started with WordPress so the problem is certainly not exclusively with WordPress.) It bothered me that every time I needed … Read more