diff --git a/src/Network/Probe.php b/src/Network/Probe.php index 943d53ff66..098e48c6fc 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -712,7 +712,14 @@ class Probe Logger::info('Probing start', ['uri' => $uri]); - $data = self::getWebfingerArray($uri); + if (!empty($ap_profile['addr']) && ($ap_profile['addr'] != $uri)) { + $data = self::getWebfingerArray($ap_profile['addr']); + } + + if (empty($data)) { + $data = self::getWebfingerArray($uri); + } + if (empty($data)) { if (!empty($parts['scheme'])) { return self::feed($uri);