# Link rewriting for affiliate codes

**URL:** <https://meta.discourse.org/t/link-rewriting-for-affiliate-codes/52949>\
**Category:** Feature\
**Created:** [16 november 2016 om 02:51 UTC](https://meta.discourse.org/t/link-rewriting-for-affiliate-codes/52949 "2016-11-16T02:51:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [24 november 2020 om 13:22 UTC](https://meta.discourse.org/t/link-rewriting-for-affiliate-codes/52949/4 "2020-11-24T13:22:55Z")

</div>

This should possible in a theme component these days, depending on what the links should look like.

Can you post an example of the base link and an example of what it would look like as an affiliate link?

---

_[View the full topic](https://meta.discourse.org/t/link-rewriting-for-affiliate-codes/52949)._
