# /admin redirect

**URL:** <https://community.directus.com/t/admin-redirect/2313>\
**Category:** Help\
**Tags:** data-studio\
**Created:** [June 10, 2026, 3:22pm UTC](https://community.directus.com/t/admin-redirect/2313 "2026-06-10T15:22:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peteruithoven](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/peteruithoven/32/1715_2.png) [@peteruithoven](https://community.directus.com/u/peteruithoven)\
**Post date:** [June 10, 2026, 3:22pm UTC](https://community.directus.com/t/admin-redirect/2313/1 "2026-06-10T15:22:46Z")

</div>

I’m confused about how Directus redirects when visiting `/admin`. I’ve tried setting `ROOT_REDIRECT` to `false`, `./admin/content/posts/` and I’ve not set it. But when I visit `/admin` and then pressing “Continue” to login with one user I’m still redirect to `/admin/settings/policies`.

I’m running a local instance, created through `npx directus-template-cli@latest init`, Directus 11.17.4.  
In the `docker-compose.yaml` `directus` → `environment` I’ve added:  
`ROOT_REDIRECT: ${ROOT_REDIRECT}`  
I’ve then set `ROOT_REDIRECT` in the `.env` file.  
After changes I’ve stopped the containers and re-started the containers using: `docker compose up --build`

Are there more docs on this `/admin` redirect behaviour?

[http://localhost:8055/admin/settings/policies](http://localhost:8055/admin/settings/policies)

> **[General](https://directus.com/docs/configuration/general)**
>
> Configuration for the general system, server, first admin user, and telemetry.

---

<div class="post-metadata">

**Author:** ![peteruithoven](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/peteruithoven/32/1715_2.png) [@peteruithoven](https://community.directus.com/u/peteruithoven)\
**Post date:** [June 10, 2026, 3:45pm UTC](https://community.directus.com/t/admin-redirect/2313/2 "2026-06-10T15:45:33Z")

</div>

Looks like this logic is described in:

> <https://github.com/directus/directus/blob/main/app/src/routes/login/components/continue-as.vue#L55>

In my case it’s the `last_page` that’s pulled from the `/users/me` API endpoint. But looks like this `last_page` isn’t always updated.  
Looks like there is a 500ms delay.
