Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpsmith/0a842fdc7b9d689a467fe5aebd14f583 to your computer and use it in GitHub Desktop.
Save wpsmith/0a842fdc7b9d689a467fe5aebd14f583 to your computer and use it in GitHub Desktop.
WordPress multi-tenant directory structure sharing core files for opcode awesomeness, fast deployments, and low disk usage. With inspiration from @weskoop. "=>" indicates a symlink.
sites
|__ ms.dev
| |__ content
| |__ index.php
| |__ wp => ../../wordpress/stable
| |__ wp-config.php
|__ one.dev
| |__ content
| |__ index.php
| |__ wp => ../../wordpress/stable
| |__ wp-config.php
|__ two.dev
| |__ content
| |__ index.php
| |__ wp => ../../wordpress/stable
| |__ wp-config.php
wordpress
|__ 3.5.2
|__ 3.6
|__ stable => 3.6
|__ wp-config.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment