Microsoft Office XML MIME Types

We’ve had a couple of customers ask about this recently, where documents created in newer versions of MS Office don’t download to the browser correctly. Instead of downloading as an MS Office document they download as a ZIP file.

The reason behind this is because they are new file types and are basically XML files inside a ZIP archive and servers setup before these new files came on the scene don’t know what the correct type of file is, so they check the file and it looks like a ZIP archive, so that’s what they tell your browser.

All of our cPanel based business class hosting fully supports the new MS Office MIME Types – so your files will download as MS Office documents and not as ZIP archive files.

If you’d like to modify your own server so that it supports the new MS Office file extensions and file types then you need to place the following entries in to you /etc/mime.types file (for plain CentOS/RedHat) or /usr/local/apache/conf/mime.types if you’re running cPanel.

application/                          .docm
application/vnd.openxmlformats-officedocument.wordprocessingml.document   .docx
application/                          .dotm
application/vnd.openxmlformats-officedocument.wordprocessingml.template   .dotx
application/                   .ppsm
application/vnd.openxmlformats-officedocument.presentationml.slideshow    .ppsx
application/                .pptm
application/vnd.openxmlformats-officedocument.presentationml.presentation .pptx
application/                     .xlsb
application/                            .xlsm
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet         .xlsx
application/                                            .xps
application/                    .potm
application/vnd.openxmlformats-officedocument.presentationml.template     .potx
application/                       .ppam
application/                .pptm
application/                            .xlam
application/                     .xlsb
application/                         .xltm
application/vnd.openxmlformats-officedocument.spreadsheetml               .xltx

Once done, restart Apache and you should be good to go with MS Office Files downloading correctly.

Website Do’s and Don’ts

Designing your own web site is never an easy task, unless of course that is your day job, so here are 5 handy tips to get you started on the right track:

  • DO – some research on what people are actually using to search for your type of company – try cutting out the jargon
  • DON’T – use your home page to “sell to the room”, explain WHY and WHAT’S IN IT FOR THEM instead
  • DO – keep your website up to date, use twitter or a blog to make this easier for you
  • DON’T – make visitors think – use clear navigation
  • DO – use a statistic package to test and measure any changes or marketing that you do on your website

If you’re still not sure how you’re doing and would like a professional opinion then please get in touch.