KMZ files downloaded as compressed folders.


I've been messing around with .kmz files.

If I double click on the kmz file on my local hard drive, it opens in Google Earth as I'd expect and Right Click->Open With only has Google Earth in the options.  So on my local hard drive, .kmz files are working great.

However, if I click on a link like this  I get a dialogue showing a file name of and it tries to open in 'Compressed folders'.

Also if I link from and click the 'view in Google Earth' option, it downloads as a zip file.

So I hope I'm asking this question in the correct place.  Why does Explorer work fine with kmz, yet Internet Explorer treats them as a zip file?   And is there anything I can put in the link to force it to download as .kmz and therefore open in Google Earth?



Question Info

Last updated May 16, 2018 Views 2,182 Applies to:
I found an answer form another forum.

 "Thanks very much
I used the "Mime Types" utility in CPanel to do this. It added the following lines to the .htaccess file in the same directory as my kmz file:
AddType application/ kml
AddType application/ kmz"

I didn't have or use the CPanel utility, but just adding the "addType" lines to .htaccess on the web site root fixed it. 

Thanks for the prompts.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.