{"id":1816,"date":"2022-03-04T16:39:21","date_gmt":"2022-03-05T00:39:21","guid":{"rendered":"https:\/\/xiehang.com\/blog\/?p=1816"},"modified":"2022-03-04T16:39:21","modified_gmt":"2022-03-05T00:39:21","slug":"move-to-static-site","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2022\/03\/04\/move-to-static-site\/","title":{"rendered":"Move to static site"},"content":{"rendered":"
Several things happened in the past a couple years so I moved this blog site to static, some major issues lead to this change:<\/p>\n
For now I have an VM running Ubuntu with WordPress installed, I launch the VM whenever I want to write something, then using Simply Static<\/a> to generate pure static pages then copy to an Nginx server. The Nginx is still running on GCE but since everything’s static, I can easily port it to anywhere cheap whenever needed.<\/p>\n I’ve disabled most dynamic features during this process, like search, comment, AdSense, Analytics, etc. There may be some features that are currently broken, I will fix them whenever I know.<\/p>\n","protected":false},"excerpt":{"rendered":" Several things happened in the past a couple years so I moved this blog site to static, some major issues lead to this change: Google is no longer my preferred service provider, so I’m moving away from AdSense and Analytics I’m no longer actively writing so I don’t expect people interact with me through this […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,266,32],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1816"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=1816"}],"version-history":[{"count":1,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1816\/revisions"}],"predecessor-version":[{"id":1817,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/1816\/revisions\/1817"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=1816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=1816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=1816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}