# Infinite http-equiv="refresh" loop being created on build, not dev

**URL:** <https://discourse.gohugo.io/t/infinite-http-equiv-refresh-loop-being-created-on-build-not-dev/43713>\
**Category:** support\
**Created:** [April 2, 2023, 1:02am UTC](https://discourse.gohugo.io/t/infinite-http-equiv-refresh-loop-being-created-on-build-not-dev/43713 "2023-04-02T01:02:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmbiTurner](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@AmbiTurner](https://discourse.gohugo.io/u/AmbiTurner)\
**Post date:** [April 2, 2023, 1:02am UTC](https://discourse.gohugo.io/t/infinite-http-equiv-refresh-loop-being-created-on-build-not-dev/43713/1 "2023-04-02T01:02:52Z")

</div>

I created a stackoverflow question [here](https://stackoverflow.com/questions/75909529/hugo-adding-http-equiv-refresh-content-0-on-build-make-it-stop), but basically I’m trying to create a static contact page following [this article](https://discourse.gohugo.io/t/creating-static-content-that-uses-partials/265/19), and I am using a shortcode to insert the contact form.

This appears to work when I run `hugo serve --ignoreCache --disableFastRender --noHTTPCache -D`, but when I build the site creates an infinite loop on the `baseURL/contact/` page by way of `http-equiv=refresh`.

Help?

---

<div class="post-metadata">

**Author:** ![Rickey\_Ingram](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rickey_ingram/32/18556_2.png) [@Rickey\_Ingram](https://discourse.gohugo.io/u/Rickey_Ingram)\
**Post date:** [April 2, 2023, 5:04pm UTC](https://discourse.gohugo.io/t/infinite-http-equiv-refresh-loop-being-created-on-build-not-dev/43713/2 "2023-04-02T17:04:02Z")

</div>

Maybe this:

```auto
aliases:
- /contact.html
- /blog/contact/
- /blog/contact.html

```

If I didn’t get me wrong, you intend to insert a contact form on the page with a shortcode, but I suggest you use partial instead, or create a separate contact layout page, then specify it on the frontmater page you created.

layout: contact
