Change shorturl schema, other short urls things

fix #839,
and partially #849