WordPress is presently the most popular CMS (Content Management System) for designing websites without coding. However, it’s no unknown that the software is recently as useful for web testing itself. In this case, we suggested installing WordPress locally instead of on a web hosting plan. The traditional method to use the WordPress CMS is buying a domain and hosting plan and then installing it. This article will cover how to install the WordPress localhost installation in seven easy steps. We will use the XAMPP software for localhost server.
Step-1: Download and Install XAMPP Software
Simply go to the official Apache Friends website and download the latest XAMPP software version based on your operating system. You can access XAMPP for Windows.
Step-2: Start the Local Server
After installing XAMPP, run the application. Then Start Apache and MySQL in the XAMPP Software.
Step-3: Download latest WordPress
Simply go to the official WordPress.org website and download the latest version of WordPress.
Step-4: Extract the WordPress File in htdocs
Now you open the window C: file and locate the /xampp file. Then find the /htdocs file and Extact the WordPress files like: C://xampp/htdocs/
Step-5: Create the database
Now go to the browser and search the http://localhost/phpmyadmin.Then click the New and fill the Database name. Then select the utf8mb3_general_ci and click the create button.
Step-6: Run the install WordPress file
Open a new tab on your browser and write http://localhost/yourdirectory.Then open the new page. choose your language and click on continue . Then click on the Let’s go button.
- Database Name – The name of the database you created in phpMyAdmin.
- Username – Enter “root” as the default username.
- Password- leave the MySQL database password field blank.
- Database Host- keep the default “localhost”
- Table Prefix- keep the default “wp_”
Once done, hit Submit -> Run the installation. Fill in the additional information , like the site name, username, password, your email and Search engine visibility , and click on the Install WordPress button.
Step-7: Login the WordPress
After installation, log in to your new WordPress site using the username and password. Then click the log in button. Open the WordPress dashboard.
In conclusion, installing and running WordPress simply on Windows or Mac is a great way to develop and test your website before publishing it online.
This guide has provided an overview of the purpose to install WordPress parochially, the system essential for a localhost, and detailed instructions for installing WordPress on both Windows and macOS.