# Ref/relref or .Site.GetPage not returning permalink

**URL:** <https://discourse.gohugo.io/t/ref-relref-or-site-getpage-not-returning-permalink/23716>\
**Category:** support\
**Created:** [February 27, 2020, 6:13pm UTC](https://discourse.gohugo.io/t/ref-relref-or-site-getpage-not-returning-permalink/23716 "2020-02-27T18:13:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Dunn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/stefan_dunn/32/10180_2.png) [@Stefan\_Dunn](https://discourse.gohugo.io/u/Stefan_Dunn)\
**Post date:** [February 27, 2020, 6:13pm UTC](https://discourse.gohugo.io/t/ref-relref-or-site-getpage-not-returning-permalink/23716/1 "2020-02-27T18:13:10Z")

</div>

My file structure in the `content` folder is as follows:

outplacement  
-\> home.md  
who-we-help  
-\> jon.md  
-\> hayley.md  
-\> fred.md  
faqs.md  
home.md  
who-we-are.md  
who-we-help.md

I use `ref . "faqs.md"` without an issue, likewise with `ref . "outplacement/home.md"`… for some reason `ref . "who-we-help.md"` fails and get an REF\_NOT\_FOUND: Ref “who-we-help.md” page does not exist error.

I have tried with `"/who-we-help.md"` and even moving “who-we-help.md” to “who-we-help/index.md”.

I should note that the “who-we-help.md” file has a redirect front-matter property set.

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [February 27, 2020, 7:40pm UTC](https://discourse.gohugo.io/t/ref-relref-or-site-getpage-not-returning-permalink/23716/2 "2020-02-27T19:40:20Z")

</div>

Please put together a minimum repo we can clone to reproduce your error.

---

<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:** [February 27, 2020, 10:00pm UTC](https://discourse.gohugo.io/t/ref-relref-or-site-getpage-not-returning-permalink/23716/3 "2020-02-27T22:00:19Z")

</div>

It’s a bug in Hugo 0.65.x. It’s being tracked here:

> <https://github.com/gohugoio/hugo/issues/6952>
>
> What version of Hugo are you using (hugo version)?
> $ hugo version
> Hugo Static Site Generator v0.65.3/extended linux/amd64 BuildDate: unknown
> Does this issue reproduce...
