Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Making a vCard available

but for some reason, not working

3:21 am on Jan 13, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:July 8, 2004
posts: 175
votes: 0

I have a client who is a lawfirm who wants to make their attorneys' vCard available on the profile page for each lawyer.

I created the vCards by exporting from Outlook to a .vcf file, put them in a folder called vCards, provided simple links to the vcards.

my IE browser works fine - for some reason in FF it simply displays the txt of the card on page, and in the test environment, the client reports they are getting an error message even attempting to open same.

Is there something I am missing here? Is there more to it than simply linking to the vcf file? I have googled pretty deeply and interestingly, there's not much out there about embedding a vCard on a page.

If anyone has a link to some detailed how-to, I would appreciate any pointing me in the right direction.


12:49 pm on Jan 13, 2009 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 67

have you checked the content type header?
it should be sending text/x-vcard.
maybe IE is ok with the file extension alone and tries to put it into outlook on that basis.
check how your file types are handled in ff and if .vcf isn't specified you should get a dialog that will allow you to specify the application to handle that type.
2:18 pm on Jan 13, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 16, 2007
votes: 0

phranque is right. Found this by Googling: in Apache, you should add

AddType text/x-vcard .vcf

to your vCards directory's .htaccess file


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members