handle suffix/querystring in shorturl redirect