{"id":14004,"date":"2016-02-13T11:21:31","date_gmt":"2016-02-13T17:21:31","guid":{"rendered":"http:\/\/casadeblundell.com\/jonathan\/making-static\/"},"modified":"2016-02-13T11:21:31","modified_gmt":"2016-02-13T17:21:31","slug":"making-static","status":"publish","type":"post","link":"http:\/\/casadeblundell.com\/jonathan\/making-static\/","title":{"rendered":"Making static"},"content":{"rendered":"<p>Over the last week I&#8217;ve been banging my head over and over again as I&#8217;ve tried to clean malware off of a number of websites.<br \/>\nA couple lessons learned:<\/p>\n<ol>\n<li>Malware sucks!<\/li>\n<li>Keep ALL your backend software up to date.&nbsp;<\/li>\n<li>That template\/theme you loved 3 years ago may not flag you that it needs updating because the developer stopped working on it. Don&#8217;t trust it to be safe 3 years later.<\/li>\n<li>Keep security monitoring software on EVERY site. Even the smallest sites can be hit and be a huge headache to clean up.<\/li>\n<li>Backup EVERYTHING. The extra time will be worth it when things go wrong.<\/li>\n<li>Pingbacks\/trackbacks (and maybe even comments) aren&#8217;t worth the hassle. From what I&#8217;ve managed to figure out &#8211; it <i>appears<\/i>&nbsp;someone exploited a hole in an outdated theme via ping backs on the most affected sites. Knowing someone is linking to your post within WordPress isn&#8217;t that big of an ROI (return on investment or risk on investment) to make it worthwhile.<\/li>\n<li>Managed hosting for the win. If you can afford it &#8211; use it. Let someone else deal with the backend if it&#8217;s not your passion or area of expertise.<\/li>\n<li>Static sites for the win. Several of the sites that were hit were small sites that didn&#8217;t need a CMS, I just used it because I&#8217;m lazy and didn&#8217;t want to mess with FTP and HTML every time I made an update. But &#8230; those sites that are still just HTML and CSS &#8211; don&#8217;t have to worry about them at all.<\/li>\n<\/ol>\n<p>As a result of all this, I moved two smaller sites from WordPress to static HTML last night pretty easily.<\/p>\n<p>Lost one or two features &#8211; like a carousel &#8211; but they could be added back of if really needed.<\/p>\n<p>But they&#8217;re way snappier than they were before and it&#8217;ll cut down on needing to update software and such.<\/p>\n<p>Of course this gets rid of my online editor &#8211; really the only reason I put them in WordPress to begin with.<\/p>\n<p>I just built a template in Dreamweaver and went to work.<\/p>\n<p>I&#8217;m not sure how scalable that will be though.<\/p>\n<p>I&#8217;ve been playing with Jekyll as a static web generator with Git Pages as of late and I like the way it works. But doing a full stack setup with Ruby (something I know nothing about) and Jekyll seemed overkill at this point for these sites.<\/p>\n<p>I&#8217;m also intrigued by https:\/\/codeanywhere.com it could be a really nice tool to use in the future if I start doing more of these.<\/p>\n<p>I don&#8217;t think static sites will be my solution for everything &#8211; but it feels nice to get back to the basics every now and then.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the last week I&#8217;ve been banging my head over and over again as I&#8217;ve tried to clean malware off of a number of websites. A couple lessons learned: Malware sucks! Keep ALL your backend software up to date.&nbsp; That template\/theme you loved 3 years ago may not flag you that it needs updating because &hellip; <a href=\"http:\/\/casadeblundell.com\/jonathan\/making-static\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Making static<\/span><\/a><\/p>\n","protected":false},"author":84,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-14004","post","type-post","status-publish","format-standard","hentry","category-misc"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pEnSo-3DS","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/posts\/14004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/users\/84"}],"replies":[{"embeddable":true,"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/comments?post=14004"}],"version-history":[{"count":0,"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/posts\/14004\/revisions"}],"wp:attachment":[{"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/media?parent=14004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/categories?post=14004"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/casadeblundell.com\/jonathan\/wp-json\/wp\/v2\/tags?post=14004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}