Rewrite URLs with Content Negotiation
Optimization Week Issue #32, July 6, 2004
This week we delve into some server tweaks that let you abbreviate your URLs. Content negotiation is a little-used feature of HTTP 1.0 that allows you to eliminate file extensions by rewriting URLs to the appropriate resource. Available for Apache and IIS, URL rewriting can clean up your code, and make future migrations easy.
- Rewrite URLs with Content Negotiation
- Content negotiation can make your URLs shorter and more abstract. By rewriting URLs without file extensions to the right resources you can save size and migration headaches.