Installation of WordPress on Windows
Last Updated :
16 Jul, 2024
If you want to build a website using WordPress on your Windows machine, you’re in the right place! WordPress is an open-source Content Management System (CMS) that allows you to create dynamic websites and blogs. Setting up WordPress on your Windows computer is a great way to create a local environment for development and testing.
What is WordPress?
WordPress is a powerful content management system (CMS) used by millions of websites worldwide. It is open-source, highly customizable, and user-friendly, making it a popular choice for bloggers, businesses, and developers.
Prerequisites
| Database | MySQL 5.0 + |
| Web Server | - WAMP (Windows)
- LAMP (Linux)
- XAMP (Multi-platform)
- MAMP (Macintosh)
|
| Operating System | Cross-platform |
| Browser Support | IE (Internet Explorer 8+), Firefox, Google chrome, Safari, Opera |
| PHP Compatibility | PHP 5.2+ |
Before installing WordPress, your local machine must meet the above requirements. In this tutorial, we will use XAMP as the web server and MySQL 5.0 database. My PHP version of the local machine is 7.3.
Why Install WordPress Locally?
Installing WordPress locally on your Windows computer allows you to:
- Test themes and plugins without affecting your live site.
- Develop websites in a controlled environment.
- Learn WordPress without the need for web hosting.
Step-by-Step Guide to Installing WordPress on Windows
Step 1: Download WordPress
- Visit the official WordPress website: WordPress.org.
- Click the “Download WordPress” button to get the latest version.
Step 01 : DownloadStep 2: Upload the WordPress Folder
- Extract the downloaded WordPress ZIP file.
- Copy the extracted folder to your web server’s root directory:
- For XAMPP: Paste it in
C:\xampp\htdocs. - For WAMP: Paste it in
C:\wamp\www.
Step 02: Directory for the webserver
Step 02: Webserver folderStep 3: Create a MySQL Database
- Access your MySQL server (e.g., using phpMyAdmin).
- Create a new database (you can leave it empty for now).

Enter a name for the database, then click the Create button. Now the database has been created. Now you can make tables if you want.
Step 4: Navigate to the WordPress Folder
- Open your web browser.
- Enter the path to your WordPress folder (e.g.,
localhost/FirstWP).
Step 04: Navigate to the web server folder on your browserStep 5: Select Language
Then you can see a window like the following. Now you need to select the language for your website. I choose English. There are many languages like English, Sinhala, Deutsch, and you can choose the language of your choice.
Step 05 : select LanguageAfter selecting language, you can click ‘Continue’ button for continuing the installation process.
Step 6: In this step, you can see the following screen. It shows you the database information you already need to know for WordPress installation. There is nothing to change on this page. So you can click the 'Let's go!' Button.

Step 7: Entering Database information.
Then you can go next stage. In here you should enter your database details for the following fields.
| Database Name | Enter your MySql database name you have already created in previous step. |
| UserName | Enter a username of your database |
| Password | Enter a password of your database |
| Database Host | Enter host name. Default host name is localhost |
| Table Prefix | It is used to add prefixes to database tables that help to execute several sites in the same database.It takes the default value wp_ |
On the following screen, I have entered information about my database. After entering your database information, you can click the ‘Submit ‘ button located at the bottom of the screen.

Step 8: Before displaying the following screen, WordPress check and confirm your database information which you have entered and display following confirmation snapshot. Then you can click ‘Run the installation’ button to go to the next stage of the installation process.
Step 08 : Run as installationStep 9: Now you can see the welcome page below. In this step, you will need to enter the administrative information for your website. Such as username, password, etc. . Don't confuse this username, password with the previous one. Previous step we have entered the username & password of the MySQL Database. Here we create a username and password for logging to WordPress for creating and modifying the website. In set title field you can give a name for your website which you go to create with WordPress. In the email field, you can give your email address. When you forget your password, it helps to create a new password for your website. After giving all information, you can click ‘install WordPress’ button to install WordPress. After the installation process is successful, you will get a screen showing that it is successful, as shown in the screenshot below.
Step 10 : Success PageNow you can click ‘Log In’ button to log for creating your website using WordPress.
Step 10: Logging your website logging window displays like following. This is the final stage of this installation process.
Step 11 : Logging PageStep 11: So now you can see WordPress Dashboard like following after clicking 'Log In' button. Now you can create your own website. After this, I will write how to create your website using WordPress in the next blog.
WordPress Dashboard