Redirect anonym user after click on link
ok i found solution, i just changed link for anonym user

if ($view-&gt;name == 'questions_by_category' &amp;&amp; $view-&gt;current_display == 'page') {
        if ($user-&gt;uid) {
            $vars['header'] = '&lt;div&gt;' . l('Ask your question', 'node/add/question') . '&lt;/div&gt;';
        }
        if ($user-&gt;uid == 0) {
            $vars['header'] = '&lt;div&gt;' . l('Ask your question', 'user/login') . '&lt;/div&gt;';
        }
    }