N Docs
← Back to site

Move from a WordPress link pluginNew

5 min readUpdated November 24, 2026

Link plugins like Pretty Links, ThirstyAffiliates, BetterLinks and Lasso keep their links on your main site, like yoursite.com/go/spring or yoursite.com/spring. Those addresses are already in emails, videos, social posts and printed flyers. When you move to Nahnu Links, you can keep every one of them working: each old address forwards to its new short link, and the click is counted like any other.

flowchart LR
  A[Visitor opens<br/>yoursite.com/go/spring] --> W[Your WordPress site<br/>301 redirect]
  W --> S[go.yourbrand.com/spring<br/>Bunny edge script]
  S --> D[Destination]

Before you start#

  • Add the short domain you want the links on. See Add a short domain.
  • Export your links from the old plugin as CSV. Most link plugins have an export under their tools or settings page.
  • Keep the old plugin active until the import is done, so nothing breaks in between.
  1. Click New link, then Many links.
  2. Click Choose file or drop in the CSV from your old plugin.
  3. Choose the Domain the new links go on.
  4. Look at Keep the old addresses on yoursite.com working.
    • If the file has full old addresses (like https://yoursite.com/go/spring), the box is ticked for you and each row shows was yoursite.com/go/spring.
    • If the file only has endings (like spring), tick the box yourself and fill in what the old addresses looked like. Type go for yoursite.com/go/spring, recommends for yoursite.com/recommends/spring, or leave it empty for addresses at the root, like yoursite.com/spring.
  5. Check the list, then click Create links.
  6. Deactivate the old link plugin. While it’s active, it may still answer its own addresses.
  7. Open one old address in a private window. It should land on the destination, and the click shows up in your analytics.

When it’s done, you see how many old addresses now forward, with a link to the list. The downloaded CSV has an old_address column, so you have a record of what went where.

What the file can look like#

The columns are found by their names, so exports from most plugins work as they are.

WhatColumn names that are understood
Destinationurl, destination, destination url, target url, redirect url, link, href
Endingslug, link slug, ending, alias, key, path, short code
Titletitle, name, label, link title, link name
Old addressshort url, cloaked url, pretty url, permalink, old url, old address

For example, a file with full old addresses:

Link Name,Destination URL,Cloaked URL
Spring sale,https://shop.example/spring,https://yoursite.com/recommends/spring
Summer sale,https://shop.example/summer,https://yoursite.com/recommends/summer

And a file with endings only, where you type the prefix in step 4:

name,url,slug
Spring sale,https://shop.example/spring,spring
Summer sale,https://shop.example/summer,summer

How the new ending is chosen#

  • A row with its own ending keeps it, so yoursite.com/go/spring becomes go.yourbrand.com/spring.
  • A row with only an old address takes the ending from it: the part after the prefix. yoursite.com/go/spring gives spring, and yoursite.com/go/deals/spring gives deals-spring.
  • Old addresses on another site (say the plugin ran on an old domain) still give the new ending, but aren’t forwarded: only addresses on this WordPress site can be.

How forwarding works#

  • Each old address answers with a permanent (301) redirect to its short link, and passes the query string on, so ?utm_source=newsletter still reaches your analytics.
  • Addresses under a prefix (like /go/spring) are answered as soon as WordPress starts, before it loads your theme or runs a query. It’s fast and costs your server almost nothing.
  • Addresses at the root (like /spring) are only answered when WordPress has no page, post or anything else there. Your own content always wins.
  • Old addresses are matched without caring about capitals or a slash at the end: /Go/Spring/ works too.
  • WordPress’s own addresses (/wp-admin, /wp-json, feeds, sitemaps) are never taken over.
  • If you change a link’s domain or ending, its old addresses follow it. If you delete a link, its old addresses go too, and show your site’s normal “not found” page again.

Manage old addresses#

Settings > General > Old link addresses lists every old address and the short link it forwards to.

  • Forward old addresses: turn all forwarding off and on again, without losing the list.
  • Remove: tick old addresses and click Save changes.
  • Add one: type an old address on this site (like /go/spring) and the short link it should go to, then Save changes. Useful for one-off addresses, or links you made by hand.

A link’s editor also shows Old addresses that forward here, with a link to the list.

Faster: one rule on your server#

When every old address under a prefix ends the same as its new short link on one domain, the settings show ready-made rules under Faster: forward a whole prefix on your server, without WordPress: for Apache (.htaccess), nginx and Cloudflare. A rule answers before WordPress starts, so it’s even faster, and keeps working if you ever remove the plugin.

# Nahnu Links: old /go/ links
RewriteEngine On
RewriteRule ^go/([A-Za-z0-9_-]+)/?$ https://go.yourbrand.com/$1 [R=301,L,QSA,NC]

Put an Apache rule above the # BEGIN WordPress block. The rules are optional: forwarding works without them.

Warning

A server rule sends every address under that prefix to your short domain, including ones that were never links. Only use it for a prefix that was used just for links.

Good to know#

  • Up to 20,000 old addresses can be kept.
  • Old addresses are kept in your WordPress database, not on Bunny. If your site is down, old addresses stop working, but the short links themselves keep working.
  • Browsers remember permanent redirects. If you change where an old address goes, someone who already followed it may need to clear their browser cache.
  • For links on client sites, the Nahnu Links Client plugin does the same on each site.