add_action('template_redirect', function () { if (is_page('butik') && !current_user_can('manage_options')) { wp_redirect(home_url('/the-vault'), 301); exit; } });