Scotts Web Dev Banner
Did you notice... every article on this site has an associated video? Consider subscribing to Scotts Web Dev on YouTube! :)

How To Install WordPress On Localhost From Scratch

Have a PHP/MySQL Enabled Web Server

Before you get started, you need to have a php and mysql enabled webserver installed locally. See setting up a webserver on windows subsystem for linux.

Getting Started

Watch the video for full installation instructions and a follow along. Here are the general steps:

First Steps Download wordpress from wordpress.org

Then Go to your downloads folder and extract the zip file.

Go into the newly extracted folder and copy the “wordpress” directory.

Paste the wordpress directory into your html docs folder (your public html folder)

Rename the folder to the site name you want.

Set up the database (create a new database using phpmyadmin or mysql CLI)

Visit the website in your browser.

Go through the installation process.