WordPress
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.