Tutorial: Multiple WordPress Installations on a Single Host

WordPress is an excellent platform for blogging and website creation due to its robust features and low cost. If you’re already familiar with WordPress, you might be curious about whether or not it’s possible to install WordPress many times on the same hosting account and how complicated it would be. The good thing is that WordPress is relatively easy to set up, so you won’t have any trouble installing it multiple times.

We’ll install WordPress so each site has its directory on your web server. This technique is relatively easy and should easily fulfill your needs if you only wish to add a few other websites.

To reinstall WordPress, you must set up a new database first. Create as many websites or blogs as your hosting plan permits, up to the maximum number of databases your server supports. If you plan to create more than five websites, you should look at the WordPress multi-site plugin.

Abilities Required

If you’re set on going this route, you should have the skills listed below ready to go:

First, make use of your hosting account to set up numerous databases.

Use an FTP client to transfer files to your web host.

Third, change and save your files using a text editor.

Step 1

Get WordPress from wordpress.org, where you can download the most recent updates. To unzip the file, save it to an empty directory and open it.

Step 2

Access your hosting account’s features directory using the Control Panel (Cpanel), vDeck, or whatever name your provider uses. To use MySQL, locate its icon and select it. Do some research until you understand how to make a new database, and then go ahead and create one. Give the new database a name that reflects the subject matter of your updated website.

Step 3

Create a new directory in your hosting account’s public_html folder and name it after your website. The newly generated directory could benefit from having the same name as the database. Transfer all the WordPress data from your PC to the new guide using the FTP client.

Unzipping the WordPress file will leave you with a few folders, as you may have observed. The “wordpress” (lowercase) folder contains roughly 17 files, and the wp-content, wp-admin, and wp-includes subfolders, all of which will be uploaded. Make sure that this new directory is where these files and folders are uploaded to.

Step 4

In the new directory, you should rename the file wp-config-sample.php to wp-config.php.

Step 5

The following four lines of code can be found in wp-config.php, which can be viewed in any text editor:

Database Name Here define(‘DB_NAME’, ‘database_name_here’);

definition of DB User: define(‘DB_USER’, ‘username_here’);

create_function(‘DB_PASSWORD’, ‘password_here’);

to declare (‘DB_HOST,’ ‘localhost’);

Please edit only the bolded portions of these lines. Don’t forget to keep the quote marks intact.

The name of the database you just made is what you’ll use for the database name.

You can choose your username and password, but you’ll need to remember them for future logins.

The localhost settings can be copied from the section of your hosting account where the new MySQL database was set up. Username.dot5hostingmysql.com is an acceptable format for the hostname.

After changing wp-config.php, save the file so the new settings take effect.

Step 6

Extremely crucial! To redirect visitors to your new website, edit the domain name set on your hosting account. Verify that it now refers to the subdirectory where WordPress was installed rather than the root directory. If this step is skipped, your brand-new website will be invisible to search engines.

Step 7

Here comes the exciting part. Type your domain name and/wp-admin/install.php into your browser’s address bar. When you hit enter, the WordPress installation screen will appear, and you can finish setting it up by providing the necessary information.

Congratulations! You now have access to a second, independent website that you can tailor to your needs.

Read also: https://mycheapseo.com/category/technology/