# Organizations Redirect

**URL:** <https://community.grafana.com/t/organizations-redirect/87313>\
**Category:** Configuration\
**Created:** [May 9, 2023, 12:40pm UTC](https://community.grafana.com/t/organizations-redirect/87313 "2023-05-09T12:40:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![edersonvanazzi](https://avatars.discourse-cdn.com/v4/letter/e/858c86/32.png) [@edersonvanazzi](https://community.grafana.com/u/edersonvanazzi)\
**Post date:** [May 9, 2023, 12:40pm UTC](https://community.grafana.com/t/organizations-redirect/87313/1 "2023-05-09T12:40:37Z")

</div>

Good morning.

After upgrading to Grafana 9.5.1, we had issues switching between created orgs.

When trying to switch between them, we ended up being directed to “[http://grafana.staged-by-discourse.com/?orgId=7](http://grafana.staged-by-discourse.com/?orgId=7)”.

I think it’s just a basic redirection problem. As we have around 8 organizations configured in grafana, and one of them is separate for viewing without login.  
As soon as we try to log in, we already hit this error.

Apart from that, this new version 9.5.1 is very TOP

---

<div class="post-metadata">

**Author:** ![rujoesmith](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@rujoesmith](https://community.grafana.com/u/rujoesmith)\
**Post date:** [May 12, 2023, 7:32pm UTC](https://community.grafana.com/t/organizations-redirect/87313/2 "2023-05-12T19:32:14Z")

</div>

I also just had this same issue, adding the root\_url variable fixed it for me [Configure Grafana | Grafana documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#root_url)

---

<div class="post-metadata">

**Author:** ![nutslove](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@nutslove](https://community.grafana.com/u/nutslove)\
**Post date:** [June 6, 2023, 11:49am UTC](https://community.grafana.com/t/organizations-redirect/87313/3 "2023-06-06T11:49:27Z")

</div>

I am having the same issue, and I cannot add the root\_url variable because I have a reverse proxy in front of Grafana.  
@edersonvanazzi Did you find a way to solve this issue?

---

<div class="post-metadata">

**Author:** ![edersonvanazzi](https://avatars.discourse-cdn.com/v4/letter/e/858c86/32.png) [@edersonvanazzi](https://community.grafana.com/u/edersonvanazzi)\
**Post date:** [June 6, 2023, 4:15pm UTC](https://community.grafana.com/t/organizations-redirect/87313/4 "2023-06-06T16:15:42Z")

</div>

Good morning, I managed to add the “domain =” and the root\_url parameter that is different from the example, follow how I added it.  
“root\_url = %(protocol)s://%(domain)s/”  
@nutslove

---

<div class="post-metadata">

**Author:** ![nutslove](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@nutslove](https://community.grafana.com/u/nutslove)\
**Post date:** [June 6, 2023, 5:49pm UTC](https://community.grafana.com/t/organizations-redirect/87313/5 "2023-06-06T17:49:59Z")

</div>

@edersonvanazzi  
Thank you!

---

<div class="post-metadata">

**Author:** ![westonforbes](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/westonforbes/32/26085_2.png) [@westonforbes](https://community.grafana.com/u/westonforbes)\
**Post date:** [January 25, 2024, 5:43pm UTC](https://community.grafana.com/t/organizations-redirect/87313/6 "2024-01-25T17:43:10Z")

</div>

My hero. I was really struggling with this issue and this fixed it for me. My grafana instance serves about 350 employees so there was a lot of heat to fix after the update. Thank you! Fweew.

---

<div class="post-metadata">

**Author:** ![goncalopinho](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@goncalopinho](https://community.grafana.com/u/goncalopinho)\
**Post date:** [February 28, 2024, 12:18pm UTC](https://community.grafana.com/t/organizations-redirect/87313/7 "2024-02-28T12:18:02Z")

</div>

Greetings everyone,

I also experienced this problem but I had an extra configuration on my docker-comopse.yml file that was the environment variable GF\_SERVER\_ROOT\_URL: “your-url-here” so remember to change it if you also have it.  
So what do we need to change:

- You need to change your grafana.ini the the root\_url, which can be dynamically constructed as default or you can manually insert it and also change the serve\_from\_sub\_path to true.

- If you are using docker to run your Grafana remember that env variable 😊.

Assuming you are using a reverse proxy like I am.

Hope that this insight helps someone.
