Products SEO & GEO Agent Paid Ads Agent Website Agent Conversion Agent
How it works Pricing FAQ Blog Book a call

301 redirect: what it is and when to use one

Updated · 7 min read

Short answer A 301 redirect tells browsers and Google a page now lives at a new address for good, so anyone using the old address lands on the new one. Use it when you rename a page, merge pages, or change domains. Google says permanent redirects don't lose PageRank. For a short-term detour, use a 302 instead.

Want help applying this to your business? Talk it through on a free 30-minute call.

Book a call

What is a 301 redirect?

It's a forwarding order for one web address. When a browser or Google asks for the old address, your server answers with the code 301 ("moved permanently") and the new address, and the visitor lands there without noticing. Google's redirect guide describes what follows: permanent redirects "show the new redirect target in search results" (Google Search Central: Redirects and Google Search). The old address drops out of Google over time, and the new one takes its place.

The number is an HTTP status code: a three-digit reply a server sends with every page. 200 means "here it is", 404 means "not found", and the 300s mean "look somewhere else".

CodeMeaningWhat Google shows in results
301Moved permanentlyThe new page
308Moved permanently (stricter version)The new page
302Found, temporaryUsually the old page
307Temporary redirectUsually the old page

Google's crawler documentation says it treats 308 the same as 301, and 307 the same as 302 (Google: How HTTP status codes affect Google's crawlers). The only difference with 308 is technical: it forbids the browser from turning a form submission into a plain page request on the way, which a 301 may do (MDN Web Docs: 308 Permanent Redirect). For ordinary pages, 301 is the default.

301 vs 302: which one do you need?

Ask one question: will the old address ever come back? If not, use a 301. If yes, use a 302.

"Use permanent redirects when you're sure that the redirect won't be reverted." (Google Search Central: Redirects and Google Search)

Google calls a 301 a "strong signal" that the new page should replace the old one, and a 302 a "weak signal" (Google: How HTTP status codes affect Google's crawlers). So a 302 left in place for a permanent move can keep the old address in search results longer than you want. Google still might index the new page if other signals point to it, but you're leaving the choice to Google.

A 302 fits a real detour. Google's own example: a service you offer is temporarily unavailable, so you send visitors to a page that explains why, "without compromising the original URL in search results" (Google Search Central: Redirects and Google Search). Seasonal closures, a page under repair and split tests of a new design are the same kind of case.

When to use a 301 redirect

Any time a page address that people or Google already know stops being the real one.

SituationRedirect fromRedirect to
You renamed a page (`/services.html` became `/drain-cleaning/`)Old addressNew address
You merged three thin pages into one strong oneEach old pageThe merged page
You dropped a service but offer something closeThe old service pageThe closest service page
You changed your domain or business nameEvery old pageIts match on the new domain
Your site loads at several addresses (with and without www, http and https)The versions you don't useThe one version you chose
Another site links to a misspelled address on your siteThe misspelled addressThe right page

Google lists most of these: moving to a new domain, a home page reachable at several addresses, merging two sites, and removing a page you want to send users onward from (Google Search Central: Redirects and Google Search).

When not to use one

Don't point many dead pages at your home page. Google warns:

"Don't redirect many old URLs to one irrelevant single URL destination, such as the home page of the new site. This can confuse users and might be treated as a soft 404 error." (Google Search Central: Site moves with URL changes)

A soft 404 means Google treats the page as missing even though it technically loaded, so the redirect does nothing for you. If nothing on your site replaces the old page, an honest "not found" page with links to your main services is better than a misleading jump.

Also skip the 301 for anything you plan to bring back, and for short tests. That's what a 302 is for.

Does a 301 redirect hurt SEO?

No, not when it points to the right page. Google says it plainly:

"Don't worry about link credit. 301 and other permanent redirects don't cause a loss in PageRank." (Google Search Central: Site moves with URL changes)

PageRank is the value Google gives a page from links pointing to it. So the links other sites gave your old page keep counting for the new one. Three things can still cost you:

  • Chains. Old page sends to a newer page, which sends to the newest one. Google's crawler follows up to 10 hops, but Google advises "redirecting to the final destination directly", ideally no more than 3 hops (Google Search Central: Site moves with URL changes). Each hop also slows the visitor down.
  • Removing redirects too soon. Google says to keep them "generally at least 1 year" so it can move all signals, and to consider keeping them forever for people with old links or bookmarks (same page).
  • Leaving your own links on the old address. Google notes that "redirects are slow for users" and asks you to update your own links (same page). Fix your menus, buttons and Google Business Profile website link to point straight at the new address.

One more quirk: browsers remember a 301. Shopify's help center warns that if you remove one after customers used it, it "might continue to work in their browsers until the cache expires" (Shopify Help Center: Creating and managing URL redirects). Another reason to be sure a move is permanent before you use one.

How to set up a 301 redirect

Use the tool your website platform already has. Google suggests checking it first, since platforms like Shopify "may already have built-in redirect solutions" (Google Search Central: Redirects and Google Search).

Your site runs onWhere to set it
ShopifyAdmin → Content → Menus → View URL Redirects → Create URL redirect. They "start working immediately" (Shopify Help Center)
SquarespaceURL mappings panel, one line per page: `/old-url -> /new-url 301`. Redirects work only once the old page is deleted or disabled (Squarespace Help Center: URL mappings)
WordPress, Wix, othersThe platform's redirect setting or a redirect plugin; check its help center
Your own serverApache: a rule in the `.htaccess` file. NGINX: `return 301` in the site's configuration. Both are shown on Google's redirect guide

Server-side redirects are the ones Google reads most reliably. If your platform can't do them, Google ranks a 0-second meta refresh next, then a JavaScript redirect, which Google "might never see" if the page fails to render (Google Search Central: Redirects and Google Search).

To check one works, type the old address into a browser. You should land on the new page. A free online redirect checker will also show the code, so you can confirm it says 301 and not 302, and that there's only one hop.

Example

Illustrative cases with invented numbers.

A plumber renames service pages

A new site changes `/drain.html` to `/drain-cleaning/` and 11 other addresses the same way. The owner lists all 12 old addresses next to their new ones and adds 12 301s on launch day. Old links from a local directory and a newspaper article still land on the right page.

A salon drops a service

The salon stops offering eyelash extensions. That page has 3 links from local blogs. It now redirects to the brow and lash page, the closest match, not to the home page.

A contractor runs a winter promotion

From December to February, the furnace tune-up page sends visitors to a promotion page priced at $89. That's a 302: in March the redirect comes off and the original page keeps its place in search results.

FAQ

How long does it take Google to show the new page?

There's no fixed time. Google has to recrawl the old address and see the redirect, which happens sooner for pages Google visits often and later for ones it rarely visits. Old addresses can appear occasionally even after the new one is indexed; Google says this fades on its own.

Can I remove a 301 redirect later?

You can, but keep it at least a year, which is Google's guidance for site moves. Browsers that saw the 301 may keep forwarding visitors until their cache expires.

Do I need a 301 if I only changed a page's title?

No. The address stayed the same, so nothing needs forwarding. Redirects are only for address changes.

Different for you?

Keep learning

Next301 Redirects and SEO: What You Lose Without ThemChange a page address with no 301 redirect and Google drops the old page, its links stop counting and visitors hit a 404. What a 301 keeps and how to add one.

Do it yourself

Crawlability checklist: make every page reachable by GoogleA crawlability checklist for a small business site: find orphan pages, robots.txt blocks, broken links, redirect chains and server errors, with free tools.

Ask us one question

One line is enough. We reply by email.

Sources

  1. Google Search Central: Redirects and Google Search
  2. Google Search Central: Site moves with URL changes
  3. Google Crawling Infrastructure: How HTTP status codes affect Google's crawlers
  4. MDN Web Docs: 301 Moved Permanently
  5. MDN Web Docs: 308 Permanent Redirect
  6. Shopify Help Center: Creating and managing URL redirects
  7. Squarespace Help Center: URL mappings