SSH vs WordPress

Checking what permissions you are actually setting is always a good idea before just doing so. 644 = Owner Read/Write, Group Read, Others Read 664 = Owner Read/Write, Group Read/Write, Others Read 4 – Read, 2 – Write, 1 – Execute You can see from sequence above 644 the first number 6 would be 4+2, … Read more

Why can I upload files but need FTP login for plugins

Sometimes an owner/group mismatch in just one of the directories or subdirectories of your install can be enough to make WP_Filesystem see that the permissions don’t match and ask for your FTP details instead. eg. I have had this when copying/installing a plugin as root user via SSH, forgot about setting the owner/group, and then … Read more

Public and Private keys incorrect for user

So I contacted DigitalOcean who told me to do the following which solved my issue: We recommend removing the changes you made to wp-config.php to start. Once done, please try issuing this command: sudo chown -R www-data:www-data wordpress Just change ‘wordpress’ to the directory of WordPress installation, and see if that works to waive the … Read more

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