Turns out that the plugin doesn’t have a wildcard functionality, we don’t know why it was working before, but I added a piece of code to be able to use “xx” as wildcard for a subdomain and now it’s working
ip2location-redirection.php on function redirect after line 1029
if (substr($url_from, 0, 2) == 'xx') {
if ($url_to != $_SERVER['HTTP_HOST']) {
$this->redirect_to(str_replace($_SERVER['HTTP_HOST'], $url_to, $this->get_current_url()), $http_code);
}
}