How to Install WordPress: 4 Methods for Beginners (2026)

How to install WordPress step by step beginner guide illustration

Learning how to install WordPress is easier than most people expect. WordPress powers more websites than any other content management system, and the reason is straightforward: it’s free, flexible, and you can install WordPress on your hosting account in minutes — no coding skills required.

You don’t need a computer science degree. If you have a hosting account and a domain name, you’re ready. This guide walks you through four WordPress installation methods — from the fastest one-click install to a full local-development setup. Pick the one that fits your goal and get your site running today.

What You Need Before Installing WordPress

Before you install WordPress, make sure you have these four things ready:

  1. A hosting account — Shared Hosting or WordPress Hosting both work. If you’re still researching options, read how WordPress hosting works. Curious how WordPress stacks up against alternatives? See WordPress vs other CMS platforms.
  2. A registered domain name — This is your website address (like yourbusiness.com). LUMINWEB includes a free domain with every hosting plan.
  3. Control panel access — Your hosting provider gives you a control panel (cPanel or DirectAdmin) to manage your hosting. LUMINWEB offers both options. You can compare cPanel and DirectAdmin to see which one suits you.
  4. Your login credentials — Keep your control panel username and password handy. You received these in your welcome email after signing up.

WordPress itself is free and open-source software licensed under GPLv2. You pay nothing for the software — your only cost is hosting and a domain.

Technical requirements (your host handles these):

  • PHP 8.3 or greater
  • MySQL 8.0+ or MariaDB 10.6+
  • HTTPS support
  • Apache or Nginx web server

These are the current recommended versions per the official WordPress.org Requirements page. If you host with LUMINWEB, all of these requirements are already met on every plan. Your server is ready for WordPress out of the box.

What’s the Best Way to Install WordPress?

For most users, the best way to install WordPress is the one-click installer built into cPanel or DirectAdmin (Softaculous) — it sets up the database, files, and admin account in under two minutes with zero technical work. Choose the manual FTP + MySQL install if you want full control or your host doesn’t include an auto-installer. Use a local install with LocalWP or XAMPP only when you’re learning, building offline, or testing changes before pushing to a live site.

In short: one-click for most beginners, manual for advanced users, local for development. Each method is covered in detail below.

Four WordPress Installation Methods at a Glance

Not sure which installation method to choose? Here’s a quick comparison.

Method Best for Time Skill level
1. One-click via cPanel (Softaculous) First-time installers on most Ghanaian/African hosts Under 2 minutes Beginner
2. One-click via DirectAdmin (Softaculous) First-time installers on DirectAdmin hosts Under 2 minutes Beginner
3. Manual install (FTP + MySQL) Users who want full control or no auto-installer 15–20 minutes Intermediate
4. Local install (LocalWP or XAMPP) Learning, building offline, testing themes/plugins 5–15 minutes Beginner to Intermediate

Our recommendation: Start with the one-click installer on whichever control panel your host gives you. Use the manual method when you want to understand the process or your environment doesn’t include Softaculous. Use a local install when you want to build before going live.

Method 1: Install WordPress with Softaculous on cPanel

Softaculous Apps Installer icon highlighted in the Software section of cPanel dashboard, used to install WordPress in one click
Step 1 of Method 1: Find the Softaculous Apps Installer in cPanel’s Software section.

Softaculous is an auto-installer that supports 400+ web applications, including WordPress. It handles the database creation, file setup, and configuration in one step.

LUMINWEB includes Softaculous on every hosting plan — both Shared Hosting and WordPress Hosting.

This is the fastest way to install WordPress on your hosting account. The entire process takes under 2 minutes.

How to Install WordPress on cPanel with Softaculous

Softaculous WordPress installation form with protocol set to https, domain selector, site name, and admin credentials fields
Softaculous one-click WordPress installation form — protocol, domain, site settings, and admin account.
  1. Log in to your cPanel dashboard. Use the link and credentials from your hosting welcome email.
  2. Find Softaculous Apps Installer. Scroll to the “Software” section on your cPanel dashboard. Click the Softaculous icon. You can also search for it in the cPanel search bar.
  3. Select WordPress. On the Softaculous homepage, WordPress is usually featured on the main banner. Click “Install” next to it. Alternatively, browse to Blogs > WordPress in the left sidebar.
  4. Choose your installation settings:
    Choose Protocol: Select “https://” (your LUMINWEB plan includes a free SSL certificate).
    Choose Domain: Select the domain where you want WordPress installed.
    In Directory: Leave this blank to install WordPress on your main domain (yourdomain.com). Only fill this in if you want WordPress in a subfolder (like yourdomain.com/blog).
  5. Set up your site details:
    Site Name: Enter your website or business name.
    Site Description: A short tagline (you can change this later).
  6. Create your admin account:
    Admin Username: Pick something unique. Avoid “admin” — it’s the first username attackers guess.
    Admin Password: Use a strong password with uppercase, lowercase, numbers, and symbols. Softaculous can generate one for you.
    Admin Email: Enter your email address. WordPress sends important notifications here.
  7. Choose your language. Select English or your preferred language from the dropdown.
  8. Click “Install.” Softaculous creates your database, uploads WordPress files, and configures everything. A progress bar shows the installation status.
  9. Access your new site. After installation completes, Softaculous shows two links:
    Your website: https://yourdomain.com
    Your admin dashboard: https://yourdomain.com/wp-admin

Bookmark that wp-admin link. You’ll use it every time you manage your site.

If you’re shopping for WordPress hosting in Ghana that includes one-click install, free SSL, and a free domain, see LUMINWEB WordPress Hosting plans.

Method 2: Install WordPress with Softaculous on DirectAdmin

DirectAdmin control panel Extra Features section showing Softaculous Auto Installer, used to install WordPress on DirectAdmin hosting
Step 2 of Method 2: DirectAdmin’s Extra Features section with Softaculous Auto Installer highlighted.

The process on DirectAdmin is nearly identical to cPanel — only the navigation differs.

  1. Log in to your DirectAdmin panel.
  2. Navigate to Extra Features > Softaculous Auto Installer (or find it under “Advanced Features” depending on your DirectAdmin skin).
  3. Select WordPress and click “Install.”
  4. Follow the same configuration steps from Method 1 — protocol, domain, site name, admin credentials.
  5. Click “Install” and wait for completion.

The settings and options are the same as on cPanel. If you’re choosing between panels, our cPanel vs DirectAdmin comparison breaks down the differences in detail.

Method 3: Install WordPress Manually (FTP + MySQL)

Want more control over the WordPress installation? The manual method teaches you what happens behind the scenes when Softaculous does its work. It’s also the right choice when your host doesn’t include an auto-installer, or when you’re installing into a custom directory.

This is the famous “5-minute install” documented by WordPress.org. It takes 15–20 minutes the first time and 5 minutes once you’re comfortable with the steps.

Step 1: Download WordPress

Visit wordpress.org/download and download the latest version. The download is roughly 25 MB — manageable even on a mobile data connection.

Step 2: Create a MySQL Database

cPanel MySQL Databases page with Create New Database form, Add New User, and Add User to Database section for setting up the WordPress database manually
Method 3, Step 2: Create the database, the database user, and grant ALL PRIVILEGES.
  1. Log in to your cPanel dashboard.
  2. Scroll to the Databases section and click MySQL Databases.
  3. Under “Create New Database,” enter a name for your database (e.g., wp_mysite). Click Create Database.
  4. Scroll down to “MySQL Users” and create a new user with a strong password. Note both the username and password.
  5. Scroll to “Add User to Database.” Select the user you created, select the database, and click Add.
  6. On the privileges screen, check All Privileges and click Make Changes.

Write down these three pieces of information. You’ll need them in Step 4:

  • Database name
  • Database username
  • Database password

Step 3: Upload WordPress Files

You have two options here.

Option A: cPanel File Manager (no extra software needed)

  1. In cPanel, click File Manager.
  2. Navigate to the public_html folder. This is your website’s root directory.
  3. Click Upload in the top toolbar.
  4. Upload the WordPress zip file you downloaded.
  5. After the upload completes, right-click the zip file and select Extract.
  6. The files extract into a folder called wordpress. Open that folder, select all files inside, and move them to public_html (one level up).
  7. Delete the empty wordpress folder and the zip file to keep things clean.

Option B: FTP client

If you prefer using an FTP client like FileZilla:

  1. Extract the WordPress zip file on your computer first.
  2. Connect to your server using the FTP credentials from your hosting welcome email.
  3. Navigate to the public_html directory on the server.
  4. Upload all extracted WordPress files and folders to public_html.

The File Manager approach requires no extra software, which makes it the simpler choice for most users — and a better fit for areas with intermittent connectivity, since the upload runs server-side.

Step 4: Configure wp-config.php

wp-config.php file edited in cPanel File Manager with DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST values highlighted for WordPress manual install
Method 3, Step 4: Edit DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST in wp-config.php.
  1. In File Manager, navigate to public_html.
  2. Find the file named wp-config-sample.php. Right-click it and select Rename. Change the name to wp-config.php.
  3. Right-click wp-config.php and select Edit.
  4. Find these lines and replace the placeholder values with your actual database details:
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_username');
define('DB_PASSWORD', 'your_database_password');
define('DB_HOST', 'localhost');
  1. Security improvement: Scroll down to find the $table_prefix line. Change the default wp_ to something unique, like site_ or lwb_. Changing the default table prefix adds an extra layer of protection against SQL injection attacks.
  2. Generate security keys: Visit api.wordpress.org/secret-key/1.1/salt/ in your browser. Copy the entire output and paste it over the placeholder lines in wp-config.php (the section that says “put your unique phrase here”).
  3. Save the file.

Step 5: Run the WordPress Installer

WordPress 5-minute install Welcome screen with Site Title, Username, Password, and Email fields for completing the manual installation
Method 3, Step 5: Run the WordPress installer at /wp-admin/install.php.
  1. Open your web browser and visit https://yourdomain.com.
  2. WordPress greets you with the installation screen. Select your language and click Continue.
  3. Enter your site information:
    Site Title: Your website or business name.
    Username: Your admin username (avoid “admin”).
    Password: A strong password.
    Email: Your admin email address.
  4. Click Install WordPress.
  5. Click Log In and enter your new credentials to access the dashboard.

Your WordPress site is now live.

Method 4: Install WordPress Locally for Development

A local install runs WordPress on your own computer instead of a live server. It’s perfect for learning, building a site offline, or testing themes, plugins, and changes safely before pushing to a public site.

This method has a particular value in markets with intermittent connectivity: build offline, then push the finished site to your hosting when your connection is stable.

Two tools dominate this space — LocalWP and XAMPP. Both are free.

Option A: LocalWP (Recommended)

LocalWP (Local by WP Engine) is a free, modern local WordPress development tool available for Windows, macOS, and Linux. It’s the friendliest option for beginners because it provisions the entire stack — web server, PHP, MySQL, and WordPress — in a few clicks.

  1. Download Local from localwp.com.
  2. Run the installer for your operating system.
  3. Open Local and click Create a new site.
  4. Name your site. Local creates a .local domain by default (e.g., mysite.local).
  5. Choose the Preferred environment — confirm PHP 8.3+ to match WordPress’s recommended floor.
  6. Set your WordPress admin username, password, and email.
  7. Click Add Site. Local provisions the stack and installs WordPress in 1–2 minutes.
  8. Click Open Site to view your site, or WP Admin to log in to the dashboard.

That’s it. Your local WordPress site is live on your computer.

Option B: XAMPP

XAMPP by Apache Friends is a long-standing free, open-source Apache + MySQL + PHP stack. As of writing, the current XAMPP release is 8.2.12 on Windows and Linux (8.2.4 on macOS). It’s a good choice if you want hands-on understanding of how Apache, MySQL, and PHP work together — or if you’re already familiar with it from PHP development.

Important version note: XAMPP 8.2.x ships with PHP 8.2.x, which is one minor version below WordPress’s recommended floor of PHP 8.3. For local learning and development this is fine, but don’t deploy a live site on a server running PHP 8.2 — match the recommended PHP 8.3+ in production.

  1. Download XAMPP for your OS from apachefriends.org.
  2. Run the installer (accept defaults; install to C:\xampp on Windows or /Applications/XAMPP on macOS).
  3. Open the XAMPP Control Panel and start Apache and MySQL.
  4. Open phpMyAdmin at http://localhost/phpmyadmin and create a new database (e.g., wordpress_local).
  5. Download WordPress from wordpress.org and unzip it into XAMPP’s htdocs folder (e.g., C:\xampp\htdocs\mysite).
  6. Visit http://localhost/mysite in a browser to launch the WordPress installer.
  7. Enter the database name from step 4, user root, leave the password blank (the XAMPP default), and host localhost.
  8. Complete the WordPress 5-minute install — site title, admin user, password, email.
  9. Log in at http://localhost/mysite/wp-admin to verify.

XAMPP’s default MySQL root account has no password, which is acceptable for local-only learning but insecure for anything beyond your own machine. Never expose a XAMPP install to the public internet.

When to Use a Local Install — and When Not To

Local installs are perfect for learning, prototyping, building offline, and testing risky changes (theme swaps, plugin updates, custom code). They are not a replacement for hosting when your site needs to be public — visitors can’t reach a .local or localhost URL. When you’re ready to go live, you’ll migrate the site to a real hosting account using a plugin like Duplicator, All-in-One WP Migration, or LocalWP’s built-in push features.

First Things to Do After Installing WordPress

WordPress installation is just the starting point. These first steps ensure your site is fast, secure, and ready for content.

1. Set Your Permalinks

Go to Settings > Permalinks in your WordPress dashboard. Select “Post name” as your permalink structure. This creates clean URLs like yourdomain.com/about-us instead of yourdomain.com/?p=123. Click Save Changes.

2. Verify Your SSL Certificate

LUMINWEB includes free SSL certificates on every plan. Check that your site loads with https:// in the browser address bar — you’ll see a padlock icon. In your WordPress dashboard, go to Settings > General and make sure both “WordPress Address” and “Site Address” start with https://.

3. Delete Default Content

WordPress creates a sample post (“Hello world!”), a sample page (“Sample Page”), and a sample comment during installation. Trash all three from Posts > All Posts, Pages > All Pages, and Comments.

4. Set Your Timezone

Go to Settings > General and scroll to the Timezone setting. Select your timezone (for Ghana, choose UTC+0 or the city “Accra”). This ensures your scheduled posts publish at the right time.

5. Choose a Theme

Go to Appearance > Themes and browse the free themes available. Pick one that matches your business type. You can always change it later.

6. Install Essential Plugins

A fresh WordPress site needs a handful of plugins to be production-ready — security, SEO, caching, and forms. See our list of essential WordPress plugins for business websites for the recommended starting set.

7. Set Up Backups

LUMINWEB includes regular backups with restore functionality on all plans. For extra peace of mind, set up automated WordPress backups with a plugin like UpdraftPlus to keep an additional copy you control.

8. Optimize WordPress for Speed

Once your content is live, review WordPress hosting performance benchmarks and fixes to speed up your site with caching, image optimization, and a CDN. LUMINWEB includes a free CDN to accelerate page loads for your visitors.

Common WordPress Installation Errors and Fixes

A handful of errors come up again and again during WordPress installs. Here’s how to fix the most common ones.

“Error establishing a database connection”

This is the most common WordPress installation error. It means WordPress can’t connect to your database.

  • Double-check the database name, username, and password in wp-config.php. Even one wrong character causes this error.
  • Confirm the database user has “All Privileges” assigned.
  • Make sure DB_HOST is set to localhost (this is correct for most shared hosting environments, including LUMINWEB).

White Screen of Death (No Error Message)

A blank white screen usually means a PHP error is happening silently.

  • Check that your WordPress files uploaded completely. Re-upload if the download was interrupted.
  • Verify your hosting meets the WordPress requirements (PHP 8.3+, MySQL 8.0+ or MariaDB 10.6+).
  • Temporarily enable debug mode by adding define('WP_DEBUG', true); to wp-config.php to surface the underlying PHP error.

PHP Version Mismatch

If WordPress complains that your PHP version is too old — or if you see fatal errors after activating a recent theme or plugin — your server may be running an outdated PHP version.

  • In cPanel, look for Select PHP Version (or MultiPHP Manager). In DirectAdmin, look for PHP Version Selector.
  • Switch to PHP 8.3 or greater to match the WordPress recommended floor.
  • If you’re on a local install with XAMPP 8.2.x, this mismatch is expected — match production by upgrading XAMPP or moving to LocalWP for newer PHP versions.

“Briefly Unavailable for Scheduled Maintenance. Check Back in a Minute.”

WordPress shows this message when an update (core, theme, or plugin) is interrupted and the maintenance flag file gets stuck.

  • Open File Manager and navigate to your WordPress root directory (public_html).
  • Find a file named .maintenance and delete it.
  • Refresh your site — it should load normally.

Permission Denied or 403/500 Errors

File and folder permissions need to be set correctly for WordPress to read, write, and execute files.

  • WordPress files should be 644 permissions.
  • WordPress folders should be 755 permissions.
  • The wp-config.php file is more sensitive — set it to 600 or 640 so only the web server can read it.
  • In cPanel File Manager, right-click a file or folder and select Change Permissions to verify or adjust.
  • If you have shell access, you can fix permissions in bulk: find /path/to/wordpress/ -type d -exec chmod 755 {} \; for folders and find /path/to/wordpress/ -type f -exec chmod 644 {} \; for files.

WordPress Installation Page Keeps Reappearing

If you see the WordPress installation screen after completing the install, your wp-config.php file may not be saved correctly. Open it in File Manager and confirm the database credentials are correct and saved.

Frequently Asked Questions

How long does WordPress take to install?

With a one-click installer like Softaculous, under 2 minutes. A manual WordPress install takes 15–20 minutes the first time and roughly 5 minutes once you’re comfortable with the steps. A local install with LocalWP takes 5–10 minutes including the download.

Do I need to install WordPress, or is it already installed?

It depends on your host. Some providers pre-install WordPress on certain managed plans, while DIY shared and WordPress hosting plans typically leave the install to you (with a one-click installer to make it easy). Check your hosting welcome email or control panel — if you see Softaculous and no live WordPress site at your domain, you’ll install it yourself in a couple of minutes.

Is there a free way to install WordPress?

Yes. WordPress is free and open-source software. You only pay for hosting and a domain. LUMINWEB includes a free domain with every hosting plan, so a single hosting fee covers both.

What do I need before installing WordPress?

Four things: a hosting account, a registered domain name, control panel access (cPanel or DirectAdmin), and your control panel login credentials. WordPress’s technical requirements (PHP 8.3+, MySQL 8.0+ or MariaDB 10.6+, HTTPS) are handled by your host.

Can I install WordPress without coding?

Yes. The one-click installer method requires zero coding — you fill in a form and click “Install.” Even the manual method involves no programming; you’re copying files and filling in database credentials, not writing code.

Your WordPress Site Is Ready

You’ve installed WordPress. Your site is live. Now the real work begins — building pages, creating content, and growing your online presence.

WordPress gives you the foundation. Your hosting keeps it fast and secure. Whether you went the one-click route, the manual route, or built locally first, you now have the same destination: a working WordPress dashboard ready for your business.

Ready to launch your WordPress site? Pick a hosting plan with cPanel or DirectAdmin and a free domain to get started — explore LUMINWEB WordPress Hosting or create your account to install WordPress in under two minutes.

Ready for Next-Level Hosting?

With our premium hosting solutions, unlock a world of speed, security, and seamless website management.

Connect

Payment Methods

©2024 LUMINWEB | All rights reserved.