Installing WordPress takes less time than making a cup of coffee – if you know what you’re doing. Whether you’re setting up your first blog or spinning up a client site for your agency, this guide walks you through every method to install WordPress, from one-click hosting installers to manual setups and local development environments.

WordPress powers over 43% of all websites on the internet, and that number keeps growing. The reason is simple – it’s flexible, extensible, and surprisingly easy to get running. Let’s get your site up.

[image#1: WordPress logo on a clean server dashboard background showing a fresh installation]

What You Need Before Installing WordPress

Before you start the installation, make sure you have these basics covered:

  • A domain name – your site’s address (e.g., yourdomain.com)
  • Web hosting – a server to store your files (Cloudways, SiteGround, Bluehost, etc.)
  • FTP client – only needed for manual installs (FileZilla works great)
  • A browser – that’s it, seriously

WordPress itself is free. You can download it from wordpress.org. The hosting is where the cost comes in, typically anywhere from $3 to $30 per month depending on your needs.

Quick note on hosting: If you’re building sites for clients, managed WordPress hosting (like Cloudways or Kinsta) saves you hours of server maintenance. The extra cost pays for itself after your second client project. If you’re looking to add payment functionality later, check out our guide on adding Stripe payments to WordPress without WooCommerce.

Method 1: One-Click Install (Fastest Way)

Most modern hosting providers include a one-click WordPress installer. This is the easiest method and works perfectly for production sites.

[image#2: Screenshot of a hosting control panel showing the one-click WordPress installer button]

Step-by-Step: One-Click Installation

1. Log into your hosting control panel. This is usually cPanel, Plesk, or a custom dashboard depending on your host.

2. Find the WordPress installer. Look for icons labeled “WordPress,” “Softaculous,” “Installatron,” or “One-Click Install.” Most hosts put this front and center.

3. Click Install and fill in the details:

  • Site URL – select your domain from the dropdown
  • Site Title – your website name (you can change this later)
  • Admin Username – pick something other than “admin” for security
  • Admin Password – use a strong, unique password
  • Admin Email – your email address for notifications

4. Hit the install button. The installer handles everything – downloading WordPress, creating the database, configuring wp-config.php, and running the setup.

5. Log in. Navigate to yourdomain.com/wp-admin and sign in with the credentials you just created.

That’s it. Your WordPress site is live. The entire process takes about 2-3 minutes.

Hosting Providers with One-Click Install

ProviderInstallerSetup Time
SiteGroundCustom wizard~2 min
BluehostBuilt-in~3 min
CloudwaysCustom dashboard~3 min
HostingerhPanel wizard~2 min
A2 HostingSoftaculous~3 min

Method 2: Manual Installation (Full Control)

Manual installation gives you complete control over every configuration detail. This is the go-to method when your host doesn’t offer one-click installers, or when you need a custom database setup.

[image#3: Terminal window showing WordPress files being uploaded via FTP alongside a phpMyAdmin database creation screen]

Step 1: Download WordPress

Head to wordpress.org/download and grab the latest version. You’ll get a .zip file. Extract it on your local machine.

Step 2: Create a Database

Log into your hosting’s database manager (usually phpMyAdmin through cPanel):

  1. Click “New” or “Create Database”
  2. Name your database (e.g., wp_yoursite)
  3. Create a database user with a strong password
  4. Assign the user to the database with All Privileges

Write down these four things – you’ll need them in a moment:

  • Database name
  • Database username
  • Database password
  • Database host (usually localhost)

Step 3: Upload WordPress Files

Open your FTP client (FileZilla is free and reliable) and connect to your server:

  1. Navigate to your public_html or www directory
  2. Upload all the files from the extracted WordPress folder
  3. Make sure the files go directly into the root – not inside a /wordpress/ subfolder

Pro tip: If you’re uploading to a subdirectory (like yourdomain.com/blog), create that folder first, then upload the files there.

Step 4: Run the Installation

Open your browser and navigate to your domain. WordPress will greet you with the famous 5-minute install screen:

  1. Select your language and click Continue
  2. Enter your database details – the four items you saved earlier
  3. Click “Run the Installation”
  4. Fill in your site info – title, admin username, password, and email
  5. Click “Install WordPress”

You’re done. Log in at yourdomain.com/wp-admin.

Configuring wp-config.php Manually

If the automatic database connection fails, you can edit wp-config.php directly:

  1. Rename wp-config-sample.php to wp-config.php
  2. Open it in a text editor
  3. Update these lines with your database info:
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_user');
define('DB_PASSWORD', 'your_database_password');
define('DB_HOST', 'localhost');
  1. Visit the WordPress salt generator and replace the placeholder salt keys
  2. Save the file and re-upload it

Method 3: Install WordPress Locally (For Developers)

Local development is the professional way to build WordPress sites. You work on your machine, test everything, then push to a live server when ready. No risk of breaking a live site while you’re experimenting.

[image#4: LocalWP application interface showing a locally installed WordPress site with site details panel]

Option A: LocalWP (Recommended)

LocalWP (formerly Local by Flywheel) is the easiest local development tool. Period.

  1. Download LocalWP from localwp.com
  2. Click the + button to create a new site
  3. Name your site – LocalWP generates a .local domain automatically
  4. Choose your environment – PHP version, web server (Nginx or Apache), MySQL version
  5. Set your WordPress credentials and click “Add Site”

LocalWP handles everything – Apache/Nginx, MySQL, PHP, SSL certificates, and even live link sharing for client previews. It’s what we use at Dev Ash for all client projects before pushing to production.

Option B: XAMPP/MAMP

If you prefer a traditional local server stack:

  1. Install XAMPP (Windows/Linux) or MAMP (Mac)
  2. Start Apache and MySQL from the control panel
  3. Create a database via localhost/phpmyadmin
  4. Download WordPress and extract it to the htdocs folder (XAMPP) or htdocs folder (MAMP)
  5. Visit localhost/your-folder-name and run through the WordPress installer

Option C: Docker (For Advanced Users)

If you’re already using Docker, spinning up WordPress is a single docker-compose.yml file:

version: '3.8'
services:
  wordpress:
    image: wordpress:latest
    ports:
      - "8080:80"
    environment:
      WORDPRESS_DB_HOST: db
      WORDPRESS_DB_USER: wp_user
      WORDPRESS_DB_PASSWORD: wp_pass
      WORDPRESS_DB_NAME: wordpress
    volumes:
      - ./wp-content:/var/www/html/wp-content
  db:
    image: mysql:8.0
    environment:
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wp_user
      MYSQL_PASSWORD: wp_pass
      MYSQL_ROOT_PASSWORD: root_pass
    volumes:
      - db_data:/var/lib/mysql
volumes:
  db_data:

Run docker-compose up -d and visit localhost:8080. WordPress is ready.

Essential Post-Installation Steps

Getting WordPress installed is just the beginning. Here’s what to do immediately after:

[image#5: WordPress admin dashboard showing the Settings menu expanded with key configuration options highlighted]

1. Set Your Permalinks

Go to Settings > Permalinks and select “Post name” (/%postname%/). This gives you clean, SEO-friendly URLs like yourdomain.com/my-first-post instead of yourdomain.com/?p=123.

2. Install an SSL Certificate

Most hosts provide free SSL through Let’s Encrypt. Enable it from your hosting panel, then update your WordPress URLs under Settings > General to use https://.

3. Delete Default Content

WordPress ships with a sample post (“Hello World”), a sample page (“Sample Page”), and a sample comment. Delete all three. Start clean.

4. Install Essential Plugins

Keep it minimal. Here’s what you actually need:

  • Yoast SEO or Rank Math – for on-page SEO optimization
  • UpdraftPlus – automated backups
  • Wordfence or Sucuri – security monitoring
  • WP Super Cache or LiteSpeed Cache – performance

Avoid installing 20+ plugins. Each one adds weight to your site. If you’re building for clients, our guide on custom WordPress plugin development for agencies covers when to build vs. buy.

5. Choose a Theme

The default Twenty Twenty-Five theme works fine for testing, but for production sites, pick a lightweight theme that matches your goals. Astra, GeneratePress, and Kadence are solid choices that won’t slow your site down.

6. Configure Basic Security

  • Change the default admin username if you used it
  • Enable two-factor authentication
  • Limit login attempts
  • Keep WordPress, themes, and plugins updated

Troubleshooting Common Installation Issues

Even straightforward installs can hit snags. Here are the most common problems and their fixes:

[image#6: Browser showing a WordPress database connection error page with the error message highlighted]

“Error establishing a database connection” – Your database credentials in wp-config.php don’t match what you set up. Double-check the database name, username, password, and host. Some hosts use a value other than localhost for the host.

White screen of death – Usually a PHP memory issue. Add this line to wp-config.php:

define('WP_MEMORY_LIMIT', '256M');

“Sorry, you are not allowed to access this page” – Clear your browser cache and cookies. If that doesn’t work, check file permissions – directories should be 755 and files should be 644.

Upload size limit too small – Add these lines to your .htaccess file:

php_value upload_max_filesize 64M
php_value post_max_size 64M

Installation stuck or timing out – This is usually a slow server connection. Try the manual installation method with FTP instead of the one-click installer.

Wrapping Up

You now have everything you need to install WordPress using any method – one-click for speed, manual for control, or local for development. The one-click installer is perfect for most situations, but knowing the manual process makes you dangerous (in a good way) when things don’t go as planned.

Once your site is installed and configured, the real fun begins – building it out. If you’re running an agency and looking to scale your WordPress development workflow, check out our guide on white-label WordPress development to see how we handle multi-client builds at Dev Ash.

Now go build something.