fixed swanson/stringer#281

it's to avoid infinite loop of redirects