{"id":676,"date":"2007-05-21T08:41:00","date_gmt":"2007-05-21T13:41:00","guid":{"rendered":"http:\/\/softbeam.net\/hobby\/?p=676"},"modified":"2007-05-21T08:41:00","modified_gmt":"2007-05-21T13:41:00","slug":"offline-website","status":"publish","type":"post","link":"https:\/\/softbeam.net\/hobby\/?p=676","title":{"rendered":"offline website"},"content":{"rendered":"<p>how to make localhost work as ***.com\/org\/net\/&#8230; when offline?<br \/>\nIt&#8217;s a serendipity for me. I just modified the \/etc\/hosts to make the original line: 127.0.0.1  localhost.localdomain localhost<br \/>\nlike this: 127.0.0.1 ***.com\/org\/net\/&#8230; localhost<br \/>\nThen it works when offline, especially for blogware wordpress. Since wordpress use mysql, which stores every uploaded file and item with the web address, it will automatically search for ***.org\/wordpress\/*** when you click on it. Now I can work on my blog even when I&#8217;m offline.<\/p>\n<p>Actually when installing Fedora with specified host, \/etc\/hosts file would have already been like this. As I know, it was modified after install ndiswrapper for wireless driver.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>how to make localhost work as ***.com\/org\/net\/&#8230; when offline? It&#8217;s a serendipity for me. I just modified the \/etc\/hosts to make the original line: 127.0.0.1 localhost.localdomain localhost like this: 127.0.0.1 ***.com\/org\/net\/&#8230; localhost Then it works when offline, especially for blogware wordpress. Since wordpress use mysql, which stores every uploaded file and item with the web &hellip; <a href=\"https:\/\/softbeam.net\/hobby\/?p=676\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;offline website&#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-676","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=676"}],"version-history":[{"count":0,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/676\/revisions"}],"wp:attachment":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}