WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a number of WordPress-enabled sites setup as virtual hosts under XAMPP on a Windows 7 development server.

An example virtual host is as follows:

<VirtualHost *:80>
ServerName siteA.localhost
DocumentRoot "C:/htdocs/siteA"

My goal is to have all the sites use the same WordPress install, which is located in it's own folder off the Document Root, ie: "C:/htdocs/wordpress".

The only WordPress files unique to each virtual host will then be the wp-config.php file and the /wp-content/ folder, which will be located off the root of each site.

Does anyone have any suggestions for how to achieve this? I've tried adding the WordPress folder as an Alias for each Virtual Host, and adding it as "php_value include_path" value for each Virtual Host as well, but neither of these have worked.

Ultimately I want to make it easy to upgrade all my WordPress-powered sites by having them share the same WordPress core.


share|improve this question

Have you considered using the multisite capabilities built into WordPress?


There is a plugin that will allow you to map multiple domains to the single installation.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.