I tried to install Elementor plugin for wordpress on Mac in localhost, but the installation has failed. These are the details:
Hostname: /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/plugins
Ftp Username: root
Password:
With password I got this error alert:
Failed to connect to FTP Server /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/plugins:21
With no password I got this error alert:
Unable to connect to the filesystem. Please confirm your credentials.
I search for similar cases and found that I have to add this line to the code:
define('FS_METHOD','direct’);
and then I got this message:
Installation failed. could not create directory.
I’m not familiar with code writing, and I’m new to Wordpress, I would greatly appreciate your help.
Regards