http://stackoverflow.com/questions/19071324/request-exceeded-the-limit-of-10-internal-redirects