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
Similar Reads
WordPress Tutorial WordPress is one of the most popular and free open-source content management systems (CMS) that allows users to create and manage websites with ease. Wordpress developed by Matt Mullenweg and it powers 43.4% of all websites on the internet. WordPress is known for its user-friendly interface, flexibi
9 min read
WordPress Introduction WordPress is one of the most popular platforms for building websites, from simple blogs to complex e-commerce sites. WordPress is a user-friendly platform that empowers anyone to build and manage attractive websites. WordPress is a powerful tool that lets you create and manage the content on your we
4 min read
Installation of WordPress on Windows 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 environm
4 min read
How to Install WordPress on Your Website ? WordPress is a content management system that allows you to host and build websites. WordPress contains plugin architecture and a template system, so you can customize any website to fit your business, blog, portfolio, or online store. WordPress is well-known for its ease of installation. Installing
7 min read
Wordpress Settings
WordPress General SettingWordPress General Settings are basic configurations that control the main aspects of your website, such as the site title, tagline, URL, timezone, and language. These settings help define your siteâs identity, manage how it appears to visitors, and ensure proper functionality across different region
4 min read
WordPress Writing SettingThe Writing Settings in WordPress offer a range of configurations that help you control your content creation and publishing experience. These settings are important for managing how you add and edit posts, pages, and other types of content, as well as for optimizing how your content is delivered to
5 min read
WordPress Reading SettingIn WordPress, the Reading Settings play a key role in shaping the user experience on your website. By configuring these settings effectively, you can customize how content is presented to visitors and optimize your siteâs performance. This article will walk you through the Reading Settings in WordPr
4 min read
WordPress Discussion SettingThe WordPress Discussion Settings allow you to control how comments are managed and displayed on your site. In this article, we will explore how to navigate and configure the Discussion Settings in WordPress, helping you to manage your site's comments and interactions effectively.What Are WordPress
5 min read
WordPress Media SettingWordPress provides a dedicated section called Media Settings, allowing users to configure how media files, such as images and videos, are stored, displayed, and managed on their websites. Proper configuration of these settings can improve your website's performance, optimize media for various uses,
3 min read
WordPress Permalink SettingPermalinks, or permanent links, are the URLs used to link to your content in WordPress. They help in making your content structured and accessed by users and search engines. You can navigate to WordPress permalink settings by going to Dashboard -> Settings -> Permalink. It looks something like
2 min read
WordPress Plugin SettingSetting up your WordPress plugins correctly makes your website run smoothly and efficiently. WordPress plugins are one of the most important parts of WordPress it is just like the apps on mobile phones which add extra functionality to your mobile phone like WordPress plugins add new and more feature
6 min read
Wordpress Categories
Wordpress Posts
WordPress Add PostsBlog posts in WordPress are the core of any websiteâs content strategy, allowing you to share articles, updates, and multimedia content like text, images, videos, and links. Whether you share news, personal experiences, or expert advice, understanding how to add and manage posts in WordPress is impo
5 min read
WordPress Edit PostsOne of the best features of WordPress sites is editing posts. Whether you need to update information, fix a typo, or improve your SEO, knowing how to edit posts in WordPress is good to know. This article will guide you through the process step-by-step, ensuring you can efficiently manage your conten
3 min read
WordPress Delete PostsWordPress is one of the most popular content management systems (CMS) in the world, making it easy for anyone to create and manage their own website. As you publish content, you might find that some posts become outdated or no longer relevant. In such cases, deleting posts is a necessary task to kee
3 min read
WordPress Preview PostsWordPress, the worldâs most popular content management system (CMS), powers over 40% of all websites on the internet. One of its standout features is the ability to preview posts before they go live. This ensures that content creators and website administrators can see exactly how a post will appear
4 min read
WordPress Publish PostsPublishing posts on WordPress is a fundamental skill for anyone looking to share content on their blog or website. Whether you are new to WordPress or need a refresher, this guide will walk you through the steps to publish posts easily and effectively. Step-by-Step Guide to Publishing a Post on Word
2 min read
Wordpress Media
WordPress Media LibraryThe WordPress Media Library is an essential component of any WordPress-powered website. It serves as the central hub for managing all media files, including images, videos, audio files, and documents. Whether you're a beginner or an experienced user, understanding how to effectively use the Media Li
6 min read
WordPress - Add MediaIn the digital world, pictures and videos play an important role in grabbing people's attention and communicating messages effectively. WordPress, a popular website platform, has a handy feature called Add Media that allows you to easily insert images, videos, and other media into your content. In T
4 min read
WordPress Insert MediaWordPress is a tool and an open-source Content Management System that is totally based on PHP and MySql which is used to create a dynamic website. WordPress was written in PHP language by Matt Mullenweg. It is one of the most popular interfaces that allow users to customize and manage the website fr
3 min read
WordPress Edit MediaWordPress is an open-source Content Management System that is totally based on PHP and MySql which is used to create a dynamic website. Matt Mullenweg developed WordPress and Written in PHP language. WordPress is one of the most popular interfaces that allow users to customize and manage the website
2 min read
Wordpress Pages
WordPress Add PagesWordPress Known for its flexibility, ease of use, and extensive customization options, WordPress allows users to create and manage a wide range of websites, from simple blogs to complex e-commerce platforms. One of the core features of WordPress is the ability to add and manage pages, which are esse
5 min read
WordPress Publish PagesWordPress pages are static, timeless pieces of content that are not typically included in your site's blog structure (unlike posts). They are ideal for timeless content such as "About Us," "Contact," "Services," and "Privacy Policy" pages.How to Create and Publish a Page in WordPressPublishing a new
2 min read
WordPress Edit PagesWhen it comes to managing your WordPress website, understanding how to edit pages effectively is key to maintaining fresh and engaging content.Why Edit Pages in WordPress?Editing pages in WordPress allows you to update your website's content without needing technical expertise. This flexibility empo
3 min read
How to Preview WordPress Website?Previewing your WordPress website before it goes live is good for ensuring it looks perfect and functions correctly. By previewing, you can catch errors, check design elements, test functionality, and optimize your content for SEO. Follow this article to preview your WordPress website easily and qui
3 min read
How to Delete Pages in WordPressDeleting pages in WordPress is a common task that website designers and administrators perform to keep their websites clean and up-to-date. Whether you need to remove outdated content, reduce clutter, or simply reorganize your pages, knowing how to delete pages in WordPress efficiently is essential.
3 min read
Wordpress Tags