fixed regex of domain redirection