# Too many redirect 'https://gohugo.io/variables/page'

**URL:** <https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346>\
**Category:** Uncategorized\
**Created:** [August 4, 2018, 11:26am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346 "2018-08-04T11:26:36Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![htr3n](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/htr3n/32/6368_2.png) [@htr3n](https://discourse.gohugo.io/u/htr3n)\
**Post date:** [August 4, 2018, 11:26am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/1 "2018-08-04T11:26:36Z")

</div>

Today I have just opened [https://gohugo.io/variables/page](https://gohugo.io/variables/page) and got an endless loop with the error ‘ERR\_TOO\_MANY\_REDIRECTS’ in all of my browsers: Firefox, Chrome and Safari.

Is that something happening on the hosting or genearating new sites?

Thanks.

---

<div class="post-metadata">

**Author:** ![Leo\_Merkel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/leo_merkel/32/3321_2.png) [@Leo\_Merkel](https://discourse.gohugo.io/u/Leo_Merkel)\
**Post date:** [August 4, 2018, 11:56am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/2 "2018-08-04T11:56:20Z")

</div>

Same here 🇩🇪

(Solved) Working now. Tnx @bep

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [August 4, 2018, 12:07pm UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/3 "2018-08-04T12:07:58Z")

</div>

> [@htr3n](#):
>
> Is that something happening on the hosting or genearating new sites?

An alias loop I would guess.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [August 4, 2018, 12:09pm UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/4 "2018-08-04T12:09:09Z")

</div>

> <https://github.com/gohugoio/hugoDocs/commit/fd378e66aafa2cbe84992a2e3028f4048551202f>

---

<div class="post-metadata">

**Author:** ![htr3n](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/htr3n/32/6368_2.png) [@htr3n](https://discourse.gohugo.io/u/htr3n)\
**Post date:** [August 5, 2018, 3:44am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/5 "2018-08-05T03:44:54Z")

</div>

Thanks, @bep. It’s fixed.

---

<div class="post-metadata">

**Author:** ![Miikka](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/miikka/32/6578_2.png) [@Miikka](https://discourse.gohugo.io/u/Miikka)\
**Post date:** [August 5, 2018, 6:48am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/6 "2018-08-05T06:48:17Z")

</div>

The introduction to templates – [https://gohugo.io/templates/introduction/](https://gohugo.io/templates/introduction/) – seems to be having the same problem.

---

<div class="post-metadata">

**Author:** ![Shadow53](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/shadow53/32/3018_2.png) [@Shadow53](https://discourse.gohugo.io/u/Shadow53)\
**Post date:** [August 6, 2018, 6:59am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/7 "2018-08-06T06:59:45Z")

</div>

So is the documentation page for the `cond` function: [https://gohugo.io/functions/cond/](https://gohugo.io/functions/cond/)

---

<div class="post-metadata">

**Author:** ![Leo\_Merkel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/leo_merkel/32/3321_2.png) [@Leo\_Merkel](https://discourse.gohugo.io/u/Leo_Merkel)\
**Post date:** [August 6, 2018, 8:12am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/8 "2018-08-06T08:12:21Z")

</div>

> [@Miikka](#):
>
> [Templating | Hugo](https://gohugo.io/templates/introduction/)

Working

---

<div class="post-metadata">

**Author:** ![Leo\_Merkel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/leo_merkel/32/3321_2.png) [@Leo\_Merkel](https://discourse.gohugo.io/u/Leo_Merkel)\
**Post date:** [August 6, 2018, 8:12am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/9 "2018-08-06T08:12:27Z")

</div>

Working

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [August 6, 2018, 8:56am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/10 "2018-08-06T08:56:44Z")

</div>

It puzzles me a little that these issues pop up now. These redirect have been there for a long time. Maybe people start to actually read the docs.

For technical interested:

- The hugo docs creates a 301 Netlify “\_redirects” file based on the alias definitions.
- We have turned off the Hugo alias feature (client side redirects), which is why the above is only a Netlify issue

---

<div class="post-metadata">

**Author:** ![martignoni](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/martignoni/32/5756_2.png) [@martignoni](https://discourse.gohugo.io/u/martignoni)\
**Post date:** [August 6, 2018, 9:11am UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/11 "2018-08-06T09:11:30Z")

</div>

> [@bep](#):
>
> Maybe people start to actually read the docs.

😂😂😂😂

---

<div class="post-metadata">

**Author:** ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)\
**Post date:** [August 6, 2018, 3:02pm UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/12 "2018-08-06T15:02:38Z")

</div>

> [@bep](#):
>
> Maybe people start to actually read the docs.

It seems like something changed in the hugoDocs/Netlify config (probably that feature that you turned off?)… I have not yet investigated.

The reason I believe this is a deeper issue is because [RSS templates | Hugo](https://gohugo.io/templates/rss/) was giving a 404 earlier (and it was working fine the last time I modified it)… and I had to remove the `aliases` front-matter to fix it in my [last commit](https://github.com/gohugoio/hugoDocs/commit/ce14da4350c586c7d184326f0326a14d60818645) to it.

Something changed with multi-languages and aliases setting?

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [August 6, 2018, 5:52pm UTC](https://discourse.gohugo.io/t/too-many-redirect-https-gohugo-io-variables-page/13346/13 "2018-08-06T17:52:58Z")

</div>

It something has changed, it is now working correctly.

I have diffed public/\_redirects in Hugo Docs from Hugo 0.46…0.40 with identical output, so if something has changed regarding this in that timeframe, I think it would have to be in the Netlify code.
