Explanations for beginners

How to install WordPress and launch your site – 3 different ways

install WordPress

In order to install WordPress on hosting or build your site based on WordPress, you will need: Register a hosting plan and your domain name , then install WordPress to get your site ready.

  • Domain name : The URL that people will use to visit your site (: www.money7u.com).
  • Hosting plan You will need to choose a web host for your site. This hosting company will provide a place for your website on the Internet. 

There are many companies that provide hosting services and each of them has different features and multiple plans such as: ( SiteGround , dreamhost , Hostgator , Bluehost ).

If you signed up for a hosting plan with one of the previous companies, you will have the option of a one-click (One-Click Install) installation for WordPress, or through the installation manually.

Install WordPress in one click

You can install WordPress with one click (One click install), the method differs from one host to another, but the idea is fixed in most hosts and is often done as follows:

  1. Go to Domains > One-Click Install: 
  2. You will see a list of options here, from which you have to choose WordPress.
  3. Next, you have to select the domain where you want to host your site.
  4. For a database selection, you may want to leave this field as the default, unless you have an existing database that you want to use to install your site.
  5. A number of premium themes and plugins will be pre-installed; So you can use them right away, and additional security improvements will be added to your site files.
  6. Once you have completed filling in all the fields above, click install it for me now.
  7. Next, check your inbox for the email address associated with your hosting account. You will receive an email with your username and a password reset link for your new site.

Let’s take an example by building our site with Bluehost hosting:

1- Go to the Bluehost website , then press the green button (Choose Plan)

Bluehost hosting

2- Choosing the right plan

3- Choose the domain name.

domain name

4- Go to the next page; To complete the information in order to complete the domain purchase.

5- After confirming your account and purchasing the domain, you will be able to access the hosting control panel where you will be able to install WordPress.

6- After installing WordPress, you will have some questions to answer regarding the domain you want to use, and the directory you want to install WordPress in.

7- After about 24 hours, your site will be installed on your hosting account and a confirmation message will be sent to your email.

We will take another example of installing WordPress through Hostgator hosting , so you know that the steps are similar for almost all service providers

Install WordPress on HostGator:

You can install WordPress on your hosting account using QuickInstall, and within minutes you will have your own site.

You have to follow these steps:

1- First, you have to log into your HostGator control panel and look for the (QuickInstall) icon and click on it.

2- On the next page, you have to choose to download WordPress (it will be free to install).

3- After that, you have to select the domain you want to download WordPress on.

4- Then a new page will open, you must enter some information (such as username and email) and then press the (Install Now) button. You should also pay attention to activating the option to create the database automatically.

5- After that, a new page will open where HostGator suggests that you can find a template to download (this option can be skipped for now).

6- Now that WordPress is installed and you own your website, a message will be sent to your email containing (control panel link, username and password).

Create a WordPress website based on WordPress.com

WordPress.com also offers a hosting and domain service that starts with a free plan with limited features, or get a paid plan with different prices depending on the capabilities you will get. You can choose from the available plans .

Then, you complete the installation steps of your WordPress site and it is ready for users, and you complete customizing it as we will explain in the rest of the article.

Installing WordPress manually

Another option is to install WordPress by downloading it from the official website and then installing it through the hosting control panel manually.

You have to follow these steps:

1- Download the latest version of WordPress from the official website.

2- Unzip the downloaded file and save it to your computer

3- Download the WordPress file (which was downloaded and decompressed in the previous step) on the hosting.

You can upload files to hosting via File Transfer Protocol ( FTP ) which is what most web developers use to upload their files, pages, and images to the Internet. From apps like: FTP Filezilla (and Core FTP)

You can also upload files using File Manager, where you can do this by entering your control panel and using the file manager. (File manager, is a web interface that allows you to manage all files associated with your account).

4- The next step is to create the database and username

You need to log in to the control panel, then go to the Databases section and click on the MySQL Database Wizard icon.

  • You then need to create a database, username, and password.
  • Then you add a user to the database.
  • After that, you have to save the database name, user name and password so that you can use them in the next steps.

5- Configure the wp-config.php
file The wp-config-sample.php file contains the database information and allows WordPress to know which database to pull the information from.

What should be done?
  • Log in to the control panel and go to the files section and select (File Manager)
  • Then you have to find the folder (public_html) and open it
  • Then you should locate the file (wp-config-sample.php) and rename it to (wp-config.php), then right-click on it and select (Code Edit). Then find the following piece of code:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );
/** MySQL database username */
define( 'DB_USER', 'username_here' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
/** Database Charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );
/** The Database Collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );


  • Now you have to change the name of the database to the name you wrote previously, as well as for the username and password.
  • When you have finished editing, you must save the changes and exit.

6- The next step, is to start the installation
you have to go to your browser and type your domain name, where you will be redirected to a URL like

7- After that, you will see the WordPress installation page (where you need to select the language you want)

where you need to select

8- After that, the welcome page appears (where you need to enter the required information).

Such as the site address, user name, password and e-mail, and when finished, we click on (install wordpress)

9- After installation, you will have your own website using WordPress.

Common problems you may encounter while installing WordPress

If you install WordPress through automatic or manual installation, most likely things will go smoothly, God willing, and your site will be ready, but sometimes you may encounter some problems.

We will now tell you about the most common problems when installing WordPress, and ways to solve them

Problem 1: Browsing the index list on the main page

You will find the home page of your site as follows instead of browsing the home page of the site

When I try to access my site, it displays a list of files and directories instead of the usual pages.

What you see is the default behavior of the web server (providing a list of files and directories) if there are no files named (index.html) or (index.php) in the root folder.

There are many possible reasons for this, including:

  • The main file may be corrupt
  • The user inadvertently deleted the file.
  • Your site has been attacked

The solution:

Either make the file again or check if you have a backup copy of the file to restore.

Problem 2: Headers already sent error

This error occurs because an error was entered when editing the wp-config.php file.

The solution:

Load the wp-config.php file again, open the file in a text editor and make sure that the first line is (<?php) and that there is nothing before it.

Next, make sure that the last line is (?>) and that there is nothing after it.

Then save and reload the file, and reload your page.

Problem 3: Error connecting to database

The problem could be caused by:

  • The database information you entered during setup is incorrect.
  • The database is corrupt.
  • The database server is not responding.

For WordPress it uses a database to store all of your content and every time someone visits the website, it will connect to the database to fetch the information.

WordPress needs the following information to connect to the database:

  • Database name
  • Database username
  • database password
  • database server

If there is an error in any of this information, you will see the error, because WordPress is unable to connect to the database server

The solution:

  • Check your database data on WordPress
  • Check database host information
  • Perform a database update
  • Check if your database server is down.

Read also: How to properly install and activate the WordPress plugin on your site

Launching your site for business

After you have successfully installed WordPress, we advise you to customize your site by installing the template and start publishing the contents of your site.

You may add posts and pages to your site.

Then you may customize your settings.

You can add other features to your site by installing some plugins.

Installing WordPress on the local server

You will use this option if you want to create your site but do not want to publish it on the Internet (for the purpose of training and learning, for example).
Steps to install WordPress on the local machine:

1- First, to make your PC a web server, you need an intermediate package (XAMPP, WAMP, MAMP) This software is a software package that includes all the things you need to set up a local server environment on your computer. 2

Download XAMPP.

2- Go to WordPress.org and download the WordPress package.

3- After that, go to the place where you downloaded the WordPress package and decompress the folder and then copy and paste it in the following place: C:/Program Files/XAMPP/htdocs

4- Open your web browser and enter the following URL in the browser address bar.

https: // localhost / website1 /

where website1 is the name of the folder you placed in the previous step.

5- Fill in and complete the installation information.

6- In the next step, you will need to enter a database name, username, password and also host information.

7- To create a database for your WordPress site.

You will need to open a new browser tab and visit

 https: // localhost / phpMyAdmin /.

This will launch the phpMyAdmin application that comes with the pre-installed XAMP package, allowing you through a simple interface to manage your databases. You will need to click on Databases and enter a name for the new database. After that, click on the Create button to continue.

8- Now that we have a database created, we can use it for your WordPress site.

You should go back to the /localhost/website1/ tab in the browser and click on the “Let’s Go” button.

On the next screen, you will be asked to provide your WordPress database information. Enter the name of the database you created earlier. Your username is “root” and the password field must be left blank. For the database host field, you need to use localhost (which is localhost).

9- Once you fill in all the information, click on the “Install WordPress” button to continue.

WordPress will now run the installation and prompt you to log in once it’s finished. You can login to your website by going to /localhost/website1/wp-admin and use the username/password you entered during installation to log in.




What do you do after launching your WordPress site?

Owning a new website is exciting, but it can be a little intimidating, especially if it’s your first site.

Don’t worry: WordPress is easy to set up and gives you multiple options. Once your site is successfully installed, you’ll need to spend some time exploring the options available.

 The most important sections of the WordPress dashboard:

  • Settings: This is the first tab you need to know, where you can make sure that your site is configured the way you want it. 
  • Appearance: Under this tab, you will find the Themes section. Here you can define a theme for your own site, which will largely determine the look and layout of the site.
  • Plugins : If you are looking to add some plugins to a site, this is the place to go. If you choose the Deluxe installation option, you will see some great tools pre-listed. 
  • Posts and Pages: You need these two tabs to start creating your site’s content.

It takes a while to get used to using the WordPress dashboard, but there’s no rush. If you make an effort to learn things at first, it will make it easier for you to make a lot of changes later. In addition, if you find yourself confused or encounter an issue, don’t get confused, there are plenty of people online who are willing to help you and suggest solutions to solve your problem.


What is your admiration?

Back to top button