How to

Enable downloadable vCards with .htaccess

0 Comments 08 July 2010

If you just put a link to your vCard on a webpage, some browsers cannot parse it as a vCard. For instance try downloading this vCard.

To enable browser to corectly read a vCard, just copy and paste this code into your .htaccess file

<Files ~ "\.vcf$">ForceType text/x-vcard</Files>

This should now enable the browser to properly download the vCard. Try downloadable vCard.

Share your view

Post a comment