N Docs
← Back to site

301 or 302 redirects

2 min readUpdated November 23, 2026

Every redirect tells the browser what kind of move it is. Nahnu Links supports the two that matter for links: 301 and 302. Set it under Basic link editing > Redirect type.

Which to choose#

TypeUse it whenExample
301 Permanent (the default)The link will always go to the same place.A link to your product page in your email signature.
302 TemporaryThe destination will change.go.yourbrand.com/offer pointing at this month’s offer.

If you’re not sure, keep 301.

What the difference means#

  • Search engines. With a 301, search engines treat the destination as the real address and pass any value from the short link to it. With a 302, they treat the move as temporary.
  • Browsers. Normally browsers remember a 301 and skip the short link next time. Nahnu Links tells browsers not to keep either kind, so every click still reaches your edge script.

That second point means, whichever you pick:

  • Every click is counted, including repeat visits from the same browser.
  • When you change the destination, everyone gets the new one straight away, even people who clicked before.
  • Routing rules, A/B tests, scheduling and click limits keep working on every click.

When a redirect isn’t a plain redirect#

Some link options answer with a page instead of a 301 or 302. The redirect type doesn’t apply to these:

OptionWhat visitors get
Password protectionA password page, then a redirect.
Link cloakingA page that shows the destination inside a frame.
Retargeting pixelsA brief page that fires the pixels, then moves on.
Deep links on phonesA page that opens the app.
Social previewsLink-preview bots get a preview page. People get the normal redirect.

Open each link and change Redirect type, then Save changes. Links made over the API can set redirect_type to 301 or 302. See Links.