Remove trailing / from link