# How to disable redirect dashboard

**URL:** <https://community.traefik.io/t/how-to-disable-redirect-dashboard/19608>\
**Category:** Traefik v2\
**Tags:** dashboard-api\
**Created:** [August 24, 2023, 1:31pm UTC](https://community.traefik.io/t/how-to-disable-redirect-dashboard/19608 "2023-08-24T13:31:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vdjj](https://avatars.discourse-cdn.com/v4/letter/v/958977/32.png) [@vdjj](https://community.traefik.io/u/vdjj)\
**Post date:** [August 24, 2023, 1:31pm UTC](https://community.traefik.io/t/how-to-disable-redirect-dashboard/19608/1 "2023-08-24T13:31:28Z")

</div>

Hello, Could you recommend how to config traefik dashboard in sub-path of main domain without sub-domain, f.e. [domain.org/dashboard](http://domain.org/dashboard) without redirect [domain.org](http://domain.org) to [domain.org/dashboard](http://domain.org/dashboard)?  
Thank you.

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [August 24, 2023, 5:58pm UTC](https://community.traefik.io/t/how-to-disable-redirect-dashboard/19608/2 "2023-08-24T17:58:18Z")

</div>

Traefik dashboard is always at `/dashboard/`, but additionally needs `/api`, that can’t be changed.

You can run it on your main domain:

```auto
rule=Host(`example.com`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))

```

[Doc](https://doc.traefik.io/traefik/operations/dashboard/#dashboard-router-rule) and [simple Traefik example](https://github.com/bluepuma77/traefik-best-practice/tree/main/docker-traefik-dashboard-letsencrypt).

---

<div class="post-metadata">

**Author:** ![vdjj](https://avatars.discourse-cdn.com/v4/letter/v/958977/32.png) [@vdjj](https://community.traefik.io/u/vdjj)\
**Post date:** [August 25, 2023, 3:24am UTC](https://community.traefik.io/t/how-to-disable-redirect-dashboard/19608/3 "2023-08-25T03:24:56Z")

</div>

Thank you for your attention, could you agree it will disable auto-redirect / to /dashboard, and I can to use / for other service, f.e. site (exclude conflict with traefik)?

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [August 25, 2023, 5:18am UTC](https://community.traefik.io/t/how-to-disable-redirect-dashboard/19608/4 "2023-08-25T05:18:34Z")

</div>

Yes, you can have a different target service at `/`, using rule `Host()` without (or with different) `PathPrefix()`.
