$dir = $APPLICATION->GetCurPage(); global $STATIC_REDIRECT; if(isset($STATIC_REDIRECT[$dir])) { echo 'УСТЬ!'; } if(isset($STATIC_REDIRECT[$dir])) { LocalRedirect($STATIC_REDIRECT[$dir], false, '301 Moved permanently'); } //echo '
'.print_r($STATIC_REDIRECT,true).'
'; ?>