Update redir.c

Fixed bug with per site redirection