How to install WordPress manually
Installing WordPress manually gives you more control over the setup process and is useful when auto-installers (like Softaculous) are unavailable or you want a clean install. Here’s a step-by-step guide using cPanel:
Step-by-Step: Manual WordPress Installation
1. Download WordPress
Download the latest
.zip
file.
2. Upload and Extract WordPress Files
Log in to cPanel.
Go to File Manager.
Navigate to the directory where you want to install WordPress:
Root domain:
public_html
Subdomain:
public_html/subdomain
Click Upload and upload the
.zip
file.After upload, extract it.
Move the contents from the
wordpress/
folder to the desired directory (so that index.php is directly insidepublic_html
).
3. Create a MySQL Database and User
In cPanel, go to MySQL® Databases.
Under Create New Database, give your DB a name and click Create Database.
Scroll down to MySQL Users > Add New User.
Create a user and set a password (keep it secure!).
Under Add User to Database, select the user and database and click Add.
On the next screen, select “ALL PRIVILEGES” and save.
4. Configure wp-config.php
In File Manager, go to the WordPress folder.
Find
wp-config-sample.php
, right-click, and rename it towp-config.php
.Edit the file and find these lines:
Replace with the actual database info you created.
(Optional but recommended) Generate new secret keys from https://api.wordpress.org/secret-key/1.1/salt/ and replace them in the config file.
5. Run the Installation Script
In your browser, go to your domain:
You’ll see the WordPress install screen.
Choose your site title, admin username, password, and email.
Click Install WordPress.
6. Login and Start Building
After installation, go to:
Log in with your admin credentials and start building your website.
Additional Tips
Security: Delete the
wp-config-sample.php
and.zip
files after installation.File permissions: Ensure proper file permissions (generally 644 for files and 755 for folders).
SSL: Use cPanel > SSL/TLS to install an SSL certificate for HTTPS.
Caching & Security Plugins: Consider installing plugins like Wordfence, WP Super Cache, or LiteSpeed Cache (if using LiteSpeed server).