Skip to content

An affiliate site rarely lives on one domain. There are language versions, old domains that still get links, backup domains kept ready in case the main one is blocked, and sites that move to a new name. Each of these needs a redirect, and a careless redirect costs visits and search traffic. This guide covers the rules that hold for any tool, then shows how they look in 301.st, our own service.

301 or 302

A 301 says the page has moved for good. For search engines it is a strong signal to treat the new address as the main one and, over time, show it instead of the old one. Use it for a new domain, a merged site or an address that will not come back.

A 302 says the move is temporary, so search engines tend to keep the old address. Use it for maintenance or a short campaign, and remove it when the reason is gone. If the move is really permanent, change it to a 301, so the signal matches what happened.

One hop, not a chain

Every old address should point straight at its final page. A chain such as old domain → www → https → new domain → new page makes the visitor wait for each hop, and each hop is one more place where a rule can be wrong. Loops are worse: two rules that send traffic to each other leave the visitor with an error.

When you merge domains, send each old page to the matching new page, not everything to the home page.

Answer at the edge

On Cloudflare a redirect rule answers the request on Cloudflare’s side, before it reaches the site’s own server. A domain that only redirects needs no hosting at all, but its DNS record must be proxied through Cloudflare: without the proxy, the rule never runs. On the free plan Cloudflare allows 10 such rules per zone (checked 18.11.2026), which is enough for most single domains.

yesno

A visitor opens
the old address

Rule in
Cloudflare?

301 straight to
the final page

The request goes
to the site's server

The new page,
no chain

A redirect on Cloudflare: answered before the site's server, in one hop

Check in the browser, not only from the command line

A command line request shows the server’s redirects, but not the ones a page makes with a script or a meta refresh. After every change, open the old addresses in a browser and look at the whole path. Our browser extension Redirect Inspector shows each hop with its status code, flags loops and long chains, and copies a report.

A short review of 301.st

301.st is our service for managing domains and redirects on your own Cloudflare account. Traffic runs on your account; it does not pass through 301.st servers.

  • Connection. You create a one time token in Cloudflare with two permissions (account settings: read, API tokens: edit). 301.st uses it to create its own working token, and then the one time token is deleted. No change of nameservers or DNS migration is needed.
  • Redirects. Ready templates cover the usual cases: a whole domain, apex to www or back, a path prefix, one exact address, and maintenance as a 302. A new rule waits as pending until you sync it, and then it becomes a Cloudflare redirect rule on that domain’s zone.
  • Domain roles. Each domain is a primary (where traffic lands), a source (redirects to the primary) or a backup that stands by to replace the primary if it gets blocked. The documentation does not promise that the replacement happens automatically.
  • Traffic routing. For campaigns, 301.st can place a routing Worker in your account that sends visitors by country, device or campaign parameters. Country lists for such rules can be built with Geo Tier Builder, also our browser extension.

The service is made for a portfolio of domains on Cloudflare. For one or two domains, the Cloudflare dashboard is enough. The documentation is in English; the site itself has a Serbian version.

Redirect Inspector, Geo Tier Builder and our other extensions for working with domains are on the Tools page.

Frequently asked questions

301 or 302: which one do I need?

301 for a permanent move: a new domain, a merged site, an old address that will not come back. 302 for a temporary one, such as maintenance: search engines then tend to keep the old address.

Why does a redirect chain matter?

Every extra hop adds a round trip for the visitor and one more place where something can break. Point every old address straight at its final page.

Do I need a server for a domain that only redirects?

No. On Cloudflare a redirect rule answers the request itself. The domain's DNS record must be proxied through Cloudflare, otherwise the rule never runs.

What does 301.st cost?

The current plans and limits are on its pricing page. It is our service, and it works on your own Cloudflare account.