301 redirect: moving a page without losing it
A 301 redirect is an HTTP response that tells browsers and search engines a page has moved permanently to a new URL, so visitors land on the new address and search engines transfer the old URL’s signals to it.
Why 301 redirects matter
Every redesign, platform switch or URL clean-up changes addresses. Without 301s, links from customers, partners, review sites and old newsletters hit a 404, and the rankings those pages earned over years start to fade. For a SaaS company, the pages at risk are usually the ones that sell: pricing, integrations, comparison pages and docs.
Redirects are also the cheapest insurance in a migration. Google’s own guidance treats a server-side permanent redirect as a strong signal that the new URL should replace the old one in its index, and recommends keeping redirects in place for at least a year. A missing redirect costs nothing to add before launch and a lot to diagnose after.
How we handle it
We build a redirect map before we design anything: every indexed URL from the current site, Search Console and backlink data, each mapped to its closest new page. Pages with no equivalent go to the nearest parent, not to the homepage. The map lives in the repository or CMS settings, not in someone’s spreadsheet, so it ships with the site.
Before launch a script requests every old URL and checks that it returns one 301 hop to a live 200 page, with no chains or loops. It is part of our SEO and AEO work and every website migration we run, including our platform migrations. The map also sets a canonical URL for every page that stays. In the Ship step of our process agents run the checks and a person signs off the map before the switch.
Related service: SEO & AEO · How we work
301 redirect in practice
Say a B2B SaaS team moves from /product/integrations/hubspot on WordPress to /integrations/hubspot/ on a new site. The redirect rule sends the old path to the new one with status 301. A crawler that requests the old URL gets 301 Moved Permanently plus a Location header, follows it once and indexes the new page. Internal links are also updated to point straight at the new URL, so the redirect only serves outside links and bookmarks.
Common mistakes
- Redirecting everything to the homepage. Google can treat mass homepage redirects as soft 404s. Map each URL to its closest real equivalent.
- Leaving redirect chains. Old A to B to C wastes crawl budget and adds latency. Point every old URL straight at its final destination.
- Using a 302 for a permanent move. A 302 says “temporary”. Use 301 (or 308 when the request method must be kept) for anything that is not coming back.
- Removing redirects after a few months. Links and bookmarks live for years. Keep redirects at least a year, ideally for good.
When to use a 301 redirect
Use a 301 whenever an address changes for good. A typical one: /product/integrations/hubspot → /integrations/hubspot/.
A URL changes
A page gets a shorter or clearer path in a redesign. The old path sends visitors and search engines to the new one.
A domain moves
A rebrand or a merger moves the site to a new domain. Every old URL redirects to its match on the new domain.
HTTP to HTTPS
The insecure address redirects to the secure one, so only one version of each page is indexed.
Duplicate pages merge
Two thin pages on the same topic become one. The page that goes redirects to the page that stays.
301 vs 302 vs 308 redirects
A 301 is permanent, a 302 is temporary, and a 308 is permanent while keeping the request method.
| Code | Permanent? | Keeps the request method? | Use it for |
|---|---|---|---|
| 301 Moved Permanently | Yes | No, a POST may become a GET | Pages that moved for good: the normal choice for websites |
| 302 Found | No | No, a POST may become a GET | A short detour, such as a maintenance page, when the old URL comes back |
| 308 Permanent Redirect | Yes | Yes | Permanent moves of forms or API endpoints that must repeat the same request |
Questions about 301 redirect
What is a 301 redirect?
Do 301 redirects lose rankings?
How long do 301 redirects take to work?
What is the difference between a 301 and a 302 redirect?
What is the difference between a 301 and a 308 redirect?
How long should you keep a 301 redirect?
Thomas OldenburgerFounder, design and build leadStill deciding? A 30-minute call answers most of it.
Related terms
Website migration
A website migration is a significant change to a site’s platform, domain, URL structure or architecture, such as moving from WordPress to Webflow, that has to be planned so content, rankings and integrations survive the move.
Definition SEO and AEOCanonical URL
A canonical URL is the single preferred address for a page that can be reached through several URLs, declared with a rel=canonical link so search engines index and rank that version instead of the duplicates.
Definition SEO and AEOTechnical SEO
Technical SEO is the work of making a website easy for search engines and AI crawlers to crawl, render, understand and index, covering status codes, redirects, canonicals, sitemaps, robots rules, structured data, internal links and page speed.
Definition