How to Install WordPress Using XAMPP on Windows 11

February 11, 2025

Installing WordPress locally on Windows 11 using XAMPP is a great way to test themes, plugins, and website changes before deploying them online. Follow this step-by-step guide to set up WordPress on your local machine.

Step 1: Download and Install XAMPP

  1. Go to the official XAMPP website and download the latest version for Windows.
  2. Run the installer and follow the setup instructions.
  3. Select Apache, MySQL, and PHPMyAdmin during installation.
  4. Once installed, start Apache and MySQL from the XAMPP Control Panel.

Step 2: Download and Extract WordPress

  1. Visit the official WordPress website and download the latest version.
  2. Extract the WordPress folder into the htdocs directory located in your XAMPP installation folder (usually C:\xampp\htdocs).
  3. Rename the extracted folder to your desired project name (e.g., mywebsite).

Step 3: Create a Database for WordPress

  1. Open your browser and go to https://localhost/phpmyadmin/.
  2. Click on Databases, enter a name (e.g., wordpress_db), and click Create.

Step 4: Configure WordPress

  1. Open https://localhost/mywebsite/ in your browser.
  2. Select your preferred language and click Continue.
  3. Enter database details:
    • Database Name: wordpress_db
    • Username: root
    • Password: (leave blank)
    • Database Host: localhost
  4. Click Submit, then run the installation.

Step 5: Complete the WordPress Setup

  1. Enter your website title, admin username, password, and email.
  2. Click Install WordPress.
  3. Once completed, log in to your local WordPress site using https://localhost/mywebsite/wp-admin/.

Conclusion

You have successfully installed WordPress on Windows 11 using XAMPP. You can now test and develop your website in a local environment before making it live.


Muhammad Dilawar
Muhammad Dilawar
Muhammad Dilawar is a WordPress developer and technical SEO specialist with over 12 years of experience building, optimizing, and maintaining websites. He specializes in WordPress, WooCommerce, server optimization, DNS, Cloudflare, website security, and performance improvements. Through Softstribe, he shares practical guides, tutorials, and industry insights based on real-world experience helping businesses grow their online presence.
More from Muhammad Dilawar