Add the WordPress files
- If you’ve ever manually installed WordPress on live server, the rest of the process should feel pretty familiar. First, you need to go to wordpress.organd download the latest version of WordPress.
- Then, in Windows, navigate to the folder where you installed XAMPP. For me, that’s C://xampp . It should be something similar for you. Then, in that folder, find the htdocs subfolder:
- In htdocs, create a new folder for your demo site. This folder name will become the sub-name used to access your site. For example, if you make the folder demosite, you’ll access your site by going to http://localhost/demosite.
- Once you create the folder, extract the WordPress .zip file you downloaded from wordpress.org into it.