# Link with tag doesn't work

**URL:** <https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491>\
**Category:** Questions\
**Tags:** v3\
**Created:** [January 9, 2023, 2:51pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491 "2023-01-09T14:51:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![janhuthisutubs](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@janhuthisutubs](https://forum.getkirby.com/u/janhuthisutubs)\
**Post date:** [January 9, 2023, 2:51pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491/1 "2023-01-09T14:51:01Z")

</div>

Hi Kirby community,  
i work on a site with Kirby 3.6. There i have a normal link which includes a tag like this:  
`https://www.site.de/page?tag=name`

When i click the link it only opens the page without any tags activated. But when i manually copy&paste the link to a new browser tab and hit enter the tag will be activated as expected.

Do you have a suggestion how it could be solved?

Greetings  
Jan

---

<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:** [January 9, 2023, 5:49pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491/2 "2023-01-09T17:49:14Z")

</div>

Not really, this seems weird. Do you have an example online?

---

<div class="post-metadata">

**Author:** ![janhuthisutubs](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@janhuthisutubs](https://forum.getkirby.com/u/janhuthisutubs)\
**Post date:** [January 16, 2023, 12:31pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491/3 "2023-01-16T12:31:18Z")

</div>

Hi,  
this is the site where the link is located:  
`https://www.spacelab-isu.org/pages/uric`

The link as editor syntax should be:  
`(link: https://www.spacelab-isu.org/research?tag=uric text: Urban Rural Intervention Catalog)`  
In this form it opens the research page but without any tags activated.

I had to do a workaround with `target: _blank`. So the link right now is:  
`(link: https://www.spacelab-isu.org/research?tag=uric text: Urban Rural Intervention Catalog target: _blank)`  
In this form it opens the link as intended (with uric tag activated). But the user inconvenience now is the automatic opening of a new tab.

Greetings  
Jan

---

<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:** [January 16, 2023, 12:46pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491/4 "2023-01-16T12:46:05Z")

</div>

Ok, with the target blank I now can’t test the original version. But since you are using Kirby headless, the page is probably not reloaded, and therefore without getting the filtered data from the server again, it won’t have any effect.

---

<div class="post-metadata">

**Author:** ![janhuthisutubs](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@janhuthisutubs](https://forum.getkirby.com/u/janhuthisutubs)\
**Post date:** [January 16, 2023, 1:18pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491/5 "2023-01-16T13:18:59Z")

</div>

What do you mean by “headless”?

---

<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:** [January 16, 2023, 2:14pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491/6 "2023-01-16T14:14:41Z")

</div>

Well, or a single page app, at least the main content is handled via JavaScript.

---

<div class="post-metadata">

**Author:** ![janhuthisutubs](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@janhuthisutubs](https://forum.getkirby.com/u/janhuthisutubs)\
**Post date:** [January 16, 2023, 2:22pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491/7 "2023-01-16T14:22:19Z")

</div>

You mean the link resolve is handled by JavaScript? So that would be a task for developers. I’m only editorial staff. 😅  
[Edit]  
Oh, and thanks for your help 👍

---

<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:** [January 16, 2023, 2:32pm UTC](https://forum.getkirby.com/t/link-with-tag-doesnt-work/27491/8 "2023-01-16T14:32:39Z")

</div>

> [@janhuthisutubs](#):
>
> So that would be a task for developers.

Yep.
