How to install WordPress – A Complete Guide (2022)

[et_pb_section fb_built=”1″ admin_label=”section” _builder_version=”3.22″ global_colors_info=”{}”][et_pb_row admin_label=”row” _builder_version=”4.10.5″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” hover_enabled=”0″ global_colors_info=”{}” sticky_enabled=”0″][et_pb_column type=”4_4″ _builder_version=”3.25″ custom_padding=”|||” global_colors_info=”{}” custom_padding__hover=”|||”][et_pb_text admin_label=”Text” _builder_version=”3.27.4″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” global_colors_info=”{}”]

Are you excited to install WordPress and start experimenting with it? Are you still trying to figure how to install WordPress? If you are that excited then we should not waste any more time and get on it.  

WordPress is famous for its efficiency of installation. WordPress has 34 percent of its presence on the internet’s overall websites. This platform is well-known for its versatility and ease of use. This might seem intimidating and confusing at first but you will enjoy learning to work on it. In most cases, installing WordPress is an easy process and needs less than five minutes to accomplish. Major web hosting companies have a simple procedure for the installation of WordPress in just a few clicks.

In this guide, we’ll explain to you three distinct techniques for how to install WordPress software so you can initiate developing your website immediately. If you want to learn how to install WordPress on your computer using WAMP then you can check our guides for a better understanding.  

Three Ways to Install WordPress:

  1. Select a WordPress host or different web host, and it will probably have WordPress pre-installed for you. Easy!
  2. Install on your computer, and it’s a local web server plus WordPress in one application.
  3. Install WordPress on your web server in a few minutes.

Before Installing the WordPress

You will need a domain name and a competent web hosting company that knows WordPress before you can install WordPress.

We extremely suggest that you employ Bluehost because they will provide you with a free domain and a 60% discount on their hosting plan (especially for WPBeginner users).

The reason we recommend Bluehost is because they are also an officially recommended WordPress hosting provider. They are one of the most extensive hosting corporations in the world.

How to Install WordPress on Bluehost

Bluehost is one of the world’s leading hosting providers and an officially approved WordPress hosting provider. They know all there is to understand about WordPress and offer the most user-friendly WordPress installation method.

When you sign up with Bluehost, your domain name is instantly installed with WordPress. Your WordPress site will appear under the My Sites page once you log in to your Bluehost account.

Blue host integrated with WordPress login

Click on the Log into WordPress button, and the WordPress admin area appears. 

Bluehost also enables you to configure WordPress on unlimited websites with all their hosting plans except their Basic plan.

Under the My Site tab, click on the Create Site button to get started.

Blue host Create Site

Create a New WordPress Site Name

It will start the Bluehost WordPress installation wizard with instructions. It will ask you for a site title and, if desired, a tagline.

Create a New WordPress Site Name

Just click the Next button to continue.

Then, you will next be asked to choose a domain name and a directory for your website. You can choose a domain name from the dropdown menu if you have already purchased one. By visiting the Domains page from the hosting dashboard, you can always buy and add new domain names to your account.

Choose a Domain

After choosing your domain name, you can leave the index path clear and let Bluehost select it for you. The installer will also explain to you how to install a few crucial plugins.

Click on the Next button to continue.

Your WordPress site will be set up through the installer, which may take a few moments. After that, you will get a success message with the details of your WordPress site.

Installation Details

These details will also be sent to you through email. To access the admin part of your new site, click the login to WordPress icon.

You’ve successfully installed WordPress on your Bluehost web hosting account.  

How to install WordPress locally 

It is difficult to install and operate WordPress on your PCs, unlike Microsoft Word or other desktop applications. There is a process for installing WordPress on your device. Some people use a local server environment to develop themes and plugins to test out new ideas.

You do not need to install WordPress on your computer if you desire to publish a blog for others to read. When you install WordPress local computer, you are the only one who can see it. 

If you want your WordPress site to be accessible to the rest of the world, you will need to purchase a web hosting account and install WordPress using one of the methods shown above. However, if you are interested in configuring the WordPress on a local Pc, then follow these links to see the complete process: 

If you are a Mac user, then Download and set up MAMP and if you are a windows user, then Download and set up WAMP.

You might want to move your local WordPress install to a live website after you’ve played around with it on your PC. We have covered the entire process of transferring WordPress from a local server to a live site in detail in our step-by-step tutorial.

How to Install WordPress in 5 Steps:

  1. You can download the latest version of WordPress from:
  2. Using phpMyAdmin, upload the WordPress software to your web server.
  3. For WordPress, Set up wp-config.php.
  4. Upload the files in the database.
  5. Complete the installation process and Run the Install Script.  

Step 1: Download and Extract

  • Whether you upload WordPress to a different web server, utilize a web browser to download the WordPress package to your device and unzip it.
  • Skip to the next step if you will be utilizing FTP- uploading files will be discussed later.
  • Whether you have shell access to your web server and are satisfied with console-based technologies, you can use wget (or lynx or another console-based web browser) to download WordPress directly to your web server instead of FTPing: wget-
  • Then use the following commands to extract the package: tar -xzvf latest.tar.gz

Note:- The WordPress package will extract into the same folder that you downloaded latest.tar.gz.

Step 2: Create and Build a User and Database 

  • If you use web hosting, your WordPress database is an automated setup solution for you. Check your hosting provider control panel (Support page), so you do not have to create setup manually. If you determine that you will need to create manually, see the section below on Using phpMyAdmin to build your WordPress database and username. If you have to use other tools such as cPanel, Plesk, and MySQL client, we recommend this article Creating WordPress Database to read.
  • Install WordPress and make sure your tables have a unique prefix to avoid overwriting any existing database tables if you already have a database in use.

Using phpMyAdmin

If your web server has phpMyAdmin installed, you can use these instructions to create your WordPress login and database. If you are working on your laptop, most Linux distributions will automatically install PhpMyAdmin.

Note: These instructions of phpMyAdmin may slightly change between versions.

  1. If you do not already exist in the Database dropdown on the left, create a database relating to WordPress: 
  • Choose an appropriate name for the WordPress database. Most of the hosting services will need a username that initiates with an underscore or purchase item name. We recommend that you check your hosting service instructions so that you can follow them on your server and transfer your database without modification.
  • In the Create database section, enter the name of the database you want to create, then select the optimum collation for your language and encoding. In most circumstances, it is better to pick in the utf8_ series and, if you do not discover your language, then choose utf8mb4_general_ci.
Localhost Myphpdatabase
  1. To return to the main page, click on the phpMyAdmin icon in the upper left and click on the User tab. Create a WordPress-related user if one does not already exist in the list of users:
User Overview

Create User and Password

  1. Navigate to the user Tab and click on Add User.
  2. Enter the appropriate user name in the User name field(Make sure you can use the text field), select the text form dropdown.
  3. Create a strong password(Including a combination of numbers, upper- and lower-case letters, and symbols), insert it in the Password field, and Re-enter the password in the Re-type field.
  4. Enter the password and username you chose.
  5. Leave all options to default under Global privileges.
  6. Click on Go.
  7. Go back to the Users screen and click the Edit privileges icon on the WordPress user you just established.
  8. In the Database-specific privileges segment, choose the database you have just built for WordPress below the Add privileges to the following database and click on Go.
  9. The page will reload with the database’s privileges. To choose all privileges, click on Check All and Click on Go.
  10. Take note of the hostname listed after Server: at the top of the page on the resulting page.
Server Local host

Step 3: Set up wp-config.php 

  1. You can either build and update the wp-config.php file manually or skip this step and allow WordPress to do it for you when running the installation script (step 5).  
  2.  In Step 1, where you extracted the WordPress package, open it in a text editor and rename it to wp-config.php.
  3. In the section labeled, enter your database information, some of them you already did in the above steps.

Note: MySQL settings This information is available on your web host.

  • DB_NAME  
  • DB_USER 
  • DB_HOST 
  • In most cases, the database character set remains the same.
  • Frequently the database collation should be left blank.
  • In the box labeled * Authentication Unique Keys and Salts, enter your secret key values.
  1. Save the wp-config.php file.

Step 4: Upload the files

Now you will require to determine where on your domain you would prefer your WordPress-powered site to appear:

  • In the root or subdirectory of your website. (For example, or

In the Root Directory  

  • Use an FTP client to upload all the contents of the WordPress directory into the root directory of your website if you need to upload your files to your web server.
  • If your files are on your web server and you are installing WordPress with shell access, copy the contents of the WordPress directory to your website’s root directory.

In a Subdirectory 

  • If you want to upload your data to your web server, rename the WordPress directory to whatever you want, then utilize an FTP client to upload it to your desired section within your website’s root directory.
  • Whether your data(files) are already on your web server and you are installing WordPress with shell access, migrate the WordPress directory to your desired section within your website’s root directory and rename it to whatever you want.

Step 5: Run the Install Script  

To initiate the installation script, navigate to a web browser.

  • You should visit if you placed the WordPress files in the root directory or for subdirectory visit

Setup configuration file 

If WordPress is unable to find the wp-config.php file, it will notify you and allow you to try to build the file itself (Alternatively, you can also go directly to wp-admin/setup-config.php in your browser). WordPress will prompt you for database information and store it in a new wp-config.php file. If this succeeds, continue with the installation; if not, go back and manually upload, edit, and create the wp-config.php file (step 3).

Database Information

Finishing installation 

The following screenshots show how the installation progresses and briefly explain the above steps.  

Finishing installation with WordPress

A login prompt will appear if you successfully install WordPress.


Leave a Comment

Your email address will not be published. Required fields are marked *

Related Posts

Regex is a useful string of characters that defines a search pattern. In the security world, regular
When developing an application or any other software, the security of the finalized product is one of
Sometimes the development teams employ unconventional practices to fix bugs or add new features without realizing the
Scroll to Top