WindCodex SwitchGuard is the most secure free user switching plugin for WordPress and WooCommerce. Switch into any lower-privilege user account in one click – no passwords, no account resets, no risk.
Whether you’re a support agent reproducing a customer bug, a WooCommerce store owner checking an order as the buyer, or a developer testing member-only content, SwitchGuard gives you instant, safe access to any user account and brings you straight back when you’re done.
🔒 Security-first design. Every switch is nonce-verified, role-hierarchy-enforced, and recorded in a signed session cookie. You can never switch into an equal-or-higher privilege account by mistake.
One-Click Switching
* Switch from the Users list with a single click
* Switch from any user profile edit screen
* Switch from WooCommerce order screens – jump straight into the customer’s account
* Admin bar quick search – find any user by name or email and switch instantly
Access Control
* Switching is disabled by default – you opt in when you’re ready
* Restrict switching to specific WordPress roles (e.g., only Shop Managers)
* Automatically blocks switching into administrator accounts
* Equal-or-higher privilege accounts are always blocked – no configuration needed
* Configurable session duration from 1 to 168 hours (default 48 h)
Security
* Every switch action protected by WordPress nonces (CSRF protection)
* Switch sessions stored in a signed, HTTPOnly cookie – tamper-proof
* No passwords stored, logged, or transmitted – ever
* Full multisite support
Switch Back
* Prominent Switch Back button in the admin bar – always visible
* Switch Off to end the session and return to your original account
* Session expires automatically when the cookie TTL is reached
Most user-switching plugins simply swap the session – leaving you exposed to privilege escalation and session fixation. SwitchGuard was built from the ground up with a security-first approach: