cernese
Forum Replies Created
-
I mistakenly assumed that your MIME plugin would also add the MIME type to .htaccess so that the new type could be displayed or downloaded. The missing piece of the puzzle I had to add:
<IfModule mod_mime.c>
AddType application/gpx+xml .gpx
</IfModule>It does the upload fine and the media library is correct. It’s the download that’s not working. Tried another MIME plugin, same result. It can’t be a cache problem (I thought it was) because I upload another file, still no Content-Type header.
Yes, I see “string(54) “WordPress recognizes that the file type is [text/xml].”
However, when I do not enable those options, the media library is showing me the correct MIME type:
(image won’t upload?): says “File type: text/plain”
I can see the files you linked to have the custom MIME type (used in the header). So is there something else I must configure or disable? Isn’t it strange that NO content-type is sent?
I uninstalled/reinstalled, tried File type: application/gpx+xml (deleted media, reupload) has correct type. Same result; no content-type offered.
actually this is hosted on Dreamhost who has updated WordPress a couple times. do i need to uinstall & reinstall the plugin?