# Focus Item Link - Breaking

**URL:** <https://forum.mautic.org/t/focus-item-link-breaking/24514>\
**Category:** Product Support\
**Created:** [June 20, 2022, 10:11am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514 "2022-06-20T10:11:17Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 20, 2022, 10:11am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/1 "2022-06-20T10:11:17Z")

</div>

I am having an issue with Focus Items “Emphasize Link”

When I create this focus item and obviously test from within Mautic everything works fine. However when I am not logged into Mautic the link is breaking.

How do I begin to trouble shoot this ?

I am seeing that when I click on the link it is building a link like this

```auto
[type or paste code here](https://my.mautic.com/r/4b364a872b9e3277767dc5529?ct=YToyOntzOjg6ImZvY3VzX2lkIjtpOjUwO3M6NzoiY2hhbm5lbCI7YToxOntzOjU6ImZvY3VzIjtpOjUwO319)

```

And then taking me to the page “Oh O I think I broke it…”

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [June 20, 2022, 12:33pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/2 "2022-06-20T12:33:31Z")

</div>

I tested and this work 100% for me. I also get a similar redirect link as you but clicking the link takes me to the right page. Not much use other than it does not appear to be a Mautic bug but rather something on your set up.

```auto
https://mautic.mymautic.com/r/553537cab869ebbc6f133f8e4?ct=YTozOntzOjg6ImZvY3VzX2lkIjtpOjE7czo0OiJsZWFkIjtzOjU6IjE0NTU5IjtzOjc6ImNoYW5uZWwiO2E6MTp7czo1OiJmb2N1cyI7aToxO319&

```

Links look the same as well.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 20, 2022, 12:34pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/3 "2022-06-20T12:34:22Z")

</div>

and just making sure you were not logged in when doing so ?

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [June 20, 2022, 12:44pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/4 "2022-06-20T12:44:20Z")

</div>

tested incognito and logged out and it worked fine.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 20, 2022, 12:45pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/5 "2022-06-20T12:45:57Z")

</div>

@joeyk do you think this can have anything to do with the multi-domain plugin ?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 20, 2022, 12:47pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/6 "2022-06-20T12:47:32Z")

</div>

I don’t think so… but I’ve never tested this scenario.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 20, 2022, 1:13pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/7 "2022-06-20T13:13:44Z")

</div>

ok, I also do not think it is this… however I did test on an instance that does not have multi-domain and it worked as @robm mentioned.

I am just thinking what the cause could be, if I am logged in to Mautic the link works, and when I am not, the link gets broken ?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 20, 2022, 4:23pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/8 "2022-06-20T16:23:31Z")

</div>

You can remove the multi domain or turn it off temporarly, and see what’s up.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 21, 2022, 6:57am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/9 "2022-06-21T06:57:55Z")

</div>

Just checking here, there is no way to turn it off so would it be sufficient for e to move the directory to /tmp , clear cache ? And if I put it back will all my settings still be there ?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 21, 2022, 10:15am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/10 "2022-06-21T10:15:52Z")

</div>

Yeah you can remove it, clear cache and all settings should stay in the db

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 21, 2022, 10:43am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/11 "2022-06-21T10:43:48Z")

</div>

tried that , it is not MultiDomain that is causing the issue ☹  
Thanks @joeyk

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 21, 2022, 10:54am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/12 "2022-06-21T10:54:25Z")

</div>

Does anyone have any clue as to why the link would work when you are logged into Mautic and not when you are not logged in ?

I have tried to chown -R www-data:www-data the entire mautic directory.

The pop up is showing, the image is showing, but the link is leading to this internal error broken page.

@silavapi @ekke ??

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [June 21, 2022, 2:27pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/13 "2022-06-21T14:27:25Z")

</div>

A couple of thoughts:

- Have you checked the error logs to see what the actual error is that’s being thrown? If it is throwing an internal error there should be an associated entry in the error log
- Is the link going to an asset or a Mautic resource? If so, is it published and publicly accessible outside of the focus item?
- Can you share the full HTML of the focus item (redact anything that might be sensitive) so that we can see exactly what you have in the focus item?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [June 22, 2022, 8:46am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/14 "2022-06-22T08:46:36Z")

</div>

A post was split to a new topic: [Segment section not showing when creating an email](https://forum.mautic.org/t/segment-section-not-showing-when-creating-an-email/24541)

---

<div class="post-metadata">

**Author:** ![pav03](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pav03/32/7028_2.png) [@pav03](https://forum.mautic.org/u/pav03)\
**Post date:** [November 18, 2022, 8:41am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/15 "2022-11-18T08:41:47Z")

</div>

@mikew

Sorry to bump an old post.

I recently came across this issue (version 4.4.3).

The fix is to add target=“\_top” at the end of your hyperlink (from within the focus item builder).

I believe target=“\_blank” also works.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Nord](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nord/32/950_2.png) [@Nord](https://forum.mautic.org/u/Nord)\
**Post date:** [November 28, 2022, 9:06am UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/16 "2022-11-28T09:06:10Z")

</div>

Thanks for this comment @pav03 🙂

@silavapi Is this a bug within Mautic?

---

<div class="post-metadata">

**Author:** ![amir](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/amir/32/10275_2.png) [@amir](https://forum.mautic.org/u/amir)\
**Post date:** [March 10, 2024, 12:38pm UTC](https://forum.mautic.org/t/focus-item-link-breaking/24514/17 "2024-03-10T12:38:20Z")

</div>

i have the same problem  
i think this issue about click tracking  
can i disable feature like this in focus item ?  
thanks
