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?

File extensions matter. %name

Husband, father, information security professional and avid photographer living at the junction of Princeton Township, Montgomery Township and Rocky Hill.

Liked this post? Follow this blog to get more. 

Leave a Reply

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