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.
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 –
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Hope you like our tutorial. Don’t forget to subscribe to our mailing list.