Hosting & WordPressOctober 22, 2026

Learning how to install WordPress manually is worth the effort even though most hosts offer a one-click installer. The one-click route is fine, and for a first site it is often the sensible choice. But installing WordPress by hand teaches you exactly where your files and your database live — knowledge that pays for itself the first time you need to move a site, fix a broken one, or recover from a bad update.

This guide walks through a manual install in the order you would actually do it: prepare, create the database, upload the files, run the installer, then finish the setup properly. Set aside about fifteen minutes, plus a few more for the tidy-up at the end.

What You Need Before You Start a Manual WordPress Install

A manual install needs four things, and it is worth gathering all of them before you open anything. A hosting account with FTP or file manager access, a domain name already pointed at that host, the ability to create a MySQL database in your control panel, and the latest WordPress package downloaded from wordpress.org — always the official source, never a copy from a random download site.

Keep a notepad open, on paper or on screen, for the database details. You will type the database name, username, and password into the setup screen, and a single wrong character is the most common cause of a failed first attempt. Hosts often add a prefix to database names automatically, so copy the names exactly as the panel shows them, prefix included.

Uploading WordPress files to a server with an FTP program

  • Hosting account with FTP or file manager access
  • Domain name connected to your hosting
  • Latest WordPress package downloaded from wordpress.org
  • Notepad ready for the database name, user, and password

One decision to make up front: do you want WordPress in the root of your domain, so visitors land on it at yoursite.com, or in a subfolder such as yoursite.com/blog? Most sites want the root. If you are building a blog alongside an existing site, the subfolder is the right call — just remember the choice when you upload the files, because it decides which folder they go into.

Step 1: Create the Database and User

WordPress stores every post, page, setting, and user account in a MySQL database, while the files you upload only run the software. The database has to exist before the installer can do anything, so this is always the first real step.

  1. In your hosting control panel, open the MySQL Databases section. In cPanel it sits under Databases; in hPanel, look for Databases and then “MySQL Databases”.
  2. Create a new database and give it a clear name, such as yoursite_wp. Note the full name exactly as the panel displays it, including any prefix your host adds.
  3. Create a new database user with a strong password — a random string from your password manager is ideal. Save the password in your notepad; you will need it in a few minutes and it is not shown again.
  4. Assign the user to the database and tick “All Privileges”. This sounds generous, but WordPress needs those permissions to create its tables during setup, and the user only ever talks to this one database.
  5. Double-check the three details in your notepad: database name, username, and password. If any of them is wrong, the installer will fail at the connection step.

If your host uses a separate database server, note its address as well. On most shared hosting the database host is simply localhost, and the installer defaults to that, but a few providers use a specific hostname that you will find on the same databases page.

Step 2: Download and Upload the WordPress Files

Download the latest WordPress zip from wordpress.org and save it somewhere easy to find. Do not unzip it on your computer yet — uploading the single zip and extracting it on the server is far quicker than sending thousands of small files one by one over FTP.

  1. Open your FTP program — FileZilla is free and widely used — or your host’s file manager, and connect to your hosting account. If you use FTP, the host, username, and password come from your hosting panel’s FTP section.
  2. Navigate to your domain’s root folder, usually called public_html. If you are installing in a subfolder, open or create that folder inside public_html instead.
  3. Upload the WordPress zip file into that folder, then extract it on the server. Your file manager will have an Extract option when you right-click the zip; in FTP you will need to extract through the file manager anyway, since FTP itself cannot unzip.
  4. Move the contents of the wordpress folder that appears up one level into the root, so that wp-admin, wp-content, and wp-includes sit directly in public_html. This is the step people get wrong most often: if the files stay inside a folder called wordpress, your site will live at yoursite.com/wordpress instead of yoursite.com.
  5. Find wp-config-sample.php among the uploaded files. You do not need to edit it by hand — the installer will create your real wp-config.php from it — but knowing where it is tells you the upload landed correctly.

Creating a new MySQL database for WordPress in a hosting control panel

Uploads over FTP can stall on slow connections, so if the transfer fails halfway, delete the partial upload and start again rather than trying to top it up. A half-uploaded WordPress is a reliable source of strange errors later, and a clean re-upload is faster than diagnosing them.

Step 3: Run the WordPress Installer

With the database ready and the files in place, visit your domain in a browser. WordPress detects that no configuration exists yet and starts the setup wizard. If you see a directory listing or a default host page instead, the files are probably in the wrong folder — go back to Step 2 and check the folder structure.

  1. Choose your language on the first screen, then click to continue to the database details form.
  2. Enter the database name, username, and password exactly as you recorded them, and leave the database host as localhost unless your host gave you a different address. Keep the table prefix as wp_ unless you have a specific reason to change it.
  3. Submit the form. A success message means WordPress connected to your database — the hardest part of the install is done. If it fails, the error is almost always a typo in one of the three details, or a user that was never assigned to the database.
  4. On the famous five-minute install screen, enter your site title, admin username, password, and email address. Never use “admin” as the username — it is the first name every automated attack tries. Choose a genuinely strong password, and double-check the email address, because it receives password resets and site notices.
  5. Leave the “Discourage search engines from indexing this site” box unticked unless you are building the site in private and plan to launch it later. Forgetting this box ticked is a classic reason a new site never appears in search results.
  6. Click Install WordPress, then log in at yoursite.com/wp-admin with the username and password you just created.

WordPress manual installation setup screen on a laptop

That login screen is the moment the install becomes real. Bookmark the admin address now, while you remember it — you will type it dozens of times over the life of the site.

Step 4: First Steps After Installation

A fresh WordPress install works, but it is not finished. Spend ten minutes on this checklist and the site will be set up properly from day one rather than patched later.

  1. Under Settings, General, set your timezone and site language. The timezone matters more than it looks: scheduled posts publish on this clock, and a wrong one means posts going live at 3 am instead of 9 am.
  2. Under Settings, Permalinks, choose “Post name”. The default plain links with ?p=123 in them are bad for readers and bad for search engines, and changing the structure later means redirecting every URL on the site.
  3. Delete the sample post, sample page, and comment that WordPress ships with. They are harmless, but they look sloppy if a visitor ever finds them.
  4. Remove any plugins you will not use. Fresh installs often include a couple of bundled plugins; keep only the ones you actually need.
  5. Install an SSL certificate if your host provides one free, and make sure your site address starts with https. Most hosts now include a free certificate — if yours does not, ask support before paying for one elsewhere.
  6. Install your theme and the handful of essential plugins you have chosen, then take your first backup. Our guide to how to back up a WordPress site for free covers the quickest ways, and a backup taken on day one means every future experiment has an undo button.

If you are still weighing the one-click route for a second site, our guide to how to install WordPress on shared hosting with cPanel covers the automatic method, and the end result is the same software — the difference is only how much you learn along the way.

Manual vs One-Click Install: When Manual Wins

Neither method produces a better website; both install the same WordPress. The difference is what you understand afterwards and how much control you keep.

Manual installation wins when you need to install WordPress somewhere unusual — a subdomain, a subfolder, a local test environment, or a host without an installer. It also wins when something goes wrong later: if you know where wp-config.php lives and what the database credentials are, a white screen or a database connection error is a fifteen-minute fix instead of a support ticket and a day of waiting.

One-click installers win on speed and on avoiding typos. They are the right choice for a first site on a deadline, or for anyone who would rather spend the saved time on content. There is no prize for doing it the hard way — the point of manual installation is the understanding, not the effort.

Whichever route you took, the maintenance afterwards is identical: keep WordPress, themes, and plugins updated, keep backups running, and test changes somewhere safe first. Our guide to how to create a WordPress staging site shows how to set up a copy of your site for exactly that.

Common Manual Install Errors and How to Fix Them

Most manual install failures come from a short list of causes, so check these before assuming anything serious is wrong.

Error establishing a database connection

This is the most common error by a wide margin, and it almost always means a typo in the database name, username, or password, or a user that was never assigned to the database. Re-check all three in your hosting panel, confirm the user has all privileges, and check wp-config.php to see the values the installer actually wrote. If the details are right and it still fails, the database host may not be localhost — ask your host for the correct address.

Blank white screen after install

A white screen usually means a PHP error hidden by your server’s settings. The likeliest cause on a fresh manual install is a half-uploaded file set or a corrupted wp-config.php. Re-upload the WordPress core files (never wp-content, which holds your themes and plugins) and check the file for stray characters before the opening <?php tag.

The installer never appears

If visiting your domain shows a directory listing, a host holding page, or a 404, the files are in the wrong folder. The WordPress files need to be directly in public_html for a root install, not inside a wordpress subfolder. Move them up one level and refresh.

Login fails straight after install

Check the password you set — copy and paste it from your password manager rather than typing it, since a single mistyped character locks you out. If you are sure it is right, use the “Lost your password?” link on the login screen; the reset email goes to the address you entered during setup.

Frequently Asked Questions

Is manual installation better than one-click install?

Neither produces a better site; both install the same software. Manual installation teaches you the file and database structure, which helps with migrations and troubleshooting, while one-click installers are faster and less error-prone for beginners.

What does database host mean in the setup?

It is the address of your database server, and on most shared hosting it is simply localhost. If the installer cannot connect and your details are correct, ask your host, because some providers use a separate database server address.

I got an error establishing a database connection. Why?

Almost always a typo in the database name, username, or password, or the user was never assigned to the database. Re-check all three in your hosting panel and confirm the user has all privileges.

Can I install WordPress in a subfolder instead?

Yes. Upload the files into a folder such as /blog and run the installer from that address. Your main domain stays free for something else, and WordPress works perfectly well from the subfolder.

How long does a manual install take?

About fifteen minutes when everything goes smoothly, including the tidy-up afterwards. The database step takes the longest the first time; on a second install you will do the whole thing in under ten minutes.

Final Check Before You Launch

Log in, confirm the dashboard loads, and visit the site the way a stranger would: on your phone, logged out, clicking the links your visitors will use. Check that https works, that the sample content is gone, and that your first backup is saved somewhere other than the server itself. If all of that holds, the manual install is done — and you now know where everything on your site lives, which is exactly the point of doing it by hand.

Sarah Mitchell
Written by Sarah Mitchell

Sarah is a web hosting specialist with 8 years of experience running WordPress sites. She writes practical hosting and WordPress guides.

Similar Posts