Extension · Links

Short Links

Branded short links on your own domain — yoursite.com/deal sends visitors anywhere, and every click is counted.

Live demo

See it in action

These are real short links on this demo site. Each one is the [[short_link]] shortcode, and following it goes through the redirect — try one, then look at the address it started from.

/demos/sl-docs[short_link slug="sl-docs" target="_blank"]307 redirect
/demos/sl-github[short_link slug="sl-github" target="_blank"]302 redirect
/demos/sl-download[short_link slug="sl-download" target="_blank"]307 redirect
/demos/sl-api[short_link slug="sl-api" target="_blank"]307 redirect · forwards query parameters

In the admin

Make one in ten seconds

  1. Go to Unyson+ → Short Links → Add New (or + New → Short Link in the admin bar).
  2. Paste the destination. Type a slug, or press Generate.
  3. Copy the short link, or insert it with [[short_link]]. Clicks, unique visitors and where they came from show up under Reports.

The markup

Clean, lean code

The shortcode prints a normal link to the short address, with rel set from the link's nofollow / sponsored settings.

[short_link slug="sl-docs"]
[short_link slug="sl-github" text="Star it on GitHub" class="button" target="_blank"]

<!-- renders as -->
<a href="https://yoursite.com/sl-github" class="short-link button" target="_blank" rel="nofollow noopener">Star it on GitHub</a>

Other apps create and measure links through the REST API, with their own API keys:

curl -H "Authorization: Bearer fwsl_…" \
     -H "Content-Type: application/json" \
     -d '{"target_url":"https://example.com/spring","slug":"spring"}' \
     https://yoursite.com/wp-json/fw-short-links/v1/links

To learn more, check out the Short Links documentation here.