Remove trailing slash from redirect