A little URL trimming