How to make a second install of WordPress on the same site

In this tutorial, I’ll go over how to create a second WordPress install into a subdirectory assuming you already have a WordPress install in the root directory on the same site.

Move the original WordPress install from the root directory into a subdirectory

  1. Use an FTP program to move the WordPress install files from the root directory into a new subdirectory. This includes all the WordPress files and folders and they look something like this.
  2. Log into cPanel and use phpMyAdmin to update the ‘options’ table. In the ‘options’ table, update the ‘siteurl’ and ‘home’ fields to have the path to the subdirectory. Example: ‘’.

Install WordPress into a second subdirectory and direct website visitors to it

  1. Use cPanel to install WordPress into a subdirectory, let’s call the new subdirectory ‘asteroid’.
  2. Create a.htaccess file using notepad and ftp it into the site’s root directory. The .htaccess file should look like this.
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /asteroid/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /asteroid/index.php [L]
    # END WordPress

Now you have 2 installs of WordPress on one website. The new installation is what visitors to the website will see and the previous install is hidden away, but still accessible.


Published by

angelo bonavera

Hi I'm a web developer and I run a web hosting company called

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s