Troubleshooting
"Switch To" Link Not Appearing
- Confirm Enable User Switching is on.
- Check you're allowed to switch - you need
edit_users, or a role checked under Allowed Switcher Roles. - Check the target account: administrators and accounts with equal or higher privileges never show the link. See Role Hierarchy.
Switch Back Not Working
- Check that your browser accepts cookies and the
switchuser_origincookie exists. - If the Session Duration has passed, switching back isn't possible - log in to your own account normally.
- If you used Switch Off, use the Switch back now link on the login page.
Admin Bar Controls Not Showing
- The target user's admin bar must be enabled (Users → Profile → Show Toolbar when viewing site).
- Your theme must call
wp_footer()so the admin bar can render on the front end. - The Viewing as controls only appear while you're switched.
Landed on the Wrong Page After Switching
Administrators always land on the WordPress dashboard after switching - WooCommerce then sends customers to My Account. See Smart Redirect.
Hook into the switchuser_switched action to log switch events while debugging - see the Developer Reference.