In External Links settings, there's an option to Anonymise External URLs and below that we have Excluded Forums. When I click Yes to Anonymise external URLs, it is not taking the exclusions into account and it is redirecting all links in every forum.
Below is the code snippet from url.php file and it does not include the condition for checking excluded forum ids,
Below is the code snippet from url.php file and it does not include the condition for checking excluded forum ids,
Code:
if (
DBSEO::$config['dbtech_dbseo_externalurls_anonymise'] AND
(
strpos($url, 'http://') !== false OR
strpos($url, 'https://') !== false
) AND
in_array(THIS_SCRIPT, array('showthread', 'printthread', 'showpost', 'forumdisplay', 'newreply')) AND
strpos($urlPrefix,'<a') !== false AND
strpos($urlPrefix, 'href') !== false AND
$_isExternal
)
{
// Ensure external URLs have redirects
$url = DBSEO::$config['_bburl'] . '/redirect-to/?redirect=' . urlencode(html_entity_decode($url, ENT_QUOTES | ENT_HTML401));
}