Solusi WP Meminta FTP Credential Di Localhost XAMPP

Pada saat mau instalasi plugin atau theme yang perlu diunduh terlebih dahulu dari repositori WordPress.org, muncul pesan eror yang menyatakan bahwa WordPress meminta data FTP Credential di localhost pada aplikasi XAMPP.

Detail erornya seperti ini:

Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Hostname
example: www.wordpress.org
FTP Username
FTP Password
This password will not be stored on the server.
Connection Type
 FTP
 FTPS (SSL)
Cancel or Proceed
Cara mengatasi WordPress Meminta FTP CREDENTIAL DI LOCALHOST XAMPP

Solusi dari WordPress yang meminta FTP Credential di atas yaitu dengan menambahkan baris kode berikut di file wp-config.php:

define( 'FS_METHOD', 'direct' );

Sesudah kamu edit file wp-config.php dan menambahkan baris kode di atas, coba kemudian lakukan refresh.

Sekarang tinggal melakukan instalasi plugin seperti biasa di WordPress, tanpa adanya popup FTP seperti gambar di atas.

About The Author

Gabung Bersama +30.000 Pembaca Kami!

Daftarkan email anda untuk mendapatkan artikel terbaru dari Situstarget.com.

Proses pendaftaran hampir selesai, mohon cek email Anda dan Klik tombol konfirmasi.

Pin It on Pinterest

Share This