Solved problem with redirects that returne a request for an unresolved relative url