How to install WordPress: one-click and manual methods

How to install WordPress with your host's one-click installer or manually: database setup, wp-config, the installation wizard and first settings.

Usman Muhammad UsmanUpdated October 13, 2026
How to install WordPress: one-click and manual methods

Installing WordPress takes a few minutes once you have a domain and hosting. Most hosts offer a one-click installer that does everything for you, while a manual install gives you full control and is useful to understand. This guide covers both methods and the settings I change immediately after installation on every new site.

What you need first

You need a domain name pointed to your hosting and a hosting account that meets WordPress’s requirements: a supported PHP version, MySQL or MariaDB, and HTTPS support. Most hosts meet these by default. Check that your host runs a current PHP version, because older versions are slower and no longer receive security fixes; see upgrading PHP.

Decide whether WordPress will live at the root of your domain, such as yourbusiness.com, or in a subfolder or subdomain. For a business website, the root is almost always right. If you are rebuilding an existing site, install the new version on a staging site first so the current site stays online.

One-click install through your host

Most hosts provide an installer such as Softaculous in cPanel or a custom tool in their dashboard. Choose WordPress, select the domain and leave the directory empty for the root. Enter the site title, a unique admin username and a strong password. Avoid ‘admin’ as the username; it is the first one attackers try.

Set the admin email to an address you check, as WordPress sends important notices there. Some installers offer to add plugins or themes automatically; untick anything you do not need. Click install, and within a minute or two you will have a working site and a link to the dashboard at /wp-admin/. My cPanel basics guide explains the rest of the control panel.

Manual install in five steps
  1. 1DownloadLatest from WordPress.org
  2. 2Upload filesTo the site root
  3. 3Create databaseUser with all privileges
  4. 4Run wizardDatabase details, admin user
  5. 5First settingsPermalinks, SSL, cleanup

Manual installation: files

For a manual install, download the latest WordPress zip from WordPress.org and extract it. Upload the contents of the wordpress folder to your site’s root directory, often public_html, using the host’s file manager or an SFTP client. Uploading the zip and extracting it on the server is faster than uploading thousands of files individually.

Make sure files are uploaded into the root itself, not into a subfolder named wordpress, unless you intend the site to live there. Check file permissions afterwards: folders are usually 755 and files 644. I explain why in WordPress file permissions.

Manual installation: database

WordPress stores content and settings in a database. In your hosting panel, create a new MySQL database, create a database user with a strong password and give that user all privileges on the new database. Note the database name, username, password and host, which is usually localhost.

Visit your domain in a browser and WordPress will start the setup wizard. Enter the database details when asked, and WordPress creates the wp-config.php file for you. If it cannot write the file, it shows the contents so you can create it manually. Change the default table prefix from wp_ to something unique for a small security benefit; see database security.

Run the installation wizard

Next, the wizard asks for the site title, admin username, password and email. Leave ‘Discourage search engines from indexing this site’ unticked unless you are building on a domain that should stay private for now. If you tick it during development, remember to untick it at launch; it is one of the most common SEO mistakes I find in technical audits.

Click Install WordPress, log in and you will see the dashboard. At this point the site uses a default theme and contains a sample post and page. Before adding content, take a few minutes to configure the basic settings described below, because changing some of them later, such as permalinks, affects URLs.

First settings to change

Go to Settings > General and set the time zone, date format and site language. Under Settings > Permalinks, choose ‘Post name’. Under Settings > Discussion, decide whether you want comments at all; many business sites switch them off. Delete the sample post, sample page and the default comment.

Install an SSL certificate if your host has not done so, and force HTTPS as described in setting up SSL and HTTPS. Remove unused default themes, keeping one as a fallback. Then install your theme and a small set of essential plugins, starting with security and backups, before building pages.

Installing WordPress locally

Developers often build sites on their own computer first. Tools such as LocalWP, DevKinsta or a Docker setup run WordPress locally with a few clicks, which makes experimenting fast and free. You can test themes, plugins and custom code without a hosting account or any risk to a live site.

When the site is ready, it needs to be moved to the live server, including files and the database, with URLs updated from the local address to the real domain. My guide to moving WordPress from localhost to a live server explains the process and the search-and-replace step that is easy to get wrong.

Secure the new install

A fresh WordPress site is a target from day one, because bots scan new domains constantly. Set up two-factor authentication for your admin account, install a security plugin and confirm automatic backups are running. My login security guide and hardening checklist cover the essentials.

Keep WordPress, themes and plugins updated from the start. If you plan to build the site yourself, follow my step-by-step guide to making a WordPress website. If you would prefer a professional setup with hosting, security and speed configured correctly, it is included in every WordPress build.

Key takeaways

  • Most hosts install WordPress in one click; manual installs take about fifteen minutes.
  • Never use 'admin' as the username and always use a strong password.
  • Set permalinks to Post name before adding content.
  • Secure the site with 2FA, a security plugin and backups immediately.

Frequently asked questions

How long does it take to install WordPress?

A one-click install takes a few minutes. A manual installation usually takes ten to twenty minutes.

Can I install WordPress on my computer?

Yes. Tools such as LocalWP let you run WordPress locally for development, then move it to a live server later.

Do I need SSL before installing?

It is best to have SSL active first so the site uses https from the start, but you can add it afterwards and update the site URL.

What is wp-config.php?

It is the main configuration file that stores database details, security keys and advanced settings. Keep it private and backed up.

Why do I see an error establishing a database connection?

The database details in wp-config.php are wrong or the database server is unavailable. Check the name, user, password and host.

Free website audit

Get a free audit of your website

Tell me your URL and I'll send a short, prioritized list of the speed, SEO and security fixes that will make the biggest difference.

  • No obligation, no sales call
  • 5.0 rating on Google and Upwork
  • Reply within one business day
Written by Muhammad UsmanWeb Development Team Lead with 5+ years building WordPress, WooCommerce, Shopify and Wix websites. Experience · Certificates About me

More on WordPress & WooCommerce

All WordPress & WooCommerce articles

Have a project in mind?

Tell me what you're building and I'll reply with next steps and an estimate.