# How to ban some link URL's? I need to avoid spam

**URL:** https://meta.discourse.org/t/how-to-ban-some-link-urls-i-need-to-avoid-spam/49539
**Category:** Support
**Created:** [9월 1, 2016, 8:35오전 UTC](https://meta.discourse.org/t/how-to-ban-some-link-urls-i-need-to-avoid-spam/49539 "2016-09-01T08:35:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![elfeffe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elfeffe/32/114393_2.png) [@elfeffe](https://meta.discourse.org/u/elfeffe)
#### Post date: [9월 1, 2016, 8:35오전 UTC](https://meta.discourse.org/t/how-to-ban-some-link-urls-i-need-to-avoid-spam/49539/1 "2016-09-01T08:35:38Z")

</div>

Some users are publishing links to competitor webs.  
is there any way to auto ban that URL’s?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [9월 1, 2016, 10:15오전 UTC](https://meta.discourse.org/t/how-to-ban-some-link-urls-i-need-to-avoid-spam/49539/2 "2016-09-01T10:15:41Z")

</div>

It really isn’t meant for this usage, but we use the censor word list to do this. We’ll put something like `adf.ly` in the censor word list, and any URL that go through that service is broken. It doesn’t ban or alert the user in anyway (unless they review their post), it simply prevents the URL from working, as it replaces it with the censor unicode block.

We’ve done it for many different URLs and it has consistently worked well for what we needed.

---

<div class="post-metadata">

### Author: ![elfeffe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elfeffe/32/114393_2.png) [@elfeffe](https://meta.discourse.org/u/elfeffe)
#### Post date: [9월 1, 2016, 10:34오전 UTC](https://meta.discourse.org/t/how-to-ban-some-link-urls-i-need-to-avoid-spam/49539/3 "2016-09-01T10:34:14Z")

</div>

Good idea, thank you

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [3월 2, 2019, 12:27오전 UTC](https://meta.discourse.org/t/how-to-ban-some-link-urls-i-need-to-avoid-spam/49539/4 "2019-03-02T00:27:15Z")

</div>



---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [3월 2, 2019, 1:04오전 UTC](https://meta.discourse.org/t/how-to-ban-some-link-urls-i-need-to-avoid-spam/49539/5 "2019-03-02T01:04:44Z")

</div>


