|

How to Install WordPress Using XAMPP on Windows 11

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 http://localhost/phpmyadmin/.
  2. Click on Databases, enter a name (e.g., wordpress_db), and click Create.

Step 4: Configure WordPress

  1. Open http://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 http://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.


Related  How to: Secure wp-config.php and .htaccess files using chmod?

Leave a Reply

Your email address will not be published. Required fields are marked *