Finding the source of an unwanted 301 or 302 redirect