Website rebuilds and migrations

What is a 301 redirect, and why does it matter when changing websites?

The short answer

A 301 redirect is a permanent instruction that sends anyone who visits an old web address, including Google, to a new one. When you change websites or page addresses, 301 redirects are the main way Google carries your existing rankings across to the new pages.

What a 301 Redirect Actually Does

Every page on your website has an address, such as yourbusiness.co.nz/services/heat-pumps. Over time, that address builds up rankings, links from other websites and bookmarks from customers. If the page moves to a new address and the old one shows a "page not found" error, all of that is cut off.

A 301 redirect fixes this. When someone visits the old address, the server sends them straight to the new one, and tells Google the move is permanent. Google's guidance treats a permanent redirect as a strong signal that the new address should replace the old one in its results.

Why Redirects Matter So Much When Changing Websites

Website rebuilds often change page addresses, even when nobody intends them to. A new platform may use a different structure, a designer may rename pages, or two services may be merged into one page. Without redirects, Google finds errors where your ranking pages used to be.

This is one of the most common reasons businesses lose rankings after a new website. A builder whose "new-homes" page ranked well can lose that position if the new site calls it "residential-builds" and nobody redirects the old address. See will a new website lose my Google rankings?

How to Redirect Pages Properly

  • Redirect each old page to the closest matching new page, not everything to the home page. Google tends to treat mass redirects to the home page as if the old pages had simply disappeared.
  • Redirect directly, from old address to final address, rather than through a chain of several redirects.
  • Use 301 or 308 redirects for permanent moves. Temporary 302 redirects are meant for short-term changes.
  • Keep the redirects in place for the long term. Google recommends keeping them for as long as possible, generally at least a year.
  • Update your own internal links, sitemap and Google Business Profile to point to the new addresses directly.

Shopify and Squarespace have built-in redirect settings, and WordPress sites can add redirects with a plugin, so most businesses can set them up without touching code.

When a Redirect Is Not the Right Answer

If a page is removed and there is no relevant replacement, it is usually better to let it return a "not found" error than to redirect it somewhere unrelated. That decision is covered in will removing old pages hurt my rankings?

For a full domain change, redirects are only part of the job. See will changing my domain name hurt my SEO?

Related questions

More questions about website rebuilds and migrations

Next questionWill changing my domain name hurt my SEO?

Get a free Google Maps and ChatGPT audit for your business

See how your business compares with your competitors on Google Maps across your area, and whether ChatGPT recommends you or someone else.

Request my free audit