handle 301 redirects when there is only one possible match