Redirection loops

Links below are indefinitely redirecting

Redirect to self through loop

Redirect to inner-loop