# Relative path link

**URL:** <https://forum.getkirby.com/t/relative-path-link/29970>\
**Category:** Questions\
**Tags:** v4\
**Created:** [November 12, 2023, 11:09am UTC](https://forum.getkirby.com/t/relative-path-link/29970 "2023-11-12T11:09:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marishlucas](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marishlucas/32/13661_2.png) [@marishlucas](https://forum.getkirby.com/u/marishlucas)\
**Post date:** [November 12, 2023, 11:09am UTC](https://forum.getkirby.com/t/relative-path-link/29970/1 "2023-11-12T11:09:12Z")

</div>

I have a /blog page with thousands of articles. Whenever i add a text block to a new article and try to link a local file uploaded in the article’s folder (using the link field), it returns the base route of the site. Is there a way to use the link field to link local files?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 12, 2023, 11:43am UTC](https://forum.getkirby.com/t/relative-path-link/29970/2 "2023-11-12T11:43:28Z")

</div>

> [@marishlucas](#):
>
> Is there a way to use the link field to link local files?

If you select the file option, you can link to any file in the site. Don’t quite understand what you are doing, works fine for me. Kirby inserts a permalink to the file

 ![Bildschirmfoto 2023-11-12 um 12.44.04](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/b/b7b3d3049cbc21d0875591d003dad7f40100c50e.png)

---

<div class="post-metadata">

**Author:** ![marishlucas](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marishlucas/32/13661_2.png) [@marishlucas](https://forum.getkirby.com/u/marishlucas)\
**Post date:** [November 12, 2023, 11:51am UTC](https://forum.getkirby.com/t/relative-path-link/29970/3 "2023-11-12T11:51:01Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/8/86c4d676861f7e18276a857f870c5889a113d9cd.png)  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/9/96b50ec109ec6c7baccec1bf4290659bd70bc1a2.png)  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/3/3eca66c246997b18fcc36e702e6d2437611f7e9c.png)

My problem is that i have to search throughout the system to find the file that i locally uploaded to the folder whereas in textarea i can use (file: cv.pdf) and reference it directly.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 12, 2023, 12:00pm UTC](https://forum.getkirby.com/t/relative-path-link/29970/4 "2023-11-12T12:00:58Z")

</div>

Yes, currently, it’s not possible to limit the files. This feature will come at a later point in time. You can upvote the feature on Nolt:

> **[Link field: \`query\` support for pages/files · Kirby Feedback](https://kirby.nolt.io/574)**
>
> Original discussion: https://github.com/getkirby/kirby/issues/5279

---

<div class="post-metadata">

**Author:** ![marishlucas](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/marishlucas/32/13661_2.png) [@marishlucas](https://forum.getkirby.com/u/marishlucas)\
**Post date:** [November 12, 2023, 12:01pm UTC](https://forum.getkirby.com/t/relative-path-link/29970/5 "2023-11-12T12:01:44Z")

</div>

Ok, thanks for the reply!
