WordPress is the most popular Content Management System used by millions of bloggers, ecommerce companies and website owners to run their websites. If you are a new user then this tutorial on installing WordPress will help you to set it up on your website within a matter of few minutes.

In this tutorial I will explain how to install WordPress in your domain. Then I will explain how to install WordPress using FTP and in the end I will explain WordPress installation procedure in local computers.

Requirements for Running WordPress

You should have a domain and a good hosting to run WordPress. All our hosting plans support WordPress which can be installed in just one click.

Since the tutorial is long and detailed, it is divided into 3 sections –

How to Install WordPress in Hosting Account

How to Install WordPress using FTP

How to Install WordPress in your Computer

WordPress is full of excellent plugins which does any type of work you require to be done. One such important plugin is Yoast SEO Plugin which helps in optimizing your website.

How to Install WordPress in Hosting Account

All our hosting provides installing WordPress in just few clicks. Log in to your YogiHosting account and go to Hosting. There find the WordPress icon and click it to open the auto-installer for WordPress.

Next click install this application button, which will take you to the Install window.

Here, under the Location area, select the domain name where you want to Install WordPress.

Next, under the Settings area, put Administrator username, password and email address.

Finally click the Install button at the bottom.

Do you need forms in your WordPress site, then use MailChimp Contact Form free service.

You will see a progress bar with installation status and WordPress will be installed within a few seconds.

Now you can access your WordPress with the credentials you provided.

How to Manually Install WordPress using FTP

Manual Installation of WordPress is commonly known as WordPress 5 Minute Install, and has a few steps. It requires FTP client software to upload the files.

A good free FTP client is FileZilla, you would also like to see this tutorial – Using FileZilla FTP Client to upload and download files from Hosting Server , on FileZilla.

Download WordPress

The first thing is to download the latest WordPress from https://wordpress.org/download/. Then unzip the files in your local drive and upload all these files to you hosting directory using FTP client.

Note that to make an FTP connection to your hosting you will need FTP account. The FTP account can be created from your hosting itself.

The /public_html/ directory is usually the root directory of your domain. So upload all WordPress files to it. To install WordPress in a sub-directory of your domain, create a new directory in /public_html/ and give it some name like ‘Blog’, and upload all the WordPress files into this new directory.

WordPress Database

Now create a MySQL database from your hosting account. Find the MySQL database icon as shown in the image below and click it.

In the given field enter the database name and click Create Database button.

With the database created now, you need to create a user which accesses this database. So see under the Add a New User heading, and enter the username, password and then click Create a User button.

After the user is created add this user to the database.

Now you will be asked to provide this user with privileges, select ALL PRIVILEGES and click Make Changes.

Rename & Edit wp-config.php File

With the WordPress database ready, use FTP client to rename wp-config-sample.php file to wp-config.php, which located in the directory where you uploaded the WordPress files.

The wp-congfig.php file contains the database information and let WordPress to communicate with the database.

You need to edit the wp-config.php file to start the WordPress Installation. If you are a Windows user use Notepad else if you are Mac user then use Smultron. You need to Add database name, database username, database password and database hostname in this file.

Note: The database hostname is usually localhost but sometimes it can be different. To confirm this go to the database section of your hosting or contact the hosting customer support.

Grab the Authentication Unique Keys and Salts from https://api.wordpress.org/secret-key/1.1/salt/, and change this section of wp-config.php file with it.

Finally save all changed in your wp-config.php file.

Run WordPress Installation

Simply open your website’s URL in your web browser. This will run the WordPress Installation. If the WordPress is uploaded in the root folder of the domain then open www.mysite.com, if it is uploaded in a sub-directory then open www.mysite.com/subdirectoryname.

First select the language and press Continue button.

In the Welcome window. enter values for Site Title, Username, Password and Your Email. Then press the Install WordPress button.

You will see Success message telling Installation of WordPress is completed and you can use the site now.

How to Install WordPress Locally in your Computer

WordPress developers need to run WordPress locally in their Computers. They build and test WordPress Themes and Plugins in their computers before using them in their websites.

XAMPP WordPress

To Install WordPress locally in your computer, download and install XAMPP WordPress Click Here. Then go to the installed directory and run xampp-control.exe file.

This will open the XAMPP Control Panel. Press Start button against the Apache and MySQL module.

WordPress Database

With the Apache and MySQL modules running open the URL – http://localhost/, in your web browser and click on phpMyAdmin link on the left to create database for WordPress website.

Create WordPress Directory

Go to the XAMPP installed directory in your local PC drive, and find the htdocs folder. Create a new WordPress website directory and give it some name like ‘mywebsite’.

Then inside the ‘htdocs’ folder, unzip all WordPress files in this folder and rename ‘wp-config-sample.php’ file to ‘wp-config.php’. Now edit the wp-config.php file to add the database values and Unique Keys and Salts as stated in the above paragraph.

Finally, open http://localhost/mywebsite/ in your browser to run WordPress installation.

With it you have successfully created WordPress Localhost and can run WordPress websites locally.

Conclusion

Hope you like our tutorial. Don’t forget to subscribe to our mailing list.