WordPress Disabling forced FTP credentials for any updates
Table of Content
WordPress Disabling forced FTP credentials for any updates
WordPress tắt chế độ cài đặt theme, plugin bằng FTP, cho phép upload hay tải trực tiếp
https://wordpress.org/support/topic/disabling-forced-ftp-credentials-for-any-updates/
On wp-config add:
define ( ‘FS_METHOD’, ‘direct’);
Ví dụ
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('FS_METHOD','direct');
define( 'DB_NAME', 'azuzu_ml' );
/** Database username */
define( 'DB_USER', 'root' );