How to Do a 301 Redirect

To do a 301 redirect, list every address on your charity or nonprofit website that is about to change, decide the new address for each, add each pair as a permanent rule wherever your site keeps its redirects, publish, then visit each old URL to confirm it lands on the right page.

A rule holds three things: the old path, the new path and the status code. In a _redirects file, one example of the format, it reads:

/about-us/our-team /team 301

Why a Charity Needs Redirects When It Launches a New Site

A new website almost always changes the URL structure, and every URL that moves without a redirect becomes a broken link.

For visitors. Anyone following an old link from a grant application, a funder's website or a newsletter lands on a 404 page. For a grant officer checking your registration details, or a funder reviewing a renewal, that is a credibility failure.

For search rankings. The search authority the old URL built up is lost, along with the value of links other sites point at it.

A 301 solves both: it says this page has moved permanently, and search engines update the original URL to match.

301 vs 302 Redirects

Both send a visitor to the new page. They tell search engines different things.

301 302
Meaning Moved permanently Moved temporarily
Google shows in results The new address The old address
Use it for A relaunch, a renamed page, a new domain A page that is unavailable for now

The search row comes from Google's redirect documentation, which treats a 308 like a 301 and a 307 like a 302.

Some tools produce a 302 unless told otherwise. A _redirects line on Cloudflare Pages with no code is a 302. Visitors still reach the right page, so nothing looks wrong until someone checks the code.

301 Redirects and SEO

Google documents that permanent redirects do not cause a loss in PageRank and asks you to keep them for at least a year. The same guidance names two habits to avoid:

  • Sending everything to the homepage. Many old URLs pointing at one unrelated page can be treated as a soft 404. Old pages merged into one new page may redirect to it.
  • Chaining redirects. Point each old URL straight at its final destination.

Build the Redirect Map First

Before any design or development begins, crawl the existing site with Screaming Frog and export every URL as a spreadsheet, filtered to HTML pages. The free version crawls up to 500 URLs.

Sort the list into three: pages recreated at new URLs (a direct 301), pages being retired (redirect to the most relevant equivalent), and pages staying at identical URLs (nothing needed).

Old URL and new URL, as two columns, is your redirect map, the source of truth for setup and testing.

Where the Rules Live

How you set up a 301 redirect depends on how the site is built. The rules commonly live in:

  • A redirect manager in the website platform, where you enter pairs or import a file
  • A _redirects file deployed with the site's code
  • The web server's configuration, which your developer or host edits

If you do not know which, ask whoever holds full control of the site. Take the exact steps from your platform's or host's documentation, and check four things:

  • Status code. Each rule is set to 301.
  • Folders. Whether one pattern rule can move a whole folder.
  • Order. Where rules run in sequence, a specific redirect goes before a wildcard that would catch it.
  • Bulk import. Whether an import adds to the existing rules or replaces them. If you cannot tell, export them first and add your rows to that file.

301 Redirect to a New Domain

If the domain itself is changing, the redirects can only run while the old domain is registered and pointing at something that serves them. Google asks you to submit a Change of Address in Search Console for the old site as well.

Test Redirects Straight After Launch

A rule does nothing until it is live on whatever answers for the old address, so test immediately after launch, before announcing the new site.

Visit each old URL in a private window, because your browser may be holding an earlier answer. For larger migrations, crawl the list in Screaming Frog and check the response codes.

Test by hand every time: homepage, donation page, contact page, any page named in a current grant application, and any page with significant organic traffic.

After Launch: Monitoring for 404 Errors

Some 404s will appear even so. Monitor them in Google Search Console under Pages → Not Found (404) in the weeks after launch, and add redirects for any legitimate old URLs.

On Webflow? The platform-specific steps are in Platform Notes.

Next Step

Next, work through the rest of the launch: How to Prepare Your Nonprofit Website to Go Live.

Related resources: