Multiple WP Sites Same Server – Share WP Base?

I have seen similar questions but none with a definitive answer. I host dozens of WP sites on a cloud server (all latest version) however this causes a lot of unnecessary backup activity. I am not a fan of multisite. Really I am just looking to simplify by keeping a core set of files in a central location that can be read by all domains. The preference would be to extend this by allowing versions.

Core > 3.2.1

Core > 3.2.2

then point a domain to the prefered version of central files.
This would allow me to backup only uploads, theme and database files.

Wondering if there is some documentation out there on this subject without having to do any heavy modifications?

2 Answers
2

Sharing single set of core files without multisite is a setup technique that kind of make sense, yet kind of very under explored – exactly because multisite exists.

The latest iteration of it (that I know of) has been suggested by Mark Jaquith to be:

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

Note that symlinks are used to “fake” core files still being present in every site. Trying to load JS resources from different domain is problematic because of browsers’ security measures. With subdirectory layout it should be trivial to exclude them from backups, etc.

Leave a Comment