File extensions matter.

All kinds of fun and amazing things can be done through the use of mod_rewrite on Apache. One such thing is the stripping (or ignoring) of file extensions in URLs. In other words, making domain.com/file.html accessible via domain.com/file. The reason to do this is strictly for aesthetics or readability. Still, there’s definitely value in human readable (and sharable) URLs, right?

Er .. no. How do I refer to the link on your web site if I don’t know if domain.com/file is domain.com/file.html or domain.com/file.htm or domain.com/file.php or domain.com/file.jsp?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Feel free to comment on this story directly above, but you can also go to copies posted to social media on the left, and reply to or comment on them there. Your responses via Twitter, Facebook, and Google+ will appear below.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)