{"id":35,"date":"2015-01-02T15:35:24","date_gmt":"2015-01-02T15:35:24","guid":{"rendered":"http:\/\/www.sgmlguru.org\/wp\/?p=35"},"modified":"2015-01-02T15:35:24","modified_gmt":"2015-01-02T15:35:24","slug":"harder-than-i-thought","status":"publish","type":"post","link":"https:\/\/www.sgmlguru.org\/wp\/?p=35","title":{"rendered":"Harder Than I Thought"},"content":{"rendered":"<p>Getting rid of this <strong>ftp<\/strong> problem (see my previous post about updating <strong>WordPress<\/strong>) was harder than I thought. The answer was right in front of me, though. IF I had bothered to read the <em>readme<\/em> file rather than abusing Google, that is.<\/p>\n<ol>\n<li>Make sure that your <em>wp-content<\/em> folder and its contents use <strong>www-data:www-data<\/strong> for &lt;user&gt;:&lt;group&gt;.<\/li>\n<li>Copy the actual plugins and themes from <em>\/usr\/share\/wordpress\/wpcontents<\/em> to your <em>wp-content<\/em> rather than using the symlinks.<\/li>\n<li>Add this to your WP config file in <em>\/etc\/wordpress<\/em>:<br \/>\ndefine( &#8216;FS_METHOD&#8217;, &#8216;direct&#8217; );<\/li>\n<\/ol>\n<p>This is a LOT better than using ftp or uploading plugins and themes manually.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting rid of this ftp problem (see my previous post about updating WordPress) was harder than I thought. The answer was right in front of me, though. IF I had bothered to read the readme file rather than abusing Google, that is. Make sure that your wp-content folder and its contents use www-data:www-data for &lt;user&gt;:&lt;group&gt;. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/35"}],"collection":[{"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35"}],"version-history":[{"count":1,"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}