# Rewrite external URLs

**URL:** <https://meta.discourse.org/t/rewrite-external-urls/277855>\
**Category:** Support\
**Created:** [September 5, 2023, 12:41pm UTC](https://meta.discourse.org/t/rewrite-external-urls/277855 "2023-09-05T12:41:53Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kam44](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@kam44](https://meta.discourse.org/u/kam44)\
**Post date:** [September 5, 2023, 12:41pm UTC](https://meta.discourse.org/t/rewrite-external-urls/277855/1 "2023-09-05T12:41:53Z")

</div>

I enjoy using Discourse feature that automatically converts watched words into links. However, I’m also looking for a way to auto-convert external links, primarily to insert affiliate links (other than Amazon). I attempted to achieve this using the regex option in watched words, but it doesn’t seem to work for links. Does anyone have any suggestions?

Thank you !

---

_[View the full topic](https://meta.discourse.org/t/rewrite-external-urls/277855)._
