# Force Discourse to not visit a link

**URL:** <https://meta.discourse.org/t/force-discourse-to-not-visit-a-link/153390>\
**Category:** Product Support\
**Created:** [May 31, 2020, 3:08pm UTC](https://meta.discourse.org/t/force-discourse-to-not-visit-a-link/153390 "2020-05-31T15:08:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [May 31, 2020, 3:08pm UTC](https://meta.discourse.org/t/force-discourse-to-not-visit-a-link/153390/1 "2020-05-31T15:08:15Z")

</div>

Hi,

I’m using the API to create PMs. The content can contain HTML and with links as well. Among those links, some of them as one-click action link. Basic link example: `<a href="https://" target="_blank">..</a>`

The issue is discourse visits any links and triggers those one-click actions.

How do you prevent that? I’m not sure what feature is responsible for that.  
Is there some allowed hint we can insert in the HTML to tell Discourse to ignore a link?  
Or is there an option I missed?

Note: currently I added a check in the backend to ignore Discourse visit but if possible, would like to avoid relying on this.

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/force-discourse-to-not-visit-a-link/153390)._
