SEO News
Search

Fixing Firefox & Movable Type Entries With No File Extensions

author-default
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.


ClickZ Live New York What's New for 2015?
You spoke, we listened! ClickZ Live New York (Mar 30-Apr 1) is back with a brand new streamlined agenda. Don't miss the latest digital marketing tips, tricks and tools that will make you re-think your strategy and revolutionize your marketing campaigns. Super Saver Rates are available now. Register today!

Recommend this story

comments powered by Disqus