# \[PAID\] Theme or plugin to transform links made to specific URLs / domains

**URL:** https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697
**Category:** Marketplace
**Tags:** delivered
**Created:** [August 8, 2024, 8:51am UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697 "2024-08-08T08:51:22Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [August 8, 2024, 8:51am UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/1 "2024-08-08T08:51:22Z")

</div>

**What would you like done?**

I need a theme or plugin creating which transforms specific URLs in posts.

For example, if a user creates a post and uses a link to `https://example.com` then this link should be transformed so when anyone clicks on it they are taken to `https://example.com/affiliate/my-code`

Some other possible combinations:

`https://example.com`  
`https://example.com/`  
`https://www.example.com`  
`https://www.example.com/`

Those should also be transformed so when clicked they are taken to `https://example.com/affiliate/my-code`

An exclusion is required where the user post a link to a specific page on that site.

eg:

`https://example.com/some-product/page/here`  
`https://example.com/some-other-product/or-page/over-here`

Those should _not_ be transformed and should take people to that page when clicked.

The `https://example.com/affiliate/my-code` currently onebox’s just fine so this onebox compatibility must be maintained.

The solution should be easy to install, either via the Discourse admin control panel or via adding a GitHub repo to `app.yml`

**When do you need it done?**

Delivery by the end of August 2024 is a deal breaker, I cannot move this date 🙂

**What is your budget, in $ USD that you can offer for this task?**

GBP£250 / EUR€290 / USD$317

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 8, 2024, 1:08pm UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/2 "2024-08-08T13:08:37Z")

</div>

I can help with that. I’ll send a pm.

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [August 8, 2024, 5:17pm UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/3 "2024-08-08T17:17:34Z")

</div>

This project can be marked as delivered.

Thanks @pfaffman 🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 8, 2024, 5:20pm UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/4 "2024-08-08T17:20:25Z")

</div>

Thank you! My intent is to make a more general purpose version available publicly (without the URL hard-coded).

I decided that this has broader use that I first imagined, so it’s now available [on github](https://github.com/literatecomputing/discourse-affiliate-linker). See [Discourse-affiliate-linker - Plugins and Themes - Literate Computing Dashboard](https://dashboard.literatecomputing.com/t/discourse-affiliate-linker/950) to see it in use, and Real Soon Now it’ll be in #Customization > Theme component .

@Richie you might check out this version, as there’s some chance that I’ll maintain it since at least I am using it.

---

<div class="post-metadata">

### Author: ![oga](https://avatars.discourse-cdn.com/v4/letter/o/f19dbf/32.png) [@oga](https://meta.discourse.org/u/oga)
#### Post date: [August 9, 2024, 3:04am UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/5 "2024-08-09T03:04:20Z")

</div>

This is great.  
Is it ready for use? Can it be used for Amazon Referals\affiliates?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [August 9, 2024, 6:12am UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/6 "2024-08-09T06:12:37Z")

</div>

> [@oga](#):
>
> Can it be used for Amazon Referals\affiliates?

Why don’t you use the [Discourse Affiliate](https://meta.discourse.org/t/discourse-affiliate/101937) plugin?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 9, 2024, 7:06am UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/7 "2024-08-09T07:06:10Z")

</div>

Right. And this won’t work at all for Amazon referrals, as it works only for links to the home page.

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [August 9, 2024, 7:16am UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/8 "2024-08-09T07:16:25Z")

</div>

> [@oga](#):
>
> This is great.  
> Is it ready for use? Can it be used for Amazon Referals\affiliates?

If you’re unable to use the Discourse Affiliate Plugin

This #Customization > Theme component can likely be modified. Though not sure if it can modify Amazon short links

> [@eBay EPN Affiliate Link Generator](https://meta.discourse.org/t/ebay-epn-affiliate-link-generator/292012):
>
> information_sourceSummary eBay EPN Affiliate Link Generatorhammer_and_wrenchRepository [GitHub - ScottMastro/discourse-ebay-affiliate: Discourse theme component to inject eBay affiliate links · GitHub](https://github.com/ScottMastro/discourse-ebay-affiliate)questionInstall Guide [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) This theme component replaces eBay links with affiliate links and discloses when this has happened Requirement: you will ne…

---

<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: [September 8, 2024, 7:17am UTC](https://meta.discourse.org/t/paid-theme-or-plugin-to-transform-links-made-to-specific-urls-domains/320697/9 "2024-09-08T07:17:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
