DIG schrieb:
It could be some kind of hash of article's title. This way it will be reasonably unique, and it can be kept in the database. Then, when the short URL is requested, the corresponding value substitutes the shorten URL.
That wouldn't help when renaming/moving articles. To my mind the most straightforward solution would be to access the article by it's database id which is both short _and_ (project wise) unique. Naturally you need some special syntax for that to avoid overlapping with articles that have numerical titles.
Ciao, Michael.