path_redirect_infinite_loop_fix