{"id":475,"date":"2012-03-18T23:45:06","date_gmt":"2012-03-19T05:45:06","guid":{"rendered":"http:\/\/www.demyen.ca\/blog\/?p=475"},"modified":"2012-03-18T23:47:36","modified_gmt":"2012-03-19T05:47:36","slug":"fixing-a-broken-blog","status":"publish","type":"post","link":"https:\/\/www.demyen.ca\/blog\/?p=475","title":{"rendered":"Fixing a Broken Blog"},"content":{"rendered":"<p>I happened to stumble upon one of my older blogs that I still &#8220;maintain&#8221; and noticed everything looked off. First off there was no style sheet loading and the content was flowing on a plain white background. Secondly, while trying to get into the admin console, I am greeted with a cannot open the wp-admin folder&#8230; File may not exist.  Uh oh, I just finished dealing with a hijacked WordPress install and don&#8217;t want to deal with that again. I decided that would be a weird hijack as the only thing that happened was the style sheet is missing. Looking at the site the directories and files all still exist fine.<\/p>\n<p> This just got weird! Looking a little closer at the files and directories I notice the permissions are all out of whack. SMS directories are set to 700 which isn&#8217;t close and some files are 600. After making some changes and adjusting directories to 755 and the files to 644 everything seems to be fixed up. Now that I have the site back up and running I have to wonder, how did the permissions get modified in the first place! I guess that&#8217;s for my hosting provider to know and for me to find out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I happened to stumble upon one of my older blogs that I still &#8220;maintain&#8221; and noticed everything looked off. First off there was no style sheet loading and the content was flowing on a plain white background. Secondly, while trying to get into the admin console, I am greeted with a cannot open the wp-admin &hellip; <a href=\"https:\/\/www.demyen.ca\/blog\/?p=475\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fixing a Broken Blog<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-475","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=475"}],"version-history":[{"count":3,"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/475\/revisions"}],"predecessor-version":[{"id":479,"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/475\/revisions\/479"}],"wp:attachment":[{"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.demyen.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}