Lock customers out of the WordPress dashboard
Customers have no business in wp-admin — redirect them to My Account (or a 404) while your team keeps full access.
- Redirect non-staff
- Admins + chosen roles exempt
- AJAX/REST unaffected
Letting customers reach /wp-admin is confusing and a support risk. Admin Dashboard Access redirects unauthorized users away from the dashboard — to My Account or a 404 — while administrators (always) and any roles you allow keep access. Crucially, AJAX, REST, and cron are never blocked, so the store keeps working. This recipe locks it down.
- Customers visiting /wp-admin are redirected away.
- Administrators always keep dashboard access.
- Add staff roles (e.g. Shop Manager) to the allow-list.
- Background jobs and the storefront keep working.
The exact configuration
Enter these values and you have the setup live. Every field maps to a real ArraySubs setting.
| Setting | Value |
|---|---|
| Restrict wp-admin accessSettings → Toolkit → Admin Dashboard Access | On (default Off) |
| Redirect unauthorized users toAdmin Dashboard Access | WooCommerce My Account (default) or 404 |
| Allowed rolesAdmin Dashboard Access | Add roles (e.g. Shop Manager); additive to admins |
| Never blockedBehaviour | Admins · AJAX · REST API · WP-Cron · Action Scheduler |
When to use this setup
Set it up in 3 steps
A step-by-step guide drawn from the ArraySubs user manual. Open the linked page for the full walkthrough and screenshots.
Open Admin Dashboard Access
Go to ArraySubs → Settings → Toolkit → Admin Dashboard Access.
Admin Dashboard AccessRestrict and choose a redirect
Turn on Restrict wp-admin access and set the redirect to WooCommerce My Account (recommended) or a 404.
Admin Dashboard AccessAllow your staff roles
Add roles like Shop Manager to Allowed roles — administrators are always allowed and don’t need adding.
Admin Dashboard Access
Notes & edge cases
Modules behind this recipe
The ArraySubs modules this setup relies on.
Admin Dashboard Access
Redirect unauthorized customers away from wp-admin while preserving access for administrators and selected roles.
Manage Subscriptions
The central admin hub for viewing, creating, editing, exporting, and managing every subscription record.
Related setups to explore
Other configurations you can build with the same modules.
Hide the admin bar for customers
Remove the WordPress toolbar on the frontend for non-admins so customers see a clean, branded site.
Route login through My Account
Send wp-login.php visits to WooCommerce My Account so customers log in and register on your branded page.
Log in as a customer
Open a customer’s frontend session from the admin to see exactly what they see — no password needed.
Questions, answered
Unlock the complete Pro stack
Start on the free-forever core today, then choose a paid Pro plan when you need the advanced Pro feature set.
No credit card required · Annual and lifetime options available
