Search Engine Watch
SEO News

You are here: Home > Companies

author-default

Fixing Firefox & Movable Type Entries With No File Extensions

by ,  Comments

A few of you using the Firefox browser let us know right away that our permalinks weren't working right after the Search Engine Watch Blog launched. We fixed that within hours. However, I've been meaning to post exactly what happened, in case others encounter a similar problem.

Each of our posts uses the file format of two-digit year, two-digit month, two-digit day, a dash, then the entry number. Why? It makes it easy for me to know when exactly a post was created. Each post also lacks a file extension. They don't end in .html, .htm, .asp and so on. Why? There's no reason to have a file extension.

One glitch did come up with that, however. Not having an extension meant that our server sent the file to browsers as a "text/plain" MIME type. Internet Explorer, seeing that this supposed "text" file contained HTML, decided to assume the file was in HTML despite what the server was saying. That means IE users had no problems. But Firefox, actually doing exactly what the server instructed, showed the plain text of the file -- causing Firefox users to see the HTML source code.

The solution was easy. The default MIME type for content in our blog area was set to be "text/HTML," solving the Firefox problem.

Save up to $400! Register now for SES New York 2012, the Leading Search & Social Marketing Event, taking place March 19-23. Google's Digital Marketing Evangelist Avinash Kaushik will keynote. Hurry, pre-agenda rate expires March 2!
Commenting policy Add a Comment