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 San Francisco This Year's Premier Digital Marketing Event is #CZLSF
ClickZ Live San Francisco (Aug 11-14) will bring together the industry's leading online marketing practitioners to deliver 4 days of educational sessions and training workshops. From Data-Driven Marketing to Social, Mobile, Display, Search and Email, the comprehensive agenda will help you maximize your marketing efforts and ROI. Early Bird Rates available through Friday, July 18. Register & save!

Recommend this story

comments powered by Disqus