Should Uris Be Changed?

Should Uris Be Changed?

URIs don't change: people change them. There are no reasons at all in theory for people to change URIs (or stop maintaining documents), but millions of reasons in practice. ... And in theory the URI space under your domain name is totally under your control, so you can make it as stable as you like.

Should a URI ever be changed?

URIs should also be permanent (i.e. choose the URI once and leave it at that). ... There will come a time when you do want to make improvements to your choices or otherwise must change URI structure. When this becomes a necessity, be sure to set up HTTP 301 moved permanently redirects on your server.

What are the rules to design a good URI?

General principles for good URI design:
  • Don't use query parameters to alter state.
  • Don't use mixed-case paths.Lowercase is best.
  • Don't use implementation-specific extensions in your URIs (. ...
  • Do keep path segments short.
  • Do use query parameters for sub-selection of a resource; i.e. pagination, search queries.
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.