Book a call Free rebuild
Home/Glossary/WordPress/WordPress Installation

WordPress Installation

June 4, 2025 Updated November 16, 2026 3 min read

WordPress glossaryA WordPress installation is a copy of WordPress set up on a server with its own database, through a host's one-click installer or the five-minute install.

A WordPress installation is one working copy of WordPress: the core files on a web server, a database for the content, and a wp-config.php file that connects the two. "Installing WordPress" is the process of putting those pieces in place and running the short setup that creates the first administrator account. On most hosts it takes a few minutes, which is why it has long been known as the "famous five-minute install".

This applies to self-hosted WordPress, the free software from WordPress.org. WordPress.com is a hosted service that does the installation for you; there is nothing to install there.

What you need

  • Web hosting with PHP and MySQL or MariaDB. WordPress runs on PHP 7.4 or later but recommends PHP 8.3 or newer, and HTTPS support.
  • A domain name pointed at the host.
  • Access to the host, through its control panel, SFTP, or SSH.

Ways to install WordPress

MethodBest forWhat it involves
Host's one-click installerMost site ownersFill in a form in the hosting dashboard; the host does the rest.
Manual installCustom servers, or learning how WordPress fits togetherUpload files, create a database, run the web installer.
WP-CLIDevelopers and repeatable setupsA few commands over SSH.

One-click installers

Most hosts offer an installer, either their own or a tool such as Softaculous in cPanel. You choose the domain and folder, set the admin username, password, and email, and the installer creates the database and config file for you. Managed WordPress hosts often go further and set up a new site with WordPress already installed.

Manual installation

  1. Download WordPress from wordpress.org and unzip it.
  2. Upload the files to the site's web root, often public_html, or to a subfolder.
  3. In the host's control panel, create a database and a database user with a strong password, and give the user full rights on that database.
  4. Visit the domain in a browser. The installer asks for the database name, user, password, host (often localhost), and a table prefix, then writes wp-config.php. You can also copy wp-config-sample.php to wp-config.php and fill it in by hand.
  5. Enter the site title, an admin username, a strong password, and an email address, decide on search engine visibility, and click Install WordPress.

WP-CLI

wp core download
wp config create --dbname=example_db --dbuser=example_user --prompt=dbpass
wp core install --url=https://example.com --title="Example" --admin_user=siteadmin --admin_email=you@example.com

The last command prints a random admin password if you do not supply one.

Installing on your own computer

A local installation runs on a laptop for building and testing without touching a live site. Local, Studio by WordPress.com, and wp-env set one up in a few clicks or commands; XAMPP and MAMP provide a general PHP and MySQL stack to install into. WordPress Playground runs a disposable copy entirely in the browser, which is handy for trying a plugin or theme.

After installing

  • Make sure the site loads over HTTPS and that both the WordPress Address and Site Address under Settings, then General use https://.
  • Set the timezone, site title, and tagline, and choose a permalink structure under Settings, then Permalinks.
  • Delete the sample post, sample page, and any bundled plugins you will not use.
  • Set up automatic backups, and turn on two-factor authentication for administrators.
  • If the site is not ready, use "Discourage search engines from indexing this site" under Settings, then Reading, and remember to switch it off at launch. It is a request, not a lock, so protect a staging site with a password too.

Common problems

  • "Error establishing a database connection": the database name, user, password, or host in wp-config.php is wrong, or the user lacks rights on the database.
  • The domain shows the host's default page or a list of files: WordPress was uploaded into a nested folder, such as public_html/wordpress, instead of the web root.
  • Cannot write wp-config.php or install plugins: file permissions or file ownership on the server are wrong.
  • Redirect loops after switching to HTTPS: usually the site URLs or the host's proxy settings need adjusting.

About the table prefix: changing it from wp_ is sometimes suggested as hardening. It does no harm on a new site, but it does not prevent SQL injection; keeping software updated does far more. The security keys in wp-config.php, which the installer fills in for you, matter more.

Source: WordPress Advanced Administration Handbook, How to install WordPress.

WP Services

WordPress services at revolutionary pricing.

Productized WordPress services, from builds to care, delivered by Seahawk and tracked in one app. For the WordPress lovers.