← All posts

What Is Link Cloaking?

A plain explanation of link cloaking for affiliate and sponsored links, why sites use it, the nofollow and redirect rules that go with it, and how it differs from the deceptive cloaking that search engines penalize.

You click a link in a blog post that reads example.com/go/kitchen-scale, and a moment later you land on a product page on a completely different domain, one with a URL packed with tracking codes and an affiliate ID forty characters long. That short link did not point at the product directly. It pointed at a redirect the site owner controls, and the redirect sent you on. That is link cloaking, and it is a lot more ordinary than the word suggests.

Link cloaking is the practice of replacing a long, ugly destination URL with a short link on your own domain that redirects visitors to the real one. Instead of pasting a raw affiliate URL into a post, a site owner creates a link like /go/kitchen-scale or /recommends/kitchen-scale, and that link does the work of sending the visitor onward. Before the click, the visitor sees only the short link. After the click they land on the real destination, and its address shows in the browser like any other page. The site owner gets a link they control, on their own domain, that they can update later without touching every post that mentions it.

Under the hood this is nothing exotic. It is a redirect, tracked at the server, with a slug that means something to a reader instead of a wall of query parameters. Plugins that handle this well store the destination once, generate the short link, and log each click so the site owner can see which posts are actually driving traffic to which offers.

Why sites bother with it

The most immediate reason is trust. A raw affiliate URL is long, often has a partner ID sitting in plain view, and looks like something a reader would want to avoid clicking. A branded link on the site’s own domain reads as a normal internal link instead.

There is also a maintenance reason. Affiliate programs restructure their URLs, products get discontinued and replaced, and tracking codes expire. When the link lives in one place, updating it once, in the redirect target, fixes it everywhere the short link was used, rather than requiring a search through years of published posts to swap out a dead URL.

The third reason is data. A cloaked link can be tracked at the point of the redirect, so the site owner can see how many clicks a specific post or a specific placement generated, independent of whatever reporting the affiliate network provides on its own end. That is click data the site actually owns.

Cloaking, shortening and plain redirects

People use three terms for things that look alike, and the differences are worth a minute.

A public URL shortener gives you a short address on someone else’s domain. You do not control the domain, and the click data lives with the service. A cloaked link lives on your own domain, so the address carries your brand, and the click is counted on your own server. A plain redirect, the kind you set up for a moved page, sends traffic from one address to another but usually has no click count, no labelling and no expiry.

A cloaking tool is, in short, a redirect with bookkeeping. That is why the value shows up when you have many links, not one.

Be realistic about the benefits, because some of the claims you will read online are wrong.

It can:

  • Shorten the address and put your domain in front of the reader.
  • Let you change the destination in one place when a merchant moves a page.
  • Count clicks on your own server.
  • Carry the nofollow and sponsored labels you choose.
  • Stop working on a date you set.

It cannot:

  • Hide the destination after the click. The browser lands on the merchant’s address, and a reader can see it.
  • Hide that the link is an affiliate link. A reader who looks at the destination sees the parameters.
  • Replace the disclosure your readers and your local rules expect.
  • Make a merchant pay you more, or track a sale the merchant’s own cookie missed.

If a tool promises that the short address stays in the address bar after the click, check that claim against how redirects actually work before you believe it.

The part that is genuinely about SEO

There is a real technical side to this, and it is worth getting right rather than guessing at.

Affiliate and sponsored links are supposed to carry a rel="nofollow sponsored" attribute. This tells search engines that the link is a paid or affiliate relationship rather than an editorial endorsement, which is the distinction search engines have asked publishers to make for years. It is a labelling convention, not a punishment, and it is easy to apply automatically at the point the cloaked link is created rather than remembering to add it by hand on every post.

The redirect itself should be temporary (a 302 or 307) rather than a 301 permanent redirect. Affiliate destinations change often enough that treating them as permanent is the wrong signal to send, and a temporary redirect keeps that flexibility without confusing crawlers about where the authority of the link should sit.

Get both of those right and a cloaked affiliate link is doing exactly what it is supposed to do: a normal, disclosed, correctly labelled redirect that happens to live on a short, memorable URL.

The other kind of cloaking, and why it matters to separate the two

Here is the distinction that matters most, because it is probably most of what a search for this term turns up. “Cloaking” is also the name for a genuinely deceptive practice: showing search engine crawlers one destination or one piece of content while sending human visitors somewhere else entirely. That version of cloaking is a violation of search engine guidelines, because it means the page being ranked is not the page people actually see.

Link cloaking in the affiliate sense described above is not that. A crawler that follows /go/kitchen-scale gets redirected to the same product page a human visitor gets redirected to. Nothing is being shown selectively. The link is labelled as sponsored, the redirect is visible and consistent for every visitor including crawlers, and there is no second, hidden version of the destination. Same content, same destination, for everyone. The word overlap between “redirecting an affiliate link” and “serving different content to Googlebot” is unfortunate, but the two practices are not related, and only one of them is a problem.

If a piece of content you have read on this topic treats every redirect as suspect, it is talking about the deceptive kind. A branded, disclosed, consistently-redirecting affiliate link on your own domain is a normal and accepted way to run affiliate content.

This is worth stating plainly: shortening a URL changes how the link looks, not what it is. A cloaked affiliate link is still an affiliate link (see affiliate link de-cloaking for what people can check), and the disclosure obligations that come with affiliate or sponsored content still apply. Readers should be able to tell, from a disclosure statement on the post or the page, that a link sends them somewhere the site has a financial relationship with. Cloaking the URL is about presentation and maintenance. It is not a way to make a sponsored link look like it isn’t one, and treating it that way is what turns an ordinary practice into the kind of thing that draws complaints. We cover wording and placement in affiliate link disclosure: where it goes and what to say, and what a cloaked link does and does not hide in affiliate link de-cloaking.

When cloaking is the wrong tool

Not every link needs it.

For a site with five affiliate links that never change, a plain link with the right attributes is fine, and an extra layer adds little. Links to your own pages should stay as ordinary internal links. If a program forbids redirecting its links, or asks that its links appear as supplied, follow its terms. Read the rules of each program you join, because they differ and they change.

Cloaking pays off when you have dozens of links, when merchants move pages often, or when you want click numbers of your own. Before that point, it is optional.

  1. The destination works when you click it in a private window.
  2. The redirect is temporary unless the destination is permanent.
  3. Nofollow and sponsored are set the way your policy says.
  4. The disclosure sits next to the link, in the sentence or just above it.
  5. You know what happens if the merchant ends the offer, whether that is an expiry date or a note to check.

Setting this up without building it from scratch

Handling this manually, one link at a time, works for a handful of affiliate links. It stops working once a site has dozens of them scattered across years of posts, each needing the nofollow attribute applied by hand and each needing a manual edit if the destination changes.

WB Ad Manager’s link cloaking handles the pieces described above: branded /go/ links on your own domain, a checkbox on each link for rel="nofollow" and for rel="sponsored", and temporary redirects (307 by default) rather than permanent ones. If you’re migrating an existing set of links from something like ThirstyAffiliates or Pretty Links, or want to see the fuller feature set including keyword auto-linking and link analytics, the use case walkthrough covers what that setup looks like end to end. What ships free versus what requires the Pro add-on is laid out plainly on the free versus Pro page, and the comparison page covers how this stacks up against other link management plugins if you’re weighing options. For the full feature rundown, the link cloaking page is the place to start.

The Links menu has its own screen for each link. Open Links > All Links and add a new one. The fields are:

  • Name, your own label for the list.
  • Destination URL, the real address, with any affiliate parameters.
  • Slug, the part after the prefix. Leave it empty and the plugin makes one from the name, adding a number if it is taken.
  • Link Type, a label such as Affiliate or Sponsored Post. It helps you filter the list and does not change the redirect.
  • Category, to group links.
  • Redirect Type, 301, 302 or 307, with 307 as the default.
  • Status and Expiration Date, to switch a link off now or on a set date.
  • Description, for your notes.

Four checkboxes sit under Link Options: Enable cloaking, Add rel=“nofollow”, Add rel=“sponsored” and Open in new tab. New links start with cloaking, nofollow and new tab ticked, and sponsored not ticked. That last default catches people out, so tick sponsored on every affiliate link.

There is one more detail. The plugin prints the nofollow and sponsored attributes when it outputs the link itself, through its link shortcode. If you paste a raw /go/ address into a post, the redirect and the click count work, but the plugin adds no attributes to the anchor, so set them in the editor or use the shortcode.

Which parts are free and which are Pro

Basic link cloaking is free. The free plugin includes:

  • Branded links with a prefix you choose
  • The nofollow and sponsored checkboxes
  • Selectable redirect types
  • Expiry dates, with a 404, home page or custom fallback afterwards
  • Categories and shortcodes to print a group of links
  • A running click count for each link
  • A partnership inquiry form, so sponsors can approach you

Pro adds the tools for large sites:

  • Keyword auto-linking, which turns a chosen phrase into a cloaked link across your posts
  • A broken-link checker that flags destinations that have stopped working
  • A link scanner that finds raw affiliate URLs already in your content
  • CSV import, to bring links over from another plugin
  • Advanced analytics with referrer, country and device breakdowns

The free versus Pro page lists the full split. To put the editor into practice, follow switching your affiliate links to tracked branded URLs, and to retire a link at the right time, read expiring affiliate links after a promotion.

How to Cloak Affiliate Links With Short Branded Links in WB Ad Manager2:03Chapters and transcript

All video tutorials