How to Install WordPress in Windows 11 with WampServer
WordPress is one of the most popular content management systems (CMS) in the world, and installing it on a local server allows developers and website owners to test and develop their websites before going live. In this guide, we will walk you through the process of installing WordPress on Windows 11 using WampServer.
How to Install WordPress in Windows 11 with WampServer
Step 1: Download and Install WampServer
- Go to the official WampServer website and download the latest version suitable for your system (32-bit or 64-bit).
- Run the downloaded installer and follow the on-screen instructions.
- Choose the installation directory (e.g.,
C:\wamp64
). - When prompted, select your default browser (Chrome, Firefox, or Edge).
- After installation, launch WampServer and ensure the icon in the system tray turns green, indicating that Apache, MySQL, and PHP are running correctly.
Alternative to Wampserver i.e., Xampp
Step 2: Download WordPress
- Visit the official WordPress website and download the latest WordPress ZIP file.
- Extract the ZIP file into the
www
folder located inside the WampServer directory (e.g.,C:\wamp64\www
). - Rename the extracted folder to a preferred name (e.g.,
wordpress_site
).
Step 3: Create a Database for WordPress
- Open WampServer and launch phpMyAdmin from the system tray menu.
- Log in using the default credentials:
- Username:
root
- Password: (Leave it blank)
- Username:
- Click on Databases and enter a database name (e.g.,
wordpress_db
), then click Create.
Step 4: Configure WordPress
- Open a web browser and go to
http://localhost/wordpress_site
. - Select your preferred language and click Continue.
- Enter the database details:
- Database Name:
wordpress_db
- Username:
root
- Password: (Leave it blank)
- Database Host:
localhost
- Table Prefix:
wp_
- Database Name:
- Click Submit and then Run the installation.
Step 5: Complete the WordPress Installation
- Enter your website details:
- Site Title
- Username
- Password
- Email Address
- Click Install WordPress.
- Once installed, log in to your WordPress dashboard by visiting
http://localhost/wordpress_site/wp-admin
.
Conclusion
You have successfully installed WordPress on Windows 11 using WampServer! This local environment allows you to build and test your website without affecting a live site. Happy developing!