How to Install WordPress – Complete WordPress Installation Tutorial

How to Install WordPress – Complete WordPress Installation Tutorial

In this tutorial, our goal is to offer a complete WordPress installation tutorial for beginners and advanced users alike.

For beginners, we will show you how to install WordPress on all top hosting platforms by using 1-click install scripts like bhosting and Hostbliz.

We will also explain how to install WordPress manually using FTP for our intermediate users.

Lastly, for our beginner developer and designers, we will show you how to install WordPress on a local computer (Windows, Mac, and Linux).

Apart from showing you how to install WordPress, we will also give you tips on things to do after you install WordPress.

How to Install WordPress – Complete WordPress Installation Tutorial

Things You Need Before Installing WordPress

Before you install WordPress, first you will need a domain name and a good web hosting company that knows WordPress.

We highly recommend that you use Bhosting because they are one of the largest hosting companies in the world. They are also an officially recommended WordPress hosting provider.

First, it will ask you to provide a site title and optionally a tagline.

How to Install WordPress – Complete WordPress Installation Tutorial

Click on the ‘Next’ button to continue.

After that, Bhosting will ask you to select a domain name and path for your website. If you have already purchased a domain name, then you can select it from the dropdown menu.

How to Install WordPress – Complete WordPress Installation Tutorial

If you don’t have a domain name then you can purchase one by visiting the ‘Domains’ page inside your Bhosting dashboard.

After selecting a domain name, you can leave the directory path blank and let Bhosting choose it for you. The installer will also show a few must have WordPress plugins that you may want to install.

You can then click on the ‘Next’ button to continue.

The installer will set up your WordPress site, which may take a few moments. After that, you will see a success message with information about your new WordPress website.

How to Install WordPress – Complete WordPress Installation Tutorial

Bhosting will also send the information to your email address.

To log into your new site’s admin area, simply click on the ‘My Sites’ tab in the Bhosting dashboard. Then, find your site and click on its ‘Manage site’ button.

On the next screen, simply find the ‘Log into WordPress’ button.

This will take you to your site’s admin area.

Congratulations, you’ve now installed WordPress on your Bhosting account.

On the next screen, you need to click on ‘WordPress’ to launch the installer wizard.

Now, you will be asked to select the domain name where you want to install WordPress and enter a directory path.

Most beginners want to install WordPress in the root of their domain name (for example, bhosting.ng). In that case, you need to leave the directory field blank.

How to Install WordPress – Complete WordPress Installation Tutorial

Click on the next button to continue.

The installer will now ask you to enter WordPress site details. You will need to provide a site title, admin username, first and last name, and an admin email address. Make sure that you have access to that email address because this is where you will get your WordPress password reset email.

How to Install WordPress – Complete WordPress Installation Tutorial

After entering all the information, click on the ‘Install’ button to continue.

The installer will now run in the background to install WordPress for you. Once finished, you will see a success message with your admin user name and password.

How to Install WordPress on WP Engine

WP Engine is the best managed WordPress hosting provider. A managed hosting account is basically a concierge service for your WordPress website.

They take care of managing your WordPress site updates, installation, and performance optimization while you focus on growing your business.

As a managed WordPress hosting company, WP Engine automatically installs WordPress when you sign up. Depending on your hosting plan, you can also create additional websites whenever you need them.

Simply, login to your WP Engine dashboard and visit the ‘Sites’ page. You will see a list of all your WordPress sites. Click on the ‘Create Site’ button to add a new WordPress install.

How to Install WordPress – Complete WordPress Installation Tutorial

On the next screen, you will be asked to provide a name for your production environment. Enter a name that helps you easily identify this website and then click on ‘Create Environment’ button.

How to Install WordPress – Complete WordPress Installation Tutorial

WP Engine will now install your WordPress environment. It will take some time for DNS changes to propagate.

After that you will be able to access the WordPress admin area by clicking on the link in the sidebar. You will also be able to see your login credentials on the same page.

How to Install WordPress – Complete WordPress Installation Tutorial

To add a domain to your website, you need to click on the add domain link. Since WP Engine is not a domain registrar, you will need to point your domain’s DNS settings to WP Engine.

To do this, you will need your site’s IP Address and CNAME. You can find this information on the overview page of your site.

How to Install WordPress – Complete WordPress Installation Tutorial

Now we will show you how to enter this information in Domain.com. The basic settings are the same for all domain registrars, you just need to find the DNS settings.

Login to your Domain.com account dashboard and click on DNS and Nameserver settings for your domain name.

How to Install WordPress – Complete WordPress Installation Tutorial

On the next screen, first, you need to change the A record with the @ sign as its name. Click on the Edit button to change its settings.

How to Install WordPress – Complete WordPress Installation Tutorial

After that, you need to enter the IP address provided by WP Engine as this record’s value and then click on Update DNS button.

How to Install WordPress – Complete WordPress Installation Tutorial

Next, you need to see if you have a CNAME record with www as its name. If you do, then you will need to edit that CNAME record. Otherwise, go ahead and click on the ‘Add DNS Record’ button.

How to Install WordPress – Complete WordPress Installation Tutorial

Add the CNAME subdomain provided by WPEngine in the Value field and then click on the Add DNS button.

That’s all you have successfully pointed your domain name to your WordPress site hosted on WP Engine.

How to Install WordPress from cPanel

Cpanel is a popular software used by many web hosting companies. It provides website owners with a simple web-based interface to manage their hosting account.

It is a one-stop access to several useful utilities including auto-installer scripts that help you install WordPress.

Hosting companies select which auto-installer script they want to use. Generally, Bhosting and Hostbliz are the most popular options.

We will show you how to install WordPress using all three auto-installers. You can follow the instructions, based on the installer you see on your cPanel dashboard.

How to Install WordPress using QuickInstall

QuickInstall is another popular auto-installer used by many hosting companies like bhosting and others. We will be using HostGator’s cPanel dashboard in the screenshots here, but it wouldn’t be much different if you are using some other host that has QuickInstall.

First, you need to login to your hosting account’s cPanel dashboard. Scroll down to the Software section and then click on the QuickInstall icon.

How to Install WordPress – Complete WordPress Installation Tutorial

This will take you to the 1-Click Installers page on QuickInstall. You will see that it offers installations for most popular web applications including WordPress. You need to click on WordPress to launch the WordPress installer.

The installer will now show you the WordPress overview. You will be asked to select your domain name from the drop-down menu.

Most beginners want to install WordPress on the root of their website, for example, bhosing.ng. In that case, you need to leave the directory field blank.

How to Install WordPress – Complete WordPress Installation Tutorial

Now click on the next button to continue. The installer will now ask you to enter WordPress details like username, email address, and site title.

How to Install WordPress – Complete WordPress Installation Tutorial

After filling in all the information, click on the Install button.

QuickInstall will now install WordPress for you. After that, you will see a success message with your login details like username and password.

How to Install WordPress – Complete WordPress Installation Tutorial

You can now click on the ‘Login’ button to enter the WordPress admin area.

That’s all, you have successfully installed WordPress using QuickInstall.

How to Install WordPress using FTP

Manually installing WordPress is also known as the famous 5 minute install. It requires few added steps, and you will need an FTP client to manually install WordPress.

Take a look at our beginner’s guide on how to use FTP to upload WordPress files.

First thing you need to do is download the latest version of WordPress.

WordPress package comes as a Zip file. You need to unzip the file and inside it, you will find a WordPress folder. This folder contains all the WordPress files you need to upload to your web server.

How to Install WordPress – Complete WordPress Installation Tutorial

Now go ahead and connect the FTP client to your hosting server. Once connected, use the FTP client to upload the WordPress files from your computer to your website server.

How to Install WordPress – Complete WordPress Installation Tutorial

If you want to install WordPress on your root domain name (like example.com), then you need to upload WordPress files to your website’s root directory. Usually this directory is called /public_html/.

On the other hand, If you want to install WordPress in a subfolder (like example.com/blog), then upload it in a folder /public_html/blog/.

Once you are done uploading WordPress, go to your hosting control panel to create a database. We will be showing you how to do that using the cPanel. If your hosting provider has a different control panel then you just need to look for MySQL databases. Rest of the settings will be quite similar.

From your cPanel dashboard, click on the ‘MySQL Databases’ icon.

How to Install WordPress – Complete WordPress Installation Tutorial

You will see a field to create a new database. Enter a name for your database, and click ‘Create Database’.

How to Install WordPress – Complete WordPress Installation Tutorial

Now that you have created your database, MySQL still needs a username. This username will have access to perform actions on the database.

On the MySQL Databases page in your cPanel account, scroll down to MySQL Users section. Simply provide a username and password for your new user and click on the ‘Create a user’ button.

How to Install WordPress – Complete WordPress Installation Tutorial

This new user still does not have access to the database you created earlier. For that, you will need to add the user to the database and give them permissions to perform all actions.

On the same MySQL Databases page in your cPanel account, scroll down to ‘Add User to a Database’ section. Select the database user you created from the dropdown menu next to user, then select the database, and click on the add button.

How to Install WordPress – Complete WordPress Installation Tutorial

You will be now asked for the privileges you want to allow this user. Select all privileges and click on the Make changes button.

Your MySQL database and user are now ready, note down your database name and MySQL username and password. You will need that information later.

Simply go to to the URL where you uploaded WordPress. If it is in the main domain, then enter your domain name in the browser window, like yoursite.com or www.yoursite.com.

You will see the language selection page. You can choose a language here so that the rest of the installation is displayed in your own language. You can also use English for now and then later change the language.

How to Install WordPress – Complete WordPress Installation Tutorial

Click on the continue button to proceed.

You will now see some installation instructions. Basically, WordPress will now tell you that it will need your database name, password, and MySQL host information.

How to Install WordPress – Complete WordPress Installation Tutorial

Click on the ‘Let’s go’ button to continue.

WordPress will now show you a form. You need to enter the database information you created earlier.

How to Install WordPress – Complete WordPress Installation Tutorial

Fill in the information and then click on the ‘Submit’ button. WordPress will connect to your database and show you a success message.

How to Install WordPress – Complete WordPress Installation Tutorial

Click on ‘Run the Install’ button to continue.

WordPress will now create tables in your database and then send you to the next step of the installation.

Now you need to provide some information for WordPress to set up your site. This includes site title, username, password, and admin email address.

If you do not want your website to be visible to search engines, then you can check the box next to search engine visibility. Later when you are ready you can change this from WordPress settings. If you are unsure about what to do, then simply leave it unchecked.

How to Install WordPress – Complete WordPress Installation Tutorial

Click on the Install WordPress button to continue. WordPress will set up your website and finish the installation.

You will see a success message showing your username. You can now click on the Log in button to sign in to your WordPress site.

How to Install WordPress – Complete WordPress Installation Tutorial

How to Install WordPress on your Computer

Many of our users ask if they can install WordPress on their local Windows, Mac, or Linux computer. The answer is yes, but most beginners don’t need to install WordPress locally.

A local website lives on your computer rather than the internet. This is perfect if you want a private place where you can build WordPress plugins and themes, and test out different WordPress features.

If you want people to visit your blog, then you shouldn’t install WordPress on your computer. Instead, you need to buy web hosting and install WordPress using one of the methods we showed above.

With that being said, if you do want to create a private WordPress blog or website then we recommend using Local by Flywheel. This is a local web software that lets you install WordPress on your Windows, Mac, or Linux computer with a single click.

How to Install WordPress – Complete WordPress Installation Tutorial

After installing WordPress locally you’ll have access to the admin area, which works exactly the same as any WordPress website. From here, you can install WordPress plugins, change your theme, and try out different WordPress features.

At some point you may want to publish your local website to the internet, so other people can see it. The good news is that it’s easy to move WordPress from local server to a live site.

To learn more, see our guide on how to install WordPress locally on Windows or Mac.

How to Install WordPress in your Language

Just like Windows, Mac, iPhone, and Android, you can use WordPress in your own language.

WordPress is available in many languages including English, Spanish, French, Arabic, Korean, German, Hebrew, Hindi, Japanese, Vietnamese, Chinese (Han), Portuguese, and many others.

You can choose a language during the WordPress installation or change it by visiting Settings » General page in the WordPress admin area.

How to Install WordPress – Complete WordPress Installation Tutorial

For more details, see our article on how to install WordPress in other languages.

WordPress is also used widely to create bilingual and multilingual websites. See our tutorial on how to easily create a multilingual WordPress site with TranslatePress.

How to Install a WordPress Multisite Network

WordPress comes with multisite functionality built-in. The multisite network allows you to create multiple WordPress sites using the same WordPress install. It can automatically create new sites on sub-domains or in sub-folders.

This makes sense for businesses, non-profits, governments with sub-sites for different locations or regions. Many educational institutes also use WordPress multisite network to allow students to create their own blogs.

The setup for a multisite is a bit complex, but we have created a complete step-by-step tutorial on how to install and setup WordPress multisite network.

Things to do After Installing WordPress

Now that you have successfully installed WordPress, here are a few things to get started with your new WordPress site.

Choosing a Theme

The visual appearance of your WordPress powered website is controlled by Themes. There are thousands of WordPress themes available for you to choose from. With so many choices, it can become a little confusing for beginners. This is why we have put together a guide on selecting the perfect theme for WordPress.

3 Steps to Prepare You to Install WordPress

Before you get started with the installation process, you’ll need to tackle these three simple tasks. These steps will help speed up the installation process and ensure you are completely ready to go.

1. Obtain web server access.

You’ll need to make sure you have web server access before installing WordPress. Web servers are software dedicated to hosting, or “serving,” websites. Web servers store, process, and deliver your web pages to those searching for your site online.

One of the most popular web server software options is Apache. It’s possible to create your own web server to install WordPress on; however, it’s more common for users to purchase a hosting provider that runs on a web server, such as Bhosting and Hostbliz

If you are using a hosting provider, you’ll need to make sure it meets WordPress’ three requirements before installation. These requirements include:

  • PHP version 7.2 or greater.
  • MySQL version 5.6 or greater OR MariaDB version 10.0 or greater.
  • HTTPS support.

2. Obtain an FTP client.

FTP, or file transfer protocol, is the method by which you will upload, download, and manage your WordPress files on your server. If you choose a hosting provider, this should be taken care of for you.

3. Download the latest version of WordPress.

You can always make sure you have the latest version of WordPress by visiting their website and downloading their most recent update.

Now, let’s review your WordPress installation options.

How to Install WordPress

WordPress keeps installation simple. No matter which method you choose, the process should only take about five minutes. We will discuss the four WordPress installation options below and who they are most beneficial for.

We recommend the simplest option — finding a hosting provider that offers automatic WordPress installation. But it’s up to you.

See the four methods below.

1. Choose a hosting provider with automatic WordPress installation.

There are several website hosting providers that offer automatic WordPress installation, such as Bhosting, Hostbliz and WP Engine, making this the easiest installation method. This is a great option if you’re new to WordPress or don’t have a background in web development.

If you’re unsure whether or not your provider offers automatic WordPress installation, check out their website. That information is typically listed on their support page.

2. Install WordPress on your computer.

You can install WordPress directly on your computer. This method is uncommon because, although you’ll have a fully-functioning website, WordPress will only be accessible locally.

This method is only useful if you’re just looking to play around with the CMS on your own and don’t want a website that others can access.

Here’s how you can install WordPress on your Windows:

Step 1. Download WAMP

You’ll have to download the best version for your computer according to its OS type. To find your operating system, head over to Control Panel > System and Security > System and then look up the System Type section.

How to Install WordPress – Complete WordPress Installation Tutorial

Step 2. Install the WampServer

Once you download the file, open the saved folder. Then follow the installation instructions and set a destination to install WampServer.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Step 3. Launch phpMyAdmin and Log In

Once the installation is complete, launch the program from the Start menu. Ensure the icon is green. This means everything is functioning correctly. However, if you spot a yellow or red icon, you need to resolve the problem by restarting the program.

 How to Install WordPress – Complete WordPress Installation Tutorial

 

Click on phpMyAdmin, to manage the MySQL database. You can access the phpMyAdmin screen through your browser by typing in localhost. It will open the WampServer configuration page.

Next, click on “Go” to access the dashboard.

Step 4. Create a Database and Install WordPress

From the tabs at the top of the page choose Databases. Create a new database for your WordPress website, enter a name and choose Collation in the drop-down menu.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Step 5. Download the platform

Go to WordPress.org and select Get WordPress. Extract the ZIP file and copy it. Then find the folder where you installed WAMP and paste the WordPress folder into its root directory.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Rename the WordPress folder to anything you want. Remember this will become the URL and title of your local WordPress site, you need to keep it descriptive and clear.

Step 6. Visit your site

Finish installing a WampServer WordPress, open your browser, and go to http://localhost/mytestingsite. Replace “mytestingsite” with the name you chose.

To begin setting up your WordPress, you’ll have to choose a language. While adding your details, use ‘root’ as the username and leave the password space blank.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Now WordPress will connect to your database. You can continue to run the installation process. Enter the site’s username, title, email address, and password for your WordPress account whenever you spot a welcome screen.

Then click “Log In” to access the local site’s WordPress dashboard. After that, you can conduct any test or troubleshooting you want.

3. Use the cPanel and auto-installers.

Installing WordPress through the cPanel is a good option if you want a bit more of a hands-on experience. This is more common for web developers or people with a technical background who want to tailor the installation process.

The cPanel is a dashboard that many hosting providers give you access to upon signing up. Once you log in to your panel with the credentials provided by your host, you should see a section in your cPanel called “auto-installers”.

Note: not all cPanels look the same, but the WordPress installation process is the same. So if your panel looks somehow different from this, don’t worry you’ll still be able to follow along.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Step 1. Under the auto-installer section in your cPanel, click on the WordPress icon.

How to Install WordPress – Complete WordPress Installation Tutorial

Step 2. You will be redirected to a page where you can click “Install Now.” Once you have clicked that button, you will be asked to enter the domain name where you want to install WordPress. No matter what cPanel or auto-installer you are using, this page should look similar

Step 3. Under “Protocol,” the default is “http.” We recommend you stick with this unless you have installed an SSL certificate – in which you should use “https.”

You’ll also be asked if you want to enter a “Directory.” In most cases, you’ll want to leave this blank to ensure WordPress is installed on your main domain.

If you leave the field blank, your URL will look like this: www.mysite.com. If you enter a directory, your URL will look like this: www.mysite.com/blog, meaning WordPress will only be installed on a portion of your site.

You can also enter the name of your website (read: business name) and description (read: purpose of your website) under “Site Settings.” If you want to change these later, you can always go back in and update them.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Step 4. The last thing you’ll need to do is complete your admin page information. Enter your admin username, password, email address, and anything else required — there may be a few more questions to complete based on the auto-installer you chose. Then, click “Install.”

How to Install WordPress – Complete WordPress Installation Tutorial

 

You should now be able to access the backend of your site on WordPress at www.mysite.com/wp-admin. This is also where you can edit your admin details if needed.

4. Manually Install With FTP

Between the number of website hosting providers that automatically install WordPress for you, as well as the auto-installers available in your cPanel, there isn’t really a need to manually install the software with an FTP. However, if you do choose this installation route, you can follow the steps below.

Step 1. You’ll need an FTP program such as SmartFTP or FileZilla (as mentioned in the five tasks you need to complete prior to beginning installation).

Next, head to the WordPress website and download the latest version of the CMS.

How to Install WordPress – Complete WordPress Installation Tutorial

Step 2. Then unzip the WordPress file and upload it to your public directory, which should look something like this: public_html.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Step 3. Go to your cPanel and find the “MySQL Databases” button. All cPanels should have a similar look, although your MySQL button may be located in a slightly different location.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Follow the prompt that asks you to enter your database name. Once you have done that, click “Create Database.”

How to Install WordPress – Complete WordPress Installation Tutorial

 

Step 4. Now that the database has been created, you’ll be asked to create a “user” for your MySQL account. Complete your username and password and click “Create User”.

How to Install WordPress – Complete WordPress Installation Tutorial

 

Give that user access to your database by adding their information as well as the name of the database you’re adding them to.

How to Install WordPress – Complete WordPress Installation Tutorial

Step 5. On the following page, you’ll be asked about the privileges you want to provide that user — make sure they are all checked.

How to Install WordPress – Complete WordPress Installation Tutorial

 

By now your FTP transfer should be complete and it’s time to visit your domain to complete the installation. If the transfer was successful, WordPress will prompt you to choose your language when you visit your domain.

Step 6. Pick your desired language and click “Continue.”

How to Install WordPress – Complete WordPress Installation Tutorial

 

Step 7. You’ll then be asked to enter your Database “Name,” “Username,” “Password,” “Database Host,” and “Table Prefix.”

Once you’ve completed those fields, click “Submit.”

How to Install WordPress – Complete WordPress Installation Tutorial

 

Step 8. Click the button that says “Run the Install.” You’ll be asked to give WordPress your admin information. This will include your “Site Title,” “Username,” “Password,” and “Email,” that you created previously.

How to Install WordPress – Complete WordPress Installation Tutorial

 

How to install WordPress

TOPICS

 

Things to Know Before Installing WordPress

Before you begin the install, there are a few things you need to have and do. Refer the article Before You Install.
If you need multiple WordPress instances, refer Installing Multiple WordPress Instances.

Basic Instructions

Here’s the quick version of the instructions for those who are already comfortable with performing such installations. More detailed instructions follow.

  1. Download and unzip the WordPress package if you haven’t already.
  2. Create a database for WordPress on your web server, as well as a MySQL (or MariaDB) user who has all privileges for accessing and modifying it.
  3. (Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file (see Editing wp-config.php) and add your database information.
    Note: If you are not comfortable with renaming files, step 3 is optional and you can skip it as the install program will create the wp-config.php file for you.
  4. Upload the WordPress files to the desired location on your web server:
    • If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (excluding the WordPress directory itself) into the root directory of your web server.
    • If you want to have your WordPress installation in its own subdirectory on your website (e.g. http://example.com/blog/), create the blog directory on your server and upload the contents of the unzipped WordPress package to the directory via FTP.
    • Note: If your FTP client has an option to convert file names to lower case, make sure it’s disabled.
  5. Run the WordPress installation script by accessing the URL in a web browser. This should be the URL where you uploaded the WordPress files.
    • If you installed WordPress in the root directory, you should visit: http://example.com/
    • If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/

That’s it! WordPress should now be installed.

Detailed Instructions

Step 1: Download and Extract

Download and unzip the WordPress package from https://wordpress.org/download/.

  • If you will be uploading WordPress to a remote web server, download the WordPress package to your computer with a web browser and unzip the package.
  • If you will be using FTP, skip to the next step – uploading files is covered later.
  • If you have shell access to your web server, and are comfortable using console-based tools, you may wish to download WordPress directly to your web server using wget (or lynx or another console-based web browser) if you want to avoid FTPing:
    • wget https://wordpress.org/latest.tar.gz
    • Then extract the package using:
      tar -xzvf latest.tar.gz

The WordPress package will extract into a folder called wordpress in the same directory that you downloaded latest.tar.gz.

Step 2: Create the Database and a User

If you are using a hosting provider, you may already have a WordPress database set up for you, or there may be an automated setup solution to do so. Check your hosting provider’s support pages or your control panel for clues about whether or not you’ll need to create one manually.

If you determine that you’ll need to create one manually, follow the instructions for Using phpMyAdmin below to create your WordPress username and database. For other tools such as Plesk, cPanel and Using the MySQL Client, refer the article Creating Database for WordPress.

If you have only one database and it is already in use, you can install WordPress in it – just make sure to have a distinctive prefix for your tables to avoid over-writing any existing database tables.

Using phpMyAdmin

If your web server has phpMyAdmin installed, you may follow these instructions to create your WordPress username and database. If you work on your own computer, on most Linux distributions you can install PhpMyAdmin automatically.

Note: These instructions are written for phpMyAdmin 4.4; the phpMyAdmin user interface can vary slightly between versions.

  1. If a database relating to WordPress does not already exist in the Database dropdown on the left, create one:
    1. Choose a name for your WordPress database: ‘wordpress‘ or ‘blog‘ are good, but most hosting services (especially shared hosting) will require a name beginning with your username and an underscore, so, even if you work on your own computer, we advise that you check your hosting service requirements so that you can follow them on your own server and be able to transfer your database without modification. Enter the chosen database name in the Create database field and choose the best collation for your language and encoding. In most cases it’s better to choose in the “utf8_” series and, if you don’t find your language, to choose “utf8mb4_general_ci”
      How to Install WordPress – Complete WordPress Installation Tutorial
  2. Click the phpMyAdmin icon in the upper left to return to the main page, then click the Users tab. If a user relating to WordPress does not already exist in the list of users, create one:

    How to Install WordPress – Complete WordPress Installation Tutorial

    1. Click Add user.
    2. Choose a username for WordPress (‘wordpress‘ is good) and enter it in the User name field. (Be sure Use text field: is selected from the dropdown.)
    3. Choose a secure password (ideally containing a combination of upper- and lower-case letters, numbers, and symbols), and enter it in the Password field. (Be sure Use text field: is selected from the dropdown.) Re-enter the password in the Re-typefield.
    4. Write down the username and password you chose.
    5. Leave all options under Global privileges at their defaults.
    6. Click Go.
    7. # Return to the Users screen and click the Edit privileges icon on the user you’ve just created for WordPress.
    8. # In the Database-specific privileges section, select the database you’ve just created for WordPress under the Add privileges to the following database dropdown, and click Go.
    9. # The page will refresh with privileges for that database. Click Check All to select all privileges, and click Go.
    10. # On the resulting page, make note of the host name listed after Server: at the top of the page. (This will usually be localhost.)

How to Install WordPress – Complete WordPress Installation Tutorial

Step 3: Set up wp-config.php

You can either create and edit the wp-config.php file yourself, or you can skip this step and let WordPress try to do this itself when you run the installation script (step 5). (you’ll still need to tell WordPress your database information).

(For more extensive details, and step by step instructions for creating the configuration file and your secret key for password security, please see Editing wp-config.php.)

Return to where you extracted the WordPress package in Step 1, rename the file wp-config-sample.php to wp-config.php, and open it in a text editor.

Enter your database information under the section labeled

 // ** MySQL settings - You can get this info from your web host ** //
DB_NAME
The name of the database you created for WordPress in Step 2.
DB_USER
The username you created for WordPress in Step 2.
DB_PASSWORD
The password you chose for the WordPress username in Step 2.
DB_HOST
The hostname you determined in Step 2 (usually localhost, but not always; see some possible DB_HOST values). If a port, socket, or pipe is necessary, append a colon (:) and then the relevant information to the hostname.
DB_CHARSET
The database character set, normally should not be changed (see Editing wp-config.php).
DB_COLLATE
The database collation should normally be left blank (see Editing wp-config.php).

Enter your secret key values under the section labeled

  * Authentication Unique Keys and Salts.

Save the wp-config.php file.

Step 4: Upload the files

Now you will need to decide where on your domain you’d like your WordPress-powered site to appear:

  • In the root directory of your website. (For example, http://example.com/)
  • In a subdirectory of your website. (For example, http://example.com/blog/)

Note: The location of your root web directory in the filesystem on your web server will vary across hosting providers and operating systems. Check with your hosting provider or system administrator if you do not know where this is.

In the Root Directory

  • If you need to upload your files to your web server, use an FTP client to upload all the contents of the wordpress directory (but not the directory itself) into the root directory of your website.
  • If your files are already on your web server, and you are using shell access to install WordPress, move all of the contents of the wordpress directory (but not the directory itself) into the root directory of your website.

In a Subdirectory

  • If you need to upload your files to your web server, rename the wordpress directory to your desired name, then use an FTP client to upload the directory to your desired location within the root directory of your website.
  • If your files are already on your web server, and you are using shell access to install WordPress, move the wordpress directory to your desired location within the root directory of your website, and rename the directory to your desired name.

Step 5: Run the Install Script

Point a web browser to start the installation script.

  • If you placed the WordPress files in the root directory, you should visit: http://example.com/wp-admin/install.php
  • If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php

Setup configuration file

If WordPress can’t find the wp-config.php file, it will tell you and offer to try to create and edit the file itself. (You can also do this directly by loading wp-admin/setup-config.php in your web browser.) WordPress will ask you the database details and write them to a new wp-config.php file. If this works, you can go ahead with the installation; otherwise, go back and create, edit, and upload the wp-config.php file yourself (step 3).
How to Install WordPress – Complete WordPress Installation Tutorial

Finishing installation

The following screenshots show how the installation progresses. Notice that in entering the details screen, you enter your site title, your desired user name, your choice of a password (twice), and your e-mail address. Also displayed is a check-box asking if you would like your blog to appear in search engines like Google and DuckDuckGo. Leave the box unchecked if you would like your blog to be visible to everyone, including search engines, and check the box if you want to block search engines, but allow normal visitors. Note all this information can be changed later in your Administration Screen.
How to Install WordPress – Complete WordPress Installation Tutorial

If you successfully install the WordPress, login prompt will be displayed.

Install script troubleshooting

  • If you get an error about the database when you run the install script:
    • Go back to Step 2 and Step 3, and make sure you entered all the correct database information into wp-config.php.
    • Make sure you granted your WordPress user permission to access your WordPress database in Step 3.
    • Make sure the database server is running.

 

  • Common Installation Problems

WordPress is well-known for its ease of installation. Under most circumstances, installing WordPress is a very simple process and takes less than five minutes to complete. Many web hosts now offer tools (e.g. bhosting) to automatically install WordPress for you. However, if you wish to install WordPress yourself, the following guide will help.

Leave a Reply

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