multihook : enable links for crawlers  Bottom

  • By default, link are not compiled when a search engine bot load a zikula page.

    If you wan't to enable it, you just have to edit "modules/MultiHook/pnuserapi.php"

    then comment this part in the function "MultiHook_userapi_transform"

    Code

    // check the user agent - if it is a bot, return immediately
        /*$robotslist = array ( "ia_archiver",
                              "googlebot",
                              "mediapartners-google",
                              "yahoo!",
                              "msnbot",
                              "jeeves",
                              "lycos");
        $useragent = pnServerGetVar('HTTP_USER_AGENT');
        for($cnt=0; $cnt < count($robotslist); $cnt++) {
            if(strpos(strtolower($useragent), $robotslist[$cnt]) !== false) {
                return $text;
            }
        }*/

This list is based on users active over the last 60 minutes.