Hi,
Did you check the folder / file permissions ? WordPress is picky about file ownerships and who can do what with those files. If your server uses a different username than what wordpress expects for the site it won’t allow it access without you providing those FTP login credentials every time you need to add, delete or upgrade a plugin.
An alternate workaround, is to have the FTP detailed saved in your wp-config.php file.
//*added ftp login credentials to avoid WordPress asking for FTP details every time I wanted to upgrade a plugin*
define('FTP_HOST', 'ftp.yoursite.com');
define('FTP_USER', 'Your_FTP_Username');
define('FTP_PASS', 'Your_FTP_password');
//*If you can use a SSL connection set this to true*
define('FTP_SSL', true);
Hope that helps.
Rajesh
Thread Starter
edou
(@edou)
Thx Rajesh,
I had had a look to wp-config, but didn’t suspect I should do that.
Is there a better place than another to place it in wp-config? If that matters…
E
Hi E,
I am not sure I understand what you meant in your last reply.
Are you trying to say that you do NOT want to edit wp-config.php?
Have you tried looking up folder permissions?
Thanks.
RS
Thread Starter
edou
(@edou)
no, I mean: should I place the code at the beginning or at the end of the wp-config file?
Well another question: does this code imply that I should activate the ftp function of the nas in order to proceed those instructions?
E,
Try putting the code at the end of wp-config.php (if it doesn’t seem to work, try moving the code at the top).
I am not pretty sure about your question about NAS.
RS
Thread Starter
edou
(@edou)
I just try and seems to work fine for the location.
And about the ftp, I mean that it should then apparently work through a ftp connection type, which I haven’t set yet on my NAS drive.
Thanks anyway for your help
E
Thread Starter
edou
(@edou)
I just did and works fine.
Needed indeed ftp protocol.
Thanks again
Glad I could be of help.
Please mark your topic as “Resolved”.
Thanks.