Skip to content

Instantly share code, notes, and snippets.

@debloper
Created November 26, 2013 01:11
Show Gist options
  • Save debloper/7651836 to your computer and use it in GitHub Desktop.
Save debloper/7651836 to your computer and use it in GitHub Desktop.
WordPress Multisite on OpenShift Express

To start from scratch

  • Create a quickstart WordPress 3.x app with PHP & MySQL cartridge
  • Setup WordPress by visiting app-url/wp-admin/install.php
  • Clone the app locally for making further changes

OPTIONAL: version update

  • Update source with new WP version

Multisite configuration

  • Add define('WP_ALLOW_MULTISITE', true); to wp-config.php
  • Visit app-url/wp-admin/ & from Tools, Network Setup
  • Update php/wp-config.php & php/.htaccess as guided
  • Revisit the wp-admin/ & check for My Sites on top
  • Repeat after me: B A Z I N G A !!!
@coreydaley
Copy link

Any chance you want to throw this together in a git repo and add it to our quickstarts list? https://www.openshift.com/user?destination=node%2Fadd%2Fquickstart

@nrdsrfr
Copy link

nrdsrfr commented May 8, 2014

any joy with getting custom domains working on each site?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment