
{"id":18,"date":"2018-01-05T18:33:04","date_gmt":"2018-01-05T18:33:04","guid":{"rendered":"http:\/\/www.matrixwide.com\/wp\/?p=18"},"modified":"2018-01-05T18:33:04","modified_gmt":"2018-01-05T18:33:04","slug":"wordpress-install-not-letting-me-see-uploaded-images","status":"publish","type":"post","link":"https:\/\/www.matrixwide.com\/wp\/?p=18","title":{"rendered":"wordpress install not letting me see uploaded images"},"content":{"rendered":"<p>My brand-new WordPress install was letting me upload images just fine, but would only show them to me in editor mode. Otherwise it displayed an &#8220;?&#8221; icon.<\/p>\n<p>After much digging and checking of file ownership\/permissions, I found the answer:<\/p>\n<p>My apache2 2.4.5 requires &#8220;require all granted&#8221; directive, in addition to &#8220;allow from all&#8221;.<\/p>\n<p>\/etc\/apache2\/sites-enabled\/wp.conf now looks like:<\/p>\n<p>Alias \/wp\/wp-content \/var\/lib\/wordpress\/wp-content<br \/>\nAlias \/wp \/usr\/share\/wordpress<br \/>\n&lt;Directory \/usr\/share\/wordpress&gt;<br \/>\nOptions FollowSymLinks<br \/>\nAllowOverride Limit Options FileInfo<br \/>\nDirectoryIndex index.php<br \/>\nOrder allow,deny<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/lib\/wordpress\/wp-content&gt;<br \/>\nOptions FollowSymLinks<br \/>\nOrder allow,deny<br \/>\nAllow from all<br \/>\nRequire all granted<br \/>\n&lt;\/Directory&gt;<\/p>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>My brand-new WordPress install was letting me upload images just fine, but would only show them to me in editor mode. Otherwise it displayed an &#8220;?&#8221; icon. After much digging and checking of file ownership\/permissions, I found the answer: My apache2 2.4.5 requires &#8220;require all granted&#8221; directive, in addition to &#8220;allow from all&#8221;. \/etc\/apache2\/sites-enabled\/wp.conf now &hellip; <a href=\"https:\/\/www.matrixwide.com\/wp\/?p=18\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;wordpress install not letting me see uploaded images&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18"}],"version-history":[{"count":0,"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matrixwide.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}