Find us on social media
WordPresscPanelSSL3 min read
Install WordPress from cPanel
Quick WordPress installation using Softaculous with SSL and initial configuration.
Option 1: Install with Softaculous (recommended)
Softaculous is a one-click installer available in cPanel that handles everything automatically.
Steps
- Log in to cPanel
- Go to Software → Softaculous Apps Installer
- Find WordPress and click Install
- Configure the installation:
| Setting | Recommended value |
|---|---|
| Protocol | https:// |
| Domain | yourdomain.com |
| Directory | (leave empty for root) |
| Site Name | Your Site Name |
| Admin Username | (NOT "admin") |
| Admin Password | Strong password |
| Admin Email | your@email.com |
| Language | English |
- Under Advanced Options, check:
- Auto Upgrade
- Auto Upgrade Plugins
- Backup Location: Default
- Click Install
Softaculous will create the database, configure wp-config.php, and install WordPress automatically.
Option 2: Manual installation
If you prefer manual control:
Create a database
- In cPanel, go to Databases → MySQL Databases
- Create a new database (e.g.,
user_wordpress) - Create a new user with a strong password
- Add the user to the database with All Privileges
Download and upload WordPress
bash
# Via SSH (if available)
cd ~/public_html
wget https://wordpress.org/latest.tar.gz
tar -xzf latest.tar.gz
mv wordpress/* .
rm -rf wordpress latest.tar.gzOr upload via cPanel File Manager.
Run the installer
- Navigate to
https://yourdomain.com - Select your language
- Enter database details:
- Database Name:
user_wordpress - Username: your database user
- Password: your database password
- Host:
localhost - Table Prefix:
wp_(change for security)
- Complete the site information form
- Click Install WordPress
Post-installation configuration
Essential settings
- Go to Settings → Permalinks → select Post name
- Go to Settings → General → verify site URL uses HTTPS
- Delete the default "Hello World" post and sample page
- Remove unused themes and plugins
Recommended plugins
- Wordfence or Sucuri - Security
- WP Super Cache or LiteSpeed Cache - Performance
- UpdraftPlus - Backups
- Yoast SEO - Search engine optimization
- WPForms Lite - Contact forms
Security hardening
Add to wp-config.php:
php
// Disable file editing from admin
define('DISALLOW_FILE_EDIT', true);
// Limit post revisions
define('WP_POST_REVISIONS', 5);
// Auto-save interval (seconds)
define('AUTOSAVE_INTERVAL', 120);Add to .htaccess to protect wp-config:
apache
<Files wp-config.php>
Order Allow,Deny
Deny from all
</Files>Performance basics
- Enable caching plugin
- Use a CDN for static assets
- Optimize images before uploading
- Keep plugins to a minimum (each adds overhead)
- Choose a lightweight theme
Automatic backups
Softaculous can create automatic backups:
- Go to Softaculous → Installations
- Click the edit icon next to WordPress
- Enable Backup and set frequency
- Set retention (keep last 3-5 backups)
Was this guide helpful?