Fix urls to allow no-slash redirects