{"id":722,"date":"2013-08-08T19:02:28","date_gmt":"2013-08-08T19:02:28","guid":{"rendered":"http:\/\/invisiblezero.net\/?p=722"},"modified":"2013-08-08T19:02:28","modified_gmt":"2013-08-08T19:02:28","slug":"wordpress-update-coreplugins-without-ftp","status":"publish","type":"post","link":"http:\/\/ndthanh.com\/wordpress-update-coreplugins-without-ftp\/","title":{"rendered":"WordPress – Update core\/plugins without FTP"},"content":{"rendered":"

\"updatebanner\"<\/a><\/p>\n

Ever wanted to update your wordpress core & plugins from admin \ud83d\ude00 ? this fix to allow WordPress automatic plugin installation\/update without FTP:<\/p>\n

A) Changed the owner and permissions for the entire WordPress installation, assuming you installed WordPress in \/Users\/\/Sites:<\/p>\n

<\/p>\n

\n$ cd \/Users\/<username>\/Sites #or path to parent directory of your source code directory\n\n$ sudo chown -R :_www wordpress\n\n$ sudo chmod -R g+w wordpress\n<\/pre>\n

B) Added the following to \/Users\/\/Sites\/wordpress\/wp-config.php:<\/p>\n

\ndefine('FS_METHOD','direct');\n<\/pre>\n

finally, click update button in your wordpress back-end – this is what you really wanted, right ? \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"

Ever wanted to update your wordpress core & plugins from admin \ud83d\ude00 ? this fix to allow WordPress automatic plugin installation\/update without FTP: A) Changed the owner and permissions for the entire WordPress installation, assuming you installed WordPress in \/Users\/\/Sites: $ cd \/Users\/<username>\/Sites #or path to parent directory of your source code directory $ sudo…<\/p>\n

Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60,45,31],"tags":[],"aioseo_notices":[],"views":6,"_links":{"self":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts\/722"}],"collection":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/comments?post=722"}],"version-history":[{"count":0,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts\/722\/revisions"}],"wp:attachment":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/media?parent=722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/categories?post=722"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/tags?post=722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}