Explore Bato Web Agency Webflow Certified Partner Profile Explore Bato Web Agency Webflow Certified Partner Profile

Why does WordPress ask for FTP credentials when installing a plugin?

Illustration without a description Illustration without a description

WordPress asks for connection details when it cannot write plugin or update files directly with safe ownership. This often happens after files were uploaded by a different system user, after a migration changed ownership, or when the PHP process and account permissions do not match the host’s expected setup.

 

Check file ownership and permissions with the hosting provider. Standard secure values vary by server configuration, but world-writable access is not a safe fix. When ownership is correct, many shared hosting environments let WordPress use its direct filesystem method without requesting FTP credentials.

 

If the host requires FTP or SSH for updates, enter credentials only in the genuine WordPress screen over HTTPS and prefer an encrypted connection. Do not store an administrator password in a public configuration file. A provider may offer a managed update mechanism that avoids passing filesystem credentials through WordPress.

 

Review any manually forced FS_METHOD value in wp-config.php. Forcing direct writes on an incompatible server can create files under the wrong owner or weaken isolation. Correct the server ownership model, test a small plugin update on staging, and keep SFTP access available for recovery if an installation stops midway.