How to Install WordPress in localhost via XAMPP?

Step::1 Considering that XAMPP is already installed on your PC

Step::2 Go to https://wordpress.org and download the wordpress.zip file. Direct Link to get WordPress.zip

Step::3 Then, in Windows, navigate to the folder where you installed XAMPP. For me, that’s C://xampp.

Step::4 Then, in that folder, find the htdocs subfolder

Step::5 In htdocs, create a new folder for your test site. This folder name will become the sub-name used to access your site. Here we are making saifphotography folder

Step::6 Now paste that downloaded wordpresss.zip file and extract it in the same folder

Step::7 Next open your browser and type localhost/phpmyadmin, if this doesn’t work replace localhost with 127.0.0.1

Step::8 Once you reach to the phpMyAdmin dashboard, create a new database

Once a new database is created in localhost, simply edit wp-config.php inside that htdocs folder

Step::9 Once you find wp-config.php file, right click and open with Notepad++ to edit

Step::10 Now here enter the Database Name, Username & Password that you created earlier. Make sure you write Username as root and password as blank i.e you don’t have to write anything in password.

Step::11 Once you entered the credentials, click on Save file

Step::12 Next open the browser and reach to your site in localhost via typing localhost/saifphotography Make sure you replace saifphotography with the subfolder you created inside htdocs

Step::13 Now you will see WordPress configuration page, simply click on Let’s go button

Step::14 Here enter the Database Name, Username as root & Password (leave blank) and click on Submit button

Step::15 Next click on Run the Installation tab

Step::16 Now you just have to fill in the WordPress installation information like Site title, Username, Password as well your email address

Step::17 Next click over Install WordPress

Step::18 Finally you will see Success! message saying WordPress has been installed. thank you and enjoy!

Step::19 Now just login to your WordPress Dashboard using Username & Password

Step::20 Once you logged in successfully, you will reach up to the WordPress Dashboard.

Visit our Blog for more details. You can also watch the video here.

  • How to Install WordPress in localhost via XAMPP, Installing WordPress on Localhost – XAMPP, install wordpress on XAMPP, installting wordpress on XAMPP server, localhost, XAMPP
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Fix WordPress error “There has been a critical error on your website”

Step::1 First of all login to your cPanel and go to File ManagerStep::2 Go inside public_html and...

How to Stay Logged in for a longer period in your WordPress?

Step::1 First of all you must know the theme which is currently activated in your website. So...

How to bulk delete spam comments in your WordPress website?

Step::1 Login to your cPanel and click on File Manager sectionStep::2 Go to public_html and then...

How to Change WordPress logo in wp-admin page?

Step::1 Login to your cPanel and go to File Manager sectionStep::2 Now go to Public_html Step::3...

How to Change WordPress Admin Username?

Step::1 Login to your WordPress dashboardStep::2 Now at the same time login to your WordPress...