How to Install WordPress (Step-by-Step Guide)
WordPress powers over 40% of all websites, and one reason for its popularity is how easy it is to install. Whether you’re a beginner or experienced user, you can set up WordPress in just a few steps. This guide walks you through different methods for installing WordPress.
Method 1: Installing WordPress with One-Click Installer
Most hosting providers (like Bluehost, SiteGround, or HostGator) offer one-click WordPress installation via tools such as cPanel, Softaculous, or QuickInstall.
- Log in to your hosting control panel (cPanel or similar).
- Find the WordPress Installer (often under “Website” or “Scripts”).
- Click Install and fill in site details (site name, admin username, password, email).
- Choose your domain and directory (leave directory blank if installing on the main domain).
- Click Install and wait for the process to complete.
- Access your site at
https://yourdomain.comand login athttps://yourdomain.com/wp-admin.
Method 2: Manual Installation via cPanel or FTP
If your host doesn’t provide one-click installation, you can install WordPress manually.
Step 1: Download WordPress
- Go to the official WordPress.org download page.
- Download and extract the ZIP file to your computer.
Step 2: Upload WordPress Files
- Log in to your hosting cPanel → File Manager, or use an FTP client like FileZilla.
- Upload the extracted WordPress files to your domain’s root directory (usually
public_html).
Step 3: Create a Database
- In cPanel, go to MySQL Databases.
- Create a new database and user, then assign the user to the database with All Privileges.
- Note the database name, username, and password.
Step 4: Configure wp-config.php
- Locate the
wp-config-sample.phpfile in your WordPress files. - Rename it to
wp-config.php. - Edit it and enter your database details:
define( 'DB_NAME', 'your_database_name' );
define( 'DB_USER', 'your_database_user' );
define( 'DB_PASSWORD', 'your_password' );
define( 'DB_HOST', 'localhost' );
Step 5: Run the Installation
- Visit
https://yourdomain.comin your browser. - You’ll see the WordPress setup wizard.
- Enter your site title, admin username, password, and email.
- Click Install WordPress.
- Log in at
https://yourdomain.com/wp-admin.
Method 3: Local Installation (For Testing)
You can also install WordPress on your local computer using tools like XAMPP, MAMP, or Local by Flywheel.
- Install XAMPP or MAMP (depending on your OS).
- Create a new database using phpMyAdmin.
- Download and extract WordPress into the
htdocsfolder (XAMPP) or equivalent. - Run the installer at
http://localhost/wordpress. - Follow the same setup process as manual installation.
After Installation: Next Steps
- Log in to your WordPress dashboard at
/wp-admin. - Choose a theme from Appearance → Themes.
- Install essential plugins (SEO, security, backups).
- Create your first post or page.
Summary
There are three main ways to install WordPress:
- One-Click Installer: Fastest and easiest for beginners.
- Manual Installation: Offers full control over setup.
- Local Installation: Great for testing and development.
Once installed, you can log in to the dashboard, customize your site, and start publishing content right away.
🚀 New to WordPress? Start with our WordPress Beginner Hub for step-by-step guides and easy tutorials.