To install WordPress from scratch, follow these steps:
- Purchase hosting and domain
You will need:
- A hosting account to store your WordPress files and database
- A domain name that people can type into their browser to access your site
Most hosting providers offer WordPress optimized hosting plans. They will also provide you with an FTP username and password to connect to your hosting account.
- Download WordPress
Go to wordpress.org and download the latest version of WordPress. You will get a .zip file containing all the WordPress files.
- Upload WordPress files
Connect to your hosting account using FTP or SFTP. Navigate to the public_html
folder, which is the root of your website.
Upload all the WordPress files from the .zip you downloaded, directly into public_html
.
public_html/
- wp-admin/
- wp-content/
- wp-includes/
- index.php
- ...
- Create a database
Log in to your hosting control panel (cPanel, Plesk, etc.) and create a MySQL database for WordPress.
Make note of:
- Database name
- Database username
- Database password
- Configure wp-config.php
Open the wp-config-sample.php file in your WordPress files and rename it to wp-config.php
Replace the database credentials in the file with the details you made note of earlier.
- Run the install script
Visit yourdomain.com/wp-admin/install.php
in your browser. This will start the WordPress installation wizard.
Provide:
- Site title
- Username and password
- Your email
- Login to Word
Comments