Install multiple WordPress installations to single domain

Install multiple WordPress installations to single domain


Create multiple sites through multiple installs

Another way of having multiple WordPress installs on your domain, is to actually install each separately (that is, as a separate WordPress installation). Put each install in its own sub-folder (directory), such as www.giancarlocolfer.com/blog/ and www.giancarlocolfer.com/shop/. You can do this whether you have the ability to create multiple databases or are limited to a single database.

After each install, make sure to edit each WordPress installations .htaccess file and define the WordPress install path. For example, the following .htaccess snippet would define the path to my blog install in my www.giancarlocolfer.com/blog/ sub-folder (directory).

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress

If using a single database to store multiple WordPress installs, make sure to give unique identifiers for each blog in your database table prefix in your wp-config.php file before you install each.

$table_prefix = 'wp_'; // example: 'wp_' or 'blog1' or 'blog2_'

Upload each wp-config.php file to its specific root/installation directory, and run the installation.

You can imagine how time consuming this repetitive task becomes having 50+ folders with 50+ WordPress installs. Various techniques have been developed for installing multiple blogs, one such uses 1 set of ordinary WordPress install files, with a technique called Virtual Multi-Blog.

Pages: 1 2 3




About Giancarlo Colfer
Giancarlo Colfer
Affinity Media & Publishing Group's Founder & CEO

New York Experienced Professional Web Developer & Web Designer with over 18 plus years of experience in HTML, CSS, JavaScript, PHP and more.



Enjoyed this? Share this!

Subscribe to my RSS Feeds, Connect with me or simply recommend me to friends and colleagues!

  • digg
  • stumble
  • delicious
  • reddit
  • tumblr
  • pinterest
  • twitter
  • facebook

JOIN the CONVERSATION
4 Responses to “Install multiple WordPress installations to single domain”

Be heard! Get involved and post your thoughts on WordPress today!

Read the comments left by other users below, or:


Guidelines: You share in the Affinity Media & Publishing Group, LLC community, so please keep your comments smart and civil. Do not attack other readers personally, and keep your language decent.

XHTML: You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Signed in as [ Guest — Welcome! ]

AvatarNot sure how to get an image with your comment?

Terms of use: The views, opinions and comments posted are yours, and are not endorsed by this website. You shall be solely responsible for the comment posted here. The website reserves the right to delete, reject, or otherwise remove any views, opinions and comments posted or part thereof. You shall ensure that the comment is not inflammatory, abusive, derogatory, defamatory &/or obscene, or contain pornographic matter and/or does not constitute hate mail, or violate privacy of any person (s) or breach confidentiality or otherwise is illegal, immoral or contrary to public policy. Nor should it contain anything infringing copyright &/or intellectual property rights of any person(s).

134 Comments

  1. Giancarlo Colfer Giancarlo Colfer said 11 years ago: Lorem ipsum dolor sit amet tincidunt. Ultrices at elit. Leo purus fringilla. Magna aenean aptent. Facilisis justo lorem molestie mus amet id eu tincidunt scelerisque aliquet eget maecenas vehicula ut. Molestie lobortis mauris vel erat aenean nulla rutrum lorem sit augue non. December 13, 2013 at 5:17pm

1 Pingback

Other websites linking to this article.

  1. […] Install multiple WordPress installations to single domain […]

    Pingback by Author— November 26, 2013 at 4:16 pm
  2. tnx for info!!

    Trackback by Jay— October 24, 2014 at 4:00 am
  3. Thanks for the information.

    Trackback by max— November 14, 2014 at 8:07 am