WP Asking for FTP Credentials with XAMPP Localhost

Congratulation Jon, welcome to the WordPress world!

To fix the issue, just add the following line of code in your installed WordPress’s wp-config.php file. It’s a PHP constant declaration which tells the WordPress to avoid the FTP. That’s it.

define( 'FS_METHOD', 'direct' );

For more info: https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)