Hey everyone. I’m curious whether it’s safe to override root path “/” with a custom page like a landing page? In my head there’d be something like an override for the root path and then the user would be rerouted to /admin
I’m asking this as I see that the data studio uses /admin anyhow.
Hi there,
The / path redirect can be changed easily by editing the ROOT_REDIRECT value. (see the documentation General | Directus Docs)
The /admin path cannot be adjusted. (sadly otherwise you could have used /dashboard)
You should be able to overwrite the default root path with a reverse proxy like Caddy or Nginx.