How do I install WordPress on my hosting account?

Reading Time: 2 minutes

TL;DR: Use your host’s one-click installer if available, or upload WordPress manually and run the setup script. Create the database first, use a unique table prefix, and set a strong admin password during setup.

Installing WordPress takes minutes when done in the right order, and most beginner problems come from skipping preparation.

Step 1 Point your domain and enable SSL first

Make sure your domain resolves to your hosting account and a certificate is issued before installing. Installing on HTTP and converting later creates mixed-content problems that are tedious to clean up.

Step 2 Use the one-click installer if you have one

In cPanel look for Softaculous or a WordPress installer; in hPanel look for the WordPress section. Choose your domain and leave the directory field empty so WordPress sits at the root rather than at a subfolder.

Step 3 Set credentials deliberately

Select the latest version, set your site title, refuse the default admin username, and use a long generated password. This is the cheapest security decision you will ever make.

Step 4 Or install manually

Download WordPress from wordpress.org, upload the extracted files to your web root, and create a MySQL database plus a user with full privileges on it. Record the database name, username, password and host, then visit your domain and follow the setup wizard.

Step 5 Change the table prefix

During manual setup, replace the default prefix with something unpredictable. This small hardening measure defeats automated attacks aimed at default table names and costs five seconds.

Step 6 Configure the essentials immediately

Set timezone, date format and tagline. In Permalinks choose Post name rather than the default numeric structure, because changing it later requires redirects. Decide whether search engines should index the site yet and leave discouraging enabled while you build.

Step 7 Strip defaults and secure the login

Delete the sample post, sample page and unused default themes and plugins. Install a security plugin, enable two-factor authentication and limit login attempts.

Step 8 Take a first backup

Before installing anything else, back up files and database and store the archive off-server. A known-clean restore point from day one is worth more than any plugin you will add later.

Back to How-To

Was this helpful?

Thanks for your feedback!

Comments are closed