# Switching between users in WordPress

> Switch between WordPress user accounts instantly with the User Switching plugin to test what each role can see.

Source: https://helpcenter.ruachost.com/wordpress/guides/switching-users-automatically-on-wordpress/

When testing new features or troubleshooting, administrators may need to view the site as different user roles. Instead of logging out and back in, you can use the **User Switching plugin** to instantly swap between accounts. On **ruachost.com**, this makes role testing and management much faster.

## Why Use User Switching?

- Quickly test site features under different roles (Admin, Editor, Subscriber).
- Save time by avoiding repeated logins/logouts.
- Useful for developers, support teams, and site administrators.

## Installing the User Switching Plugin

1. **Log in to WordPress** with an administrator account.
2. In the dashboard, go to **Plugins → Add New**.
3. Search for **User Switching**.
4. Click **Install Now**, then **Activate**.
5. A new option will appear in the **Users** section.

## ⚙️ Switching Between Users

1. In the dashboard, go to **Users → All Users**.
2. Hover over the account you want to switch to.
3. Click **Switch To**.
4. You will be instantly logged out of your current account and logged in as the selected user.
5. To return, click **Switch Back** from the admin bar or dashboard.

## Additional Features

- **Switch Off** → Log out but retain the ability to switch back instantly.
- **Role Testing** → Verify permissions and access for different user roles.
- **Security** → Only administrators can switch between accounts.

## Important Notes

- Always use this plugin responsibly, switching accounts gives full access to that user’s permissions.
- Do not use on production sites without proper authorization.
- For client sites, inform users before switching into their accounts.
