---
title: Short Links
description: "A short link is an address on your own site, like `yoursite.com/go/hosting`, that redirects visitors to the URL of an external link. It hides long affiliate URLs, lets you change the destination later without editing your posts, and counts every…"
url: "https://wpruby.com/knowledgebase/affiliate-butler-short-links/"
updated: "2026-11-15"
category: Affiliate Butler PRO
---

# Short Links

A short link is an address on your own site, like `yoursite.com/go/hosting`, that redirects visitors to the URL of an external link. It hides long affiliate URLs, lets you change the destination later without editing your posts, and counts every click.

Short links are available for **External link** auto links: turn on **Short link** in the link editor. The options below appear under it.

![The short link options of the link editor](https://cdn.wpruby.com/wp-content/uploads/2026/11/15112348/affiliate-butler-link-editor.webp)

Table of Contents

 [Toggle](#)

- [Slug and prefix](#Slug_and_prefix)
- [Redirect type](#Redirect_type)
- [Forward the parameters](#Forward_the_parameters)
- [Rotate between several URLs (split testing)](#Rotate_between_several_URLs_split_testing)
- [QR code](#QR_code)

### Slug and prefix

The **Slug** is the last part of the short link. Leave it empty to get a short generated one, or type your own (e.g. `hosting`). Each slug can be used by one link only.

The part before it, `go` by default, is the same for every link. Change it in [Settings → Short links prefix](/knowledgebase/settings/), e.g. to `recommends`. Links in your content follow the new prefix automatically; short links you shared elsewhere with the old prefix stop working, so choose it early.

### Redirect type

How the short link sends visitors to the URL:

- **302 Found** (recommended): a temporary redirect. Browsers check with your site at every click, so every click is counted and you can change the URL at any time.
- **307 Temporary Redirect**: like 302.
- **301 Moved Permanently**: browsers remember the destination. Later clicks may go straight to the old URL without being counted, even after you change it.

The default for all links is set in [Settings](/knowledgebase/settings/). Choose a different one for a single link in its **Redirect type** field; **Default** follows the setting.

Short links are never indexed by search engines: the redirect tells them not to (`X-Robots-Tag: noindex, nofollow`).

### Forward the parameters

Turn it on to pass the query parameters of the short link on to the URL. It's useful for campaign tracking: a newsletter can use `yoursite.com/go/hosting?utm_source=newsletter`, and the visitor arrives at `https://example.com/hosting?ref=you&utm_source=newsletter`.

Parameters the URL already has are never replaced, so a visitor can't swap your affiliate ID by adding `?ref=someone-else` to the short link.

### Rotate between several URLs (split testing)

Send the visitors of one short link to several URLs, to compare two offers or share traffic between shops.

1. Turn on **Rotate between several URLs**.
2. URL 1 is the link's URL. Enter URL 2, and click **Add a URL** for more (up to 10).
3. Give each URL a **Weight**. The share of visits each one gets is shown next to it: weights 60 and 40 send 60% and 40% of the visits.
4. Click **Update**.

Each visit picks a URL at random by weight. The link's [stats](/knowledgebase/affiliate-butler-statistics/) then show **Clicks per URL**, so you can see how each one does, and the click export has a `target` column with the URL of each click.

Turning the rotation off keeps URL 1 as the link's URL.

### QR code

Every saved link with a short link has a **QR code** box in the right column of the editor. Click **Download PNG** to save it for flyers, packaging or slides.

The code contains the short link, so scans are counted in the stats like any other click, and printed codes keep working when you change the URL or turn on the rotation. If you change the slug, download the code again: the old one points to the old slug.
