WordPress Localhost: Complete Installation (Step by Step)

wp developer

Knowing how to install WordPress Localhost is crucial and believe us: it helps a lot to develop the site. In this scenario, it helps to reduce the cost of hosting and especially when developing the website.

When the installation is directly on your PC, it makes your daily life easier. Therefore, it is crucial to know how to install it correctly on your personal computer.

The purpose of the text is to show more information about WordPress Localhost. So, see the steps below and start the installation today, after all this content is for you.

How to Install WordPress Localhost on Your Machine?

It is necessary to explain, first of all, that installation helps to reduce costs. However, it is challenging and gives that emotion mixed with doubt, right!?

In this way, we intend to show you what to do in that text. Remember that this content is aimed at those who want to install WordPress on PC and no longer on an external server.

After all this introduction, it is important to have the five steps to install. So, below we teach you everything you need to complete the process.

Install Mamp/Xampp on WordPress

WP is one of the most suitable platforms to build a website. At the same time, it supports PHP and MySQL, as well as Apache/Nginx, so it works well.

Remember that these features are provided by services that offer hosting services. After all, they charge a monthly fee for the service and it’s essential to know that you need these features to install WordPress locally.

There are some tools that can simulate hosting on your PC. In this scenario, MAMP, XAMPP and WAP, which basically do the same.

The main thing is to install XAMPP or MAMP if your computer is Windows. For MAC computers, use MAMP and have WP installed.

man writing code

Download WordPress

After performing all these steps it’s time to install WordPress, but rest assured that it is very easy to perform the installation.

First, it is essential to go to the wordpress.org website and download the updated version of WordPress. Remember: this version is not related to the wordpress.com website and the one we use was quoted at the beginning of this paragraph.

Create the Database

Once the download is done, open MAMP, or even XAMP, by turning on your local server. Afterwards, find PhpMyAdmin and manage your databases.

If it’s MAMP, you need to access “localhost:8888/MAMP/phpmyadmin.php”. On the other hand, if you use port 90, remove the “8888”. If using XAMPP, it is necessary to access “localhost/phpmyadmin/”.

To create a database, avoid using a numeral at the beginning and don’t use special characters, accents or spaces. You need to write down the name of this database and then check how to create it correctly:

  • Find the option “Databases” and access;
  • Enter the name of this database and write it down;
  • In the side field, mark the alternative “ut8_general_cic” and confirm by clicking on the button called “Create”.

By following the steps above, your database is ready.

Move WordPress Files to the Right Place

The WP has been downloaded to your machine and it is important that you unzip it. Likewise, be aware that a “wordpress” folder will appear.

Try to copy this folder and paste in the address below, but inside:

C:> MAMP > htdocs (if you are using Windows);
Applications > MAMP > htdocs (if using MAC).

Finish Installation

Finally, open your machine’s browser and you can proceed in two different ways: 1) “http://localhost/wordpress”; 2) “http://localhost:8888/wordpress (if you are using port 8888)”.

Once the WordPress installation screen completes, pay attention to the steps. However, there are few and it is not complicated, see below which they are:

  • In the “database name” field, name it according to what you defined previously;
  • Just below, fill in the “username” with root and password, in the back field mark root (for MAMP) or blank (for XAMPP);
  • Likewise, as soon as you see localhost or localhost: 8889;
  • “WP” will always be the table prefix and try to fill it that way.

To finish the process, just fill in the site name and login user. Then enter your password, email address and don’t check visibility to search engines (this option will not make your website appear on Google).

Installing WordPress Localhost is simpler than you think.