How To Install WordPress More Than Once on Your Hosting Account

July 28, 2012 by  Filed under: Web Hosting 
 

WordPress is a great blogging and web development tool because, not only is WordPress very powerful, it’s also very free. If you’re currently using WordPress, you may be wondering if you can install WordPress more than once on the same hosting account and, if so, is it a difficult process. The good news is that yes, WordPress can be installed more than once, and the installation is surprisingly simple.

The installation method we’ll be using is to place each instance of WordPress in its own directory on your hosting account. If you only want to add a few more websites, this process is very simple and should easily meet your needs.

Before you can install WordPress a second time, you first need to create a database for it to use. The number of websites or blogs you can generate is limited only by the number of databases your hosting provider allows you to create. As a general rule, consider using the WordPress multi-site plug-in if you want to construct more than five websites.

Necessary Skills

If you decide this is the direction you want to go, you should be able to do the following before proceeding:

1. Create multiple databases within your hosting account.

2. Upload files to your hosting account using ftp software.

3. Use a text editor to edit and save files.

Step 1

Download the latest version of WordPress directly from their website at wordpress.org. Save the file in an empty directory and then unzip it within that directory.

Step 2

Log in to your hosting account and maneuver to your Cpanel, vDeck, or whatever your hosting provider calls its directory of services. Find the MySQL icon and click on it. Look around until you become familiar with how to create additional databases, then go ahead and create one. Name the new database something closely related to your new website.

Step 3

Go to the public_html directory of your hosting account and create a sub-directory named for your new website. It may be helpful to give the new directory the same name as the database you just created. Use the ftp software to upload all the WordPress files from your computer to the new directory.

You may have noticed after you unzipped the WordPress file, you are left with a few sub-folders. You will be uploading files from the “wordpress” (lowercase) folder which contains about 17 individual files and the wp-content, wp-admin and wp-includes sub-folders. Be sure these files and sub-folders go directly into the new directory of your hosting account.

Step 4

Find the wp-config-sample.php file in the new directory and rename it wp-config.php.

Step 5

Open wp-config.php with any text editor and find the following four lines of code:

define(‘DB_NAME’, ‘database_name_here‘);

define(‘DB_USER’, ‘username_here‘);

define(‘DB_PASSWORD’, ‘password_here‘);

define(‘DB_HOST’, ‘localhost‘);

On these lines, change only the items which are bolded. Also, make sure you don’t delete any of the quotation marks.

The database name is the exact name of the database you just created.

The user name and password can be anything you like, but you will need to remember them later when you log in.

The information for localhost can be copied from the area of your hosting account where you created the new MySQL database. The name of the host should look something like this: username.dot5hostingmysql.com.

Make sure you save wp-config.php after you make the changes in order to update the file with the new information.

Step 6

Very important! Go to the domain name section of your hosting account and update the pointer that identifies where your new website can be found. Make sure it points to the new sub-directory instead of to the root directory where your first installation of WordPress is probably already located. If this is not done, your new website won’t be found when try to find it on the internet.

Step 7

Now for the fun part. Go to the address bar of your browser and type in your domain name followed by /wp-admin/install.php. When you hit enter, the installation screen for WordPress will pop up and you can complete the installation by filling in the required information.

Congratulations! You now have an additional, stand-alone website you can log into and arrange just the way you like.

Article Source:

http://EzineArticles.com/?expert=Kevin_Leichner

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!


You must be logged in to post a comment.

Prev Post:
Next Post: