Redirect pid to slug. fixes #1092, if that is actually what we want.