# Help with broken links

**URL:** <https://discourse.gohugo.io/t/help-with-broken-links/36885>\
**Category:** support\
**Created:** [January 31, 2022, 8:11pm UTC](https://discourse.gohugo.io/t/help-with-broken-links/36885 "2022-01-31T20:11:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![verystatic](https://avatars.discourse-cdn.com/v4/letter/v/8c91f0/32.png) [@verystatic](https://discourse.gohugo.io/u/verystatic)\
**Post date:** [January 31, 2022, 8:11pm UTC](https://discourse.gohugo.io/t/help-with-broken-links/36885/1 "2022-01-31T20:11:03Z")

</div>

My project repository: [GitHub - ProjectMountiainMan/HugoBrokenOnServer: This hugo project works fine when run with hugo -D server, but breaks when I actually try to host it somewhere.](https://github.com/ProjectMountiainMan/HugoBrokenOnServer)

My website works fine when I run hugo -D server, but not when I actually run hugo -D, and upload the public directory to an actual server. My project uses the Docsy theme.

I have tried editing the config file to enable ugly urls, relative urls, and changed the baseUrl. I have tried removing the backslash from my image links. I can get the docsy theme to load, and I can get the site to look great when tested from local host, but I can’t get images or links to work when actually deployed. The docsy theme only ever seems to work when I have baseUrl = “\”

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [January 31, 2022, 11:04pm UTC](https://discourse.gohugo.io/t/help-with-broken-links/36885/2 "2022-01-31T23:04:29Z")

</div>

> [@verystatic](#):
>
> but breaks when I actually try to host it somewhere

Breaks how?  
Can you point us to a live broken site?  
Is this Hugo site a subsection of a parent site (e.g., `https://some-construction-technology-company/docs`)?

Also, it looks like you’re using an older version of the docsy theme, or you’ve modified it, or both.

---

<div class="post-metadata">

**Author:** ![verystatic](https://avatars.discourse-cdn.com/v4/letter/v/8c91f0/32.png) [@verystatic](https://discourse.gohugo.io/u/verystatic)\
**Post date:** [February 1, 2022, 7:01pm UTC](https://discourse.gohugo.io/t/help-with-broken-links/36885/3 "2022-02-01T19:01:23Z")

</div>

I’m happy to point you to our site, but we would prefer a direct message instead of a forum post if possible.

---

<div class="post-metadata">

**Author:** ![verystatic](https://avatars.discourse-cdn.com/v4/letter/v/8c91f0/32.png) [@verystatic](https://discourse.gohugo.io/u/verystatic)\
**Post date:** [February 1, 2022, 7:18pm UTC](https://discourse.gohugo.io/t/help-with-broken-links/36885/4 "2022-02-01T19:18:02Z")

</div>

Yes, it is a subsection of a parent site. Manually adding “…” enough times to the link address, using inspect element in the browser, will fix the problem. However, I want to configure Hugo correctly, and not manually do that to every image link.

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [February 1, 2022, 7:18pm UTC](https://discourse.gohugo.io/t/help-with-broken-links/36885/5 "2022-02-01T19:18:49Z")

</div>

> [@verystatic](#):
>
> a direct message

Sure…

---

<div class="post-metadata">

**Author:** ![verystatic](https://avatars.discourse-cdn.com/v4/letter/v/8c91f0/32.png) [@verystatic](https://discourse.gohugo.io/u/verystatic)\
**Post date:** [February 1, 2022, 7:25pm UTC](https://discourse.gohugo.io/t/help-with-broken-links/36885/7 "2022-02-01T19:25:18Z")

</div>

I’m not sure if this site allows me to send the link to you directly, so I’ll just post it here and delete it later:

> **[Collage Site Knowledge Base](https://www.clearedge3d.com/support/collagesite-qa/)**
>
> A repository of information on Collage Site

Also, the reply symbol at the top of my post sometimes appears and sometimes does not. When it didn’t appear, I tried deleting the post, and posting again, but I received an error stating that my post was too similar to what I had previously posted.
