Salin dan Bagikan
Cara Install WordPress di cPanel dengan Mudah

Cara Install WordPress di cPanel dengan Mudah

Cara Termudah Install WordPress di cPanel

Installing WordPress di cPanel adalah proses yang sangat mudah, bahkan untuk pemula sekalipun. Dalam panduan ini, saya akan tunjukkan dua metode: menggunakan Softaculous Auto Installer (cara termudah) dan Manual Installation (untuk yang ingin kontrol lebih).

Metode 1: Install dengan Softaculous (Rekomendasi)

Softaculous adalah auto installer yang tersedia di hampir semua shared hosting. Ini adalah cara tercepat dan termudah untuk install WordPress.

Persiapan Sebelum Install

Sebelum mulai, pastikan Anda sudah:

  • ✅ Memiliki akun hosting aktif
  • ✅ Domain sudah pointing ke hosting
  • ✅ Login credentials cPanel
  • ✅ Email aktif untuk notifikasi

Step-by-Step dengan Softaculous

Step 1: Login ke cPanel

1. Buka browser, masuk ke: yourdomain.com/cpanel
2. Enter username dan password (dari email hosting)
3. Click "Log in"

Step 2: Cari Softaculous

  • Scroll ke section “Software”
  • Click icon “WordPress” atau “Softaculous Apps Installer”
  • Atau gunakan search box: ketik “wordpress”

Step 3: Klik Install Now

  • Pada WordPress page, click tombol “Install Now”
  • Anda akan diarahkan ke installation form

Step 4: Software Setup

Choose Protocol:

  • Select “https://” jika sudah ada SSL
  • Select “http://” jika belum ada SSL (install SSL dulu)

Choose Domain:

  • Pilih domain tempat install WordPress
  • Kosongkan “In Directory” untuk install di root
  • Atau isi dengan folder name (misal: “blog”) untuk subdirectory

Site Settings:

  • Site Name: Nama website Anda (bisa diubah nanti)
  • Site Description: Tagline atau deskripsi singkat
  • Enable Multisite: Biarkan unchecked (kecuali butuh multisite)

Step 5: Admin Account

PENTING: Credentials ini untuk login WordPress!

Admin Username: pilih_username_kuat (JANGAN pakai "admin")
Admin Password: buat_password_sangat_kuat
Admin Email: email@aktif-anda.com

Security Tips:

  • ❌ Jangan gunakan “admin” sebagai username
  • ✅ Gunakan kombinasi huruf, angka, simbol
  • ✅ Password minimal 12 karakter
  • ✅ Gunakan email yang aktif Anda check

Step 6: Choose Language

  • Pilih “English” atau “Indonesian” sesuai preference
  • Bahasa bisa diubah nanti dari WordPress dashboard

Step 7: Select Plugin(s)
Softaculous offer beberapa plugins:

  • Limit Login Attempts (Loginizer): ✅ Recommended
  • Classic Editor: Optional (jika tidak suka Gutenberg)
  • wpCentral: Optional (untuk manage multiple sites)

Step 8: Advanced Options

Database Name:

  • Biarkan default (auto-generated)
  • Atau custom jika Anda prefer

Table Prefix:

  • Biarkan default “wp_” atau change untuk security
  • Contoh: “xyz_” atau “blog_”

Auto Upgrade:

  • ✅ Check “WordPress Core” untuk auto-update
  • ⚠️ Jangan check plugins/themes (bisa break site)

Auto Backup:

  • ✅ Recommended: pilih daily atau weekly
  • Backup retention: 4 backups

Email Installation Details:

  • ✅ Check untuk receive installation details

Step 9: Install

  • Review semua settings
  • Click tombol “Install”
  • Tunggu 1-3 menit (progress bar akan muncul)

Step 10: Installation Complete!

Setelah selesai, Anda akan mendapat:

WordPress URL: https://yourdomain.com
Admin URL: https://yourdomain.com/wp-admin
Username: [your_username]
Password: [your_password]

SAVE CREDENTIALS INI! Simpan di password manager.

Metode 2: Manual Installation

Manual installation memberikan kontrol lebih dan pemahaman lebih dalam tentang struktur WordPress.

Yang Dibutuhkan

  • WordPress files (download dari wordpress.org)
  • FTP client (FileZilla)
  • Text editor (Notepad++ atau VS Code)
  • cPanel access

Step-by-Step Manual Install

Step 1: Download WordPress

1. Kunjungi wordpress.org/download
2. Download latest version (.zip file)
3. Extract di computer Anda

Step 2: Create Database

Login ke cPanel → MySQL Database Wizard:

1. Create Database
   Database Name: wordpressdb (atau nama lain)
   
2. Create User
   Username: wpuser
   Password: [strong password]
   
3. Add User to Database
   All Privileges → Make Changes
   
4. Save database credentials:
   - Database name
   - Database user
   - Database password
   - Database host (usually localhost)

Step 3: Upload Files via File Manager

Method A: Using cPanel File Manager (Easier)

1. cPanel  File Manager
2. Navigate ke public_html
3. Click "Upload"
4. Select wordpress.zip file
5. Wait for upload complete
6. Right-click  Extract
7. Move semua files dari wordpress/ folder ke public_html
8. Delete wordpress/ folder yang kosong

Method B: Using FTP (More Control)

1. Install FileZilla
2. Connect ke hosting:
   Host: ftp.yourdomain.com
   Username: [cpanel username]
   Password: [cpanel password]
   Port: 21
   
3. Navigate:
   Local: extracted wordpress folder
   Remote: /public_html
   
4. Upload all files (drag & drop)
5. Wait for transfer complete (bisa 5-10 menit)

Step 4: Configure wp-config.php

Using cPanel File Manager:

1. Navigate ke public_html
2. Find file: wp-config-sample.php
3. Right-click → Rename → wp-config.php
4. Right-click → Edit
5. Find dan replace:
// Database settings
define( 'DB_NAME', 'wordpressdb' );      // Your database name
define( 'DB_USER', 'wpuser' );           // Your database username
define( 'DB_PASSWORD', 'your_password' ); // Your database password
define( 'DB_HOST', 'localhost' );        // Usually localhost

// Authentication Unique Keys and Salts
// Generate dari: https://api.wordpress.org/secret-key/1.1/salt/
// Copy-paste semua lines yang di-generate

Security Keys:

1. Buka: https://api.wordpress.org/secret-key/1.1/salt/
2. Copy semua lines yang generated
3. Paste replace existing keys di wp-config.php
4. Save file

Step 5: Run Installation

1. Buka browser: yourdomain.com/wp-admin/install.php
2. Pilih Language: English atau Indonesian
3. Click "Continue"
4. Fill Installation Form:
Site Title: Nama Website Anda
Username: pilih_username (JANGAN "admin")
Password: strong_password
Your Email: email@aktif.com
Search Engine Visibility: ☑ (uncheck saat development)
5. Click "Install WordPress"
6. Click "Log In"

Step 6: First Login

URL: yourdomain.com/wp-admin
Enter username & password
Click "Log In"

Post-Installation Setup

Dashboard → Settings → Permalinks
Pilih: "Post name" atau "Custom Structure"
Recommended: /%postname%/
Save Changes

2. Install Essential Plugins

Via Dashboard:

Plugins → Add New → Search:
- Yoast SEO or Rank Math (SEO)
- Wordfence or Sucuri (Security)
- WP Rocket or W3 Total Cache (Caching)
- UpdraftPlus (Backup)
- Contact Form 7 (Forms)

3. Choose dan Install Theme

Appearance → Themes → Add New
Popular options:
- Astra (lightweight, fast)
- GeneratePress (performance-focused)
- OceanWP (feature-rich)
- Kadence (modern blocks)

4. Security Hardening

Change Default URLs:

Plugins → Add New → "WPS Hide Login"
Settings → Change "/wp-admin" ke "/login" atau custom

Disable File Editing:
Add di wp-config.php:

define( 'DISALLOW_FILE_EDIT', true );

Remove WordPress Version:
Add di functions.php:

remove_action('wp_head', 'wp_generator');

5. Setup Backup

Plugins → UpdraftPlus
Settings → Schedule:
- Files: Weekly
- Database: Daily
- Storage: Google Drive or Dropbox

Troubleshooting Common Issues

Issue: “Error establishing database connection”

Solution:

1. Check wp-config.php credentials
2. Verify database exists di cPanel
3. Check database user has privileges
4. Try reset password database user

Issue: White Screen of Death

Solution:

1. Increase memory limit di wp-config.php:
   define('WP_MEMORY_LIMIT', '256M');
   
2. Deactivate semua plugins via FTP:
   Rename /wp-content/plugins/ to /wp-content/plugins-old/
   
3. Switch ke default theme via database

Issue: Upload files error

Solution:

1. Check folder permissions:
   /wp-content/uploads/ should be 755
   
2. Increase upload limit via .htaccess:
   php_value upload_max_filesize 64M
   php_value post_max_size 64M

Issue: 404 errors on pages

Solution:

1. Settings → Permalinks → Save Changes
2. Check .htaccess file exists dan readable
3. Verify mod_rewrite enabled di server

Best Practices

Security

✅ Strong passwords (12+ characters)
✅ Change admin username dari “admin”
✅ Enable two-factor authentication
✅ Keep WordPress, themes, plugins updated
✅ Regular backups
✅ Install security plugin
✅ Use SSL certificate (HTTPS)

Performance

✅ Choose lightweight theme
✅ Install caching plugin
✅ Optimize images before upload
✅ Use CDN untuk static assets
✅ Minimize plugins (only essentials)
✅ Enable Gzip compression

Maintenance

✅ Update weekly (core, themes, plugins)
✅ Test updates di staging dulu
✅ Monitor uptime
✅ Check broken links
✅ Audit security monthly
✅ Optimize database quarterly

Lihat juga: WordPress untuk Pemula , Security WordPress , WordPress Plugins Wajib .

Kesimpulan

Install WordPress di cPanel adalah proses yang straightforward. Metode Softaculous perfect untuk pemula yang ingin quick setup, sementara manual installation bagus untuk yang ingin pemahaman lebih dalam.

Setelah install, jangan lupa:

  1. Update permalink structure
  2. Install essential plugins
  3. Setup security measures
  4. Configure backups
  5. Create quality content

Congratulations! WordPress Anda sudah ready. Sekarang saatnya fokus pada creating great content! 🚀

Link Postingan : https://www.tirinfo.com/cara-install-wordpress-di-cpanel-dengan-mudah/

Hendra WIjaya
Tirinfo
6 minutes.
8 December 2025