The complete, step-by-step guide to installing WordPress — manually or via one-click — with cPanel, FTP, and proper database setup. Get your site live in under 30 minutes.
WordPress powers over 43% of all websites on the internet as of 2026 — making it the world's most popular content management system by a massive margin. Installing WordPress is straightforward, but doing it correctly — with a proper database user, correct file permissions, and a configured wp-config.php — makes a significant difference for security and performance from day one.
This guide covers both the recommended one-click installation via cPanel's Softaculous installer and the manual installation method, which gives you more control over configuration.
Access your hosting account's cPanel dashboard, typically at yoursite.com/cpanel or via your hosting provider's "My Account" portal. You'll need your cPanel username and password from your welcome email.
In cPanel, look for the "Softaculous Apps Installer" section, or search for "WordPress" in the search bar. Softaculous is the most common one-click installer. Click "WordPress" then "Install."
Fill in the installation form:
https:// (requires SSL to be active)Security: Never use "admin" as your username. This is the first username attackers try. Choose something unique like your name or a random string.
Click "Install" and wait 1-2 minutes. Softaculous will automatically create the MySQL database, configure wp-config.php, upload WordPress files, and run the installation script. You'll receive a confirmation with your admin login URL (typically yoursite.com/wp-admin).
Manual installation gives you more control and is worth knowing even if you use Softaculous, since it demystifies what's happening under the hood.
Download the latest WordPress from wordpress.org/download. You'll get a .zip file containing the WordPress core files. Extract the zip — you'll have a wordpress/ directory.
In cPanel, go to "MySQL Databases." Create a new database:
Note the database name, username, and password — you'll need these for wp-config.php. Your hosting server hostname is usually localhost.
Using an FTP client (FileZilla recommended) or cPanel's File Manager, upload the contents of the wordpress/ directory to your server's public_html directory (or a subdirectory if installing in a subfolder).
Upload the contents of the wordpress folder, not the folder itself. Files like wp-config-sample.php and wp-login.php should be directly inside public_html, not inside a wordpress/ subfolder inside it.
Rename wp-config-sample.php to wp-config.php and edit it with your database details:
Generate unique security keys at api.wordpress.org/secret-key/1.1/salt/ — never use default or blank values.
Navigate to yoursite.com/wp-admin/install.php in your browser. The WordPress installation wizard will walk you through setting your site title, admin username, password, and email. Click "Install WordPress" — done.
After WordPress is installed, do these immediately:
Correct file permissions are critical for WordPress security. Wrong permissions either lock WordPress out of its own files or create security vulnerabilities.
A freshly installed WordPress site can be slow out of the box. These steps make an immediate performance difference: