# Login & Logout Redirects for WordPress

> Choose where each role lands after logging in or out, and optionally keep non-admins out of the dashboard. Part of Toggleworks, one plugin for the whole site.

TW-SEC-10 Security


Choose where each role lands after logging in or out, and optionally keep non-admins out of the dashboard.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

Login & Logout Redirects

**Part number**
: TW-SEC-10
**Section**
: [Security](https://togglework.app/features/security/)
**Settings**
: 10
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

After logging in, customers land on the WordPress dashboard, which means nothing to them. Sending each role to the right place, such as My Account for customers or the orders screen for shop managers, is simpler for everyone.

### What it does

- A login destination per role, including Customer, Shop manager and Wholesale customer.
- A logout destination for everyone.
- Keeps chosen roles out of wp-admin entirely; AJAX and profile updates keep working.

![Login & Logout Redirects settings screen in the Toggleworks WordPress plugin, showing Administrator, Editor, Author, Contributor](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/security-login-redirects.webp?v=1795524234)

The Login & Logout Redirects screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Set customers and subscribers to your account page.
2. Keep customers and subscribers out of wp-admin.

## What you can set

Switch Login & Logout Redirects on in Toggleworks → Security, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- Administrator
- Editor
- Author
- Contributor
- Subscriber
- Customer
- Shop manager
- Wholesale customer
- After logout (everyone)
- Keep these roles out of wp-admin

## Good to know

- Administrators are never blocked from wp-admin. A redirect set in the login link itself still wins.

## One less plugin to install

Login & Logout Redirects does a job people often install a separate plugin for:

- Custom login address and login redirectsOften done with ASE

## Comes with 187 more parts

Login & Logout Redirects is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 18 Security parts](https://togglework.app/features/security/)

### People also look for it as

- redirect
- login
- logout
- dashboard
- roles
- customers

## Often switched on with it

- [Redirects](https://togglework.app/features/core/redirects/) — TW-COR-17 · Manage 301, 302, 307 and 410 redirects, with regex rules, bulk import and an optional 404 log. · 8 settings
- [Custom Login URL](https://togglework.app/features/security/login-url/) — TW-SEC-11 · Move the login page to a secret address and hide wp-login.php and /wp-admin from visitors who are not logged in. Forgot the… · 3 settings
- [Email & SMS Login Codes](https://togglework.app/features/security/login-codes/) — TW-SEC-08 · Let people log in with a one-time code sent to their email (or phone by SMS) instead of a password, and sign up by confirming… · 7 settings
- [Login Lockdown](https://togglework.app/features/security/login-lockdown/) — TW-SEC-09 · Block an IP address (and optionally a username) for a while after too many failed logins, including XML-RPC. Locked out yourself?… · 8 settings
- [Session Manager](https://togglework.app/features/security/session-manager/) — TW-SEC-15 · See every active login — user, IP, device and when — and log anyone out instantly. Optionally limit how many devices one account… · 6 settings
- [Admin Branding](https://togglework.app/features/white-label/admin-branding/) — TW-WHL-01 · Rebrand wp-admin: footer text, admin bar logo, a custom dashboard welcome box and a fixed color scheme. · 10 settings

## Questions

**Is Login & Logout Redirects included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, Login & Logout Redirects among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does Login & Logout Redirects slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on Login & Logout Redirects only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try Login & Logout Redirects before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/security/login-redirects/
