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?
Liked this post? Follow this blog to get more.