A Good URI
How to say it. My coworkers can not teach me. I had to go on the blog-manifold and learn about the things that would make my site, if not beautiful at least decent.
For example, Anne Van Kesteren's on URIs:
Above I mentioned some of the internationalization problems, but there is a lot more that is needed for a good URI:
- Don't use file extensions for scripting languages like PHP, Perl, Java and Coldfusion.
- Don't use arguments, but always make it look like there is a directory structure. Think about that directory structure and your client's content before you start. (Also try to think ahead.)
- Keep everything lowercase.
- Don't use spaces, but separate words with a hyphen or underscore. (I prefer a hyphen.)
- Make sure they are permanent. Even if you need to use 10 permanent redirects, do it. Always keep your URIs working. (It doesn't matter if you are building a site for the local bookstore or for SonyEricsson.)
- Dont' change the content completely. Having the projects page on the about page just because you changed something in the scripts is no excuse.