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.


SES LondonOptimising Digital Marketing Campaigns with Search, Social and Analytics
At SES London (9-11 Feb) you'll get an overview of the latest tools, tips, and tactics in Paid, Owned, Earned, Integrated Media and Business Intelligence to streamline your marketing campaigns in 2015. Register by 5 December to take advantage of Early Bird Rates.

Recommend this story

comments powered by Disqus