{"id":662,"date":"2014-05-19T16:46:52","date_gmt":"2014-05-19T23:46:52","guid":{"rendered":"http:\/\/www.jacksonleung.com\/blog\/?p=662"},"modified":"2014-05-19T16:46:52","modified_gmt":"2014-05-19T23:46:52","slug":"www-subdomain-or-no-www-subdomain","status":"publish","type":"post","link":"http:\/\/www.jacksonleung.com\/blog\/www-subdomain-or-no-www-subdomain\/","title":{"rendered":"www subdomain or no www subdomain"},"content":{"rendered":"<p>This topic is a very old an ancient topic, but I&#8217;ve arrive definitively at whether or not the main domain should have www, or not. The answer is &#8220;it should&#8221;.<\/p>\n<p>The reason being, is that a cookie set at the domain level, exists for all subdomains. If you have subdomains, or ever plan to have subdomains in the future, it&#8217;s best to use &#8220;www&#8221; subdomain for your main site. It&#8217;ll pay off by saving you some headaches down the line when you have specialized subdomains in the future (blog, beta, members, etc.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This topic is a very old an ancient topic, but I&#8217;ve arrive definitively at whether or not the main domain should have www, or not. The answer is &#8220;it should&#8221;. The reason being, is that a cookie set at the domain level, exists for all subdomains. If you have subdomains, or ever plan to have &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.jacksonleung.com\/blog\/www-subdomain-or-no-www-subdomain\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;www subdomain or no www subdomain&#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":[3,6],"tags":[],"class_list":["post-662","post","type-post","status-publish","format-standard","hentry","category-programming","category-work","entry"],"_links":{"self":[{"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/posts\/662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/comments?post=662"}],"version-history":[{"count":1,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/posts\/662\/revisions"}],"predecessor-version":[{"id":663,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/posts\/662\/revisions\/663"}],"wp:attachment":[{"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/media?parent=662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/categories?post=662"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jacksonleung.com\/blog\/wp-json\/wp\/v2\/tags?post=662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}