It’s important to get to grips with the overall structure of WordPress. Just like how your computer has a file system that organizes and stores your data, WordPress has its own system too.
Before installing WordPress, ensure that your hosting environment meets the WordPress requirements, which include a MySQL database and PHP support. Let’s break down the steps to install WordPress in the root directory. Here we go!
Head over to WordPress.org and download the latest version of WordPress. The downloaded file will be a .zip file.
Once the download is complete, you’ll need to extract the zip file. This should reveal a folder named ‘WordPress’ containing all the WordPress core files.
You’ll need to connect to your hosting account using an FTP client like FileZilla. You’ll need your FTP login credentials, which your hosting provider can provide.
In your FTP client, navigate to the root directory of your site. The root directory is usually named ‘public_html’, but it could be different depending on your hosting provider.