private function excludeLink($href)
    {
        //If href string contains any of the 'words' in $excludes array, return true
        $excluded = false;
        foreach ($this->excludes as $word) {
            if (strpos($href, $word) !== false) {
                $excluded = true;
                break;
            }
        }
        return $excluded;
    }