{"id":278,"date":"2009-11-09T17:10:57","date_gmt":"2009-11-09T21:10:57","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=278"},"modified":"2013-03-20T08:41:10","modified_gmt":"2013-03-20T12:41:10","slug":"vcards-and-mime-types","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/vcards-and-mime-types","title":{"rendered":"Vcards and mime types"},"content":{"rendered":"<p><span style=\"color: #0000ff;\"><strong>How to make a .vcf file down loadable? <\/strong><\/span><\/p>\n<p><strong>Problem:<\/strong> If you link a <code>.vcf file on a page, it shows as a text file instead of asking for a download.<\/code><\/p>\n<p><strong>Solution:<\/strong> In order to make the <code>.vcf file download-able, you need to add the AddTye directive in the .htaccess file as follows:<\/code><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong><code>AddType text\/x-vcard .vcf<\/code><\/strong><\/span><\/p><\/blockquote>\n<p>Save the file and that&#8217;s it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to make a .vcf file down loadable?<br \/>\nProblem: If you link a .vcf file on a page, it shows as a text file instead of asking for a download.<br \/>\nSolution: In order to make the .vcf file download-able, you need to add the AddTye directive in the .htaccess file as follows:<br \/>\nAddType text\/x-vcard .vcf<br \/>\nSave the file and that&#8217;s it.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[350,347,348,349],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/278"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":280,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/278\/revisions\/280"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}