301 Redirect: 7 Proven Fixes for Costly Ranking Loss (2026)

Blue road direction sign with white arrows pointing in three directions, a visual metaphor for a 301 redirect
Jump to
  1. What is a 301 redirect?
  2. 301 vs 302 redirect: which one should you use?
  3. When should you use a 301 redirect?
  4. How to do a 301 redirect in 7 steps
  5. 301 redirect examples you can copy
  6. 301 redirect checker: test every redirect before you ship
  7. 7 redirect mistakes that cost rankings
  8. How long does a 301 redirect take to work?
  9. Frequently Asked Questions about 301 redirects
  10. The bottom line

Last year a client redesigned their site. The new design looked great. Traffic fell by half in two weeks. The cause was simple. Nobody had set up redirects. Every old URL returned a 404. Years of rankings vanished overnight. A 301 redirect would have prevented all of it. It takes minutes to set up. It saves months of recovery work. This guide shows you how to use one the right way.

A 301 redirect is a permanent redirect that sends visitors and search engines from an old URL to a new one. It tells Google the page has moved for good, so the new URL takes the old URL’s place in search results. Most of the old page’s ranking power moves with it.

What is a 301 redirect?

Every time a browser asks a server for a page, the server answers with a status code. A 200 means the page is there. A 404 means it is gone. A 301 means the page has moved for good, and here is the new address. The browser follows it at once. The visitor never sees an error page.

Google reads the same signal. A 301 redirect tells Google the old URL is retired and the new URL is the one to rank. Google then moves most of the old page’s ranking signals to the new URL. That is why the 301 redirect is the safe choice for any permanent move. The old URL can still appear in results for a while. That is normal. Google keeps it as an alternate name until users get used to the new address.

The number 301 is just the HTTP status code for “moved permanently”. You will also see it called a permanent redirect. Both terms mean the same thing. The short name is easier to say in meetings. The code is what your server actually sends.

People also ask what a 301 is when they see it in a crawl report. It is the same thing. A crawler found a URL that points to a new location for good. One 301 in a report is not a problem. Hundreds of them may mean your internal links need work. I cover that in the mistakes section below.

Google’s own guide to redirects lists server-side redirects as the most reliable method, and it recommends a permanent server-side redirect whenever a page’s URL changes in search results. You can read it in Google Search Central’s guide to redirects.

301 vs 302 redirect: which one should you use?

A 301 redirect means permanent. A 302 redirect means temporary. That one word changes how Google treats the move. With a 301, Google passes the old URL’s ranking signals to the new URL and shows the new URL in results. With a 302, Google keeps the old URL in results because it expects the move to end.

Redirect Meaning How Google treats it Use it when
301 Moved permanently Permanent, the new URL ranks The page moved for good
308 Moved permanently Permanent, the new URL ranks The page moved for good and the request method must stay the same
302 Found (temporary) Temporary, the old URL stays in results A short test, maintenance, or an A/B test
307 Temporary redirect Temporary, the old URL stays in results A temporary move that must keep the request method

Two more types exist. A 308 is a permanent redirect, like a 301, but it keeps the request method. A 307 is a temporary redirect that also keeps the request method. Most sites never need them. A 301 covers almost every permanent move. A 302 covers almost every temporary one.

Google confirmed back in 2016 that 301 redirects pass full ranking signals to the new URL. That ended years of debate about lost PageRank. The key word is permanent. A 302 used for a permanent move can cost you rankings. Google may keep ranking the old URL for months while the new one waits.

Pick the 301 when the old URL will never come back. Pick the 302 when the change has an end date. A sale page that returns next month gets a 302. A service page with a new URL gets a 301. When you are unsure, ask one question. Will this URL ever return? If the answer is no, use a 301 redirect.

When should you use a 301 redirect?

A 301 redirect fits any move that is final. Here are the six cases I see most often in client work.

  • You change a page URL during a redesign or a content rewrite.
  • You move the whole site to a new domain.
  • You merge two pages into one stronger page.
  • You delete a page that has links or traffic, and a close replacement exists.
  • You move the site from HTTP to HTTPS, or from www to non-www.
  • You fix a trailing slash or case problem that created duplicate URLs.

Each case has the same goal. Send every visitor and every search engine to the right page. A missing redirect breaks that chain. Links point at dead pages. Bookmarks fail. Google drops the page from results. The fix costs minutes when you plan it. It costs months when you fix it after launch.

One rule covers all six cases. Redirect to the closest matching page, not to the homepage. A visitor who clicked a link about pricing wants the new pricing page. The homepage feels like a dead end. Google agrees. A redirect to an unrelated page passes far less value than a redirect to a close match. A full site audit finds these moves early, and my technical SEO audit checklist shows how I catch them before launch.

How to do a 301 redirect in 7 steps

Follow these seven steps in order. They work for a single page or a full site move.

  1. List every URL that changes. Crawl the site before you touch anything. Export the full URL list from Screaming Frog or Search Console. Include pages, posts, PDFs, and images that get traffic. This list becomes your redirect map.
  2. Pick the new URL for each old one. Match each old page to its closest new page. Two old pages can point at one new page. Never point a batch of old pages at the homepage. A close match keeps the ranking value. A homepage redirect wastes it.
  3. Choose your method. WordPress sites use a plugin. Apache servers use .htaccess. NGINX servers use the server config. Shopify has a built-in redirect tool. Pick the method your host supports. One method is enough.
  4. Set up the redirects. Add one rule per old URL. Test each rule as you add it. Keep the rules in one place so the next person can find them. The sections below show the code for each method.
  5. Update your internal links. Change every internal link to point at the new URL. A redirect only catches the links you missed. Internal links that still point at old URLs create chains. My guide to internal linking shows a simple way to find and fix them.
  6. Test every redirect. Open each old URL and check where it lands. Use a 301 redirect checker for the full list. Fix any chain or loop before launch. I show the tools below.
  7. Watch Search Console for 30 days. Submit the new URLs. Check the Pages report for errors. Keep the redirects live for at least a year. Google needs time to move the signals. Removing a redirect too soon drops the new page. Put the 30-day check into your monthly SEO reporting, so a redirect that lost traffic shows up next to the pages that gained it.

301 redirect WordPress: the plugin route

WordPress has no built-in redirect tool. The free Redirection plugin fills that gap. Install it from the plugin directory. Open Tools, then Redirection. Add the old URL in the source box and the new URL in the target box. Save it and test the old URL at once. The plugin logs every hit, so you can see which redirects still get traffic. For a handful of redirects, a plugin is the fastest route. For hundreds of rules, .htaccess is cleaner. If your site runs on WordPress and you have not touched redirects before, my WordPress SEO guide covers the setup that pairs well with this.

Apache .htaccess

On Apache hosting, add rules to the .htaccess file in your site root. Back the file up first. One typo can take the whole site down. A single page move looks like this:

Redirect 301 /old-page /new-page

For a full domain move, use one rule that catches every URL:

RewriteEngine On
RewriteRule ^(.*)$ https://www.newdomain.com/$1 [R=301,L]

Test after every change. A 500 error means the syntax broke. Restore the backup and try again.

NGINX

NGINX uses return rules in the server block. A single page looks like this:

location = /old-page {
    return 301 https://example.com/new-page;
}

A full domain move uses one rewrite rule. Reload the NGINX config after the change, then test the old URLs the same day.

Shopify and other builders

Shopify has a redirect tool under Online Store, then Navigation, then URL Redirects. Add the old path and the new path. Shopify creates the redirect for you. Wix and Squarespace have similar tools in their settings. The steps differ, but the rule is the same. One old URL, one new URL, tested the same day.

301 redirect examples you can copy

Here are four 301 redirect examples from real site work. Change the URLs to match your site.

Colorful programming code on a computer screen showing a 301 redirect rule

A service page gets a new URL. The page /services/seo-audit becomes /seo-audit-services. One rule moves it:

Redirect 301 /services/seo-audit /seo-audit-services

A blog moves to a new folder. One pattern rule moves every post at once. The (.*) part carries the post slug across:

RedirectMatch 301 ^/blog/(.*)$ /articles/$1

A site moves from HTTP to HTTPS. This rule catches every page and keeps the path:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

A whole domain moves. One rule sends every old URL to the same path on the new domain:

RewriteEngine On
RewriteRule ^(.*)$ https://www.newdomain.com/$1 [R=301,L]

Keep a copy of your redirect map in a spreadsheet. Two columns are enough. Old URL in the first column, new URL in the second. Share it with anyone who works on the site. A map stops the next redesign from repeating the same mistakes.

301 redirect checker: test every redirect before you ship

Never trust a redirect you have not tested. A 301 redirect checker reads the status code and the full hop chain for any URL. Free tools include httpstatus.io and redirect-checker.org. Paste the old URL. The tool should show one 301 hop to the right target. Two or more hops mean a chain. Fix chains before launch.

For a full list, use curl in a terminal. The -I flag fetches headers only, and -L follows the redirect:

curl -IL https://example.com/old-page

Look for HTTP/1.1 301 in the first response and the new URL in the Location header. Then open Google Search Console. The Pages report shows which old URLs Google still tries to crawl. Any old URL that returns a 404 after launch means a redirect is missing. Add it the same day. My Google Search Console guide shows where to find that report.

7 redirect mistakes that cost rankings

Most redirect damage comes from seven mistakes. I have fixed all of them on client sites.

  1. Redirect chains. A chain sends visitors from URL A to URL B to URL C. Each hop wastes crawl budget and ranking value. Point every old URL at its final destination in one hop. Chains also slow the page down, and crawl budget is finite, so read my crawl budget guide if your site has thousands of pages.
  2. Redirect loops. A loop sends URL A to URL B and URL B back to URL A. Browsers show a “too many redirects” error. Check both directions when you add a rule.
  3. Redirecting everything to the homepage. A bulk redirect to the homepage looks like a soft 404 to Google. It passes little value and frustrates visitors. Match each page to its closest replacement.
  4. Using a 302 for a permanent move. A 302 tells Google the old URL will return. Google keeps ranking the old URL. Months pass and the new page never takes over. Use a 301 redirect for every permanent move.
  5. Removing redirects too soon. A redirect needs at least a year to do its work. Google has to recrawl the old URL, move the signals, and update the index. Delete the rule early and the old URL goes back to a 404.
  6. Forgetting internal links. A redirect fixes outside links. It does not fix your own links. Update every internal link to the new URL. A site that links to its own redirects wastes crawl budget on every page.
  7. Ignoring query strings and trailing slashes. A URL with ?utm_source=facebook is a different URL to a server. So is /page versus /page/. Decide one version and redirect the rest. Mixed versions split ranking signals across duplicates.

How long does a 301 redirect take to work?

Visitors see the new page at once. Google takes longer. The old URL must be recrawled before Google moves the signals. Small sites often see the change in days. Large sites can wait weeks. A full domain move can take months. Speed depends on how often Google crawls your site. You can hurry it along. Submit the new URLs in Search Console. Update your sitemap. Fix the internal links. Then wait. Keep the redirect live for at least a year while Google finishes the move. The new page keeps its rankings only if the old URL keeps pointing at it.

Frequently Asked Questions about 301 redirects

What is a 301 redirect?

A 301 redirect is a permanent redirect that sends visitors and search engines from an old URL to a new one. It tells Google the page has moved for good. Most of the old page’s ranking power moves to the new URL. Use it when a page moves, a site changes domain, or two pages merge into one.

Do 301 redirects hurt SEO?

No, not when you use them right. A 301 redirect passes most of the old page’s ranking power to the new URL. It hurts SEO when the redirect chains through several hops, loops back on itself, or points at an unrelated page like the homepage. One clean hop to the closest matching page is safe.

How do I do a 301 redirect?

Use a plugin like Redirection on WordPress, add a rule to .htaccess on Apache, add a return rule in NGINX, or use the built-in redirect tool on Shopify. Add one rule per old URL, point it at the closest new URL, then test the old URL to confirm it lands on the right page.

How do I 301 redirect a domain?

Add one rule that catches every URL on the old domain and sends it to the same path on the new domain. In .htaccess, one RewriteRule does the whole job. Keep the rule live for at least a year, update your sitemap, and set the change of address in Google Search Console.

How do I fix a 301 moved permanently error?

That message usually means a redirect loop or a stale cached redirect. First clear your browser cache and test the URL in a private window. If it still fails, check your redirect rules for a pair that points at each other. A 301 redirect checker or curl shows the full hop chain so you can find the loop.

How do I stop redirects on Google Chrome?

Clear your browsing data and cookies for the site, then test the page in a private window. If the redirect still happens, the problem sits on the site, not in your browser. The site likely has a redirect loop, and its owner needs to fix the rules on the server. If it happens on every site, a browser extension may be forcing the redirect.

What is the difference between a 301 and a 302 redirect?

A 301 redirect is permanent and tells Google to rank the new URL. A 302 redirect is temporary and tells Google to keep ranking the old URL. Use a 301 when the old URL will never return. Use a 302 for short tests, maintenance pages, and pages that will come back.

The bottom line

A 301 redirect is a small job with a large payoff. Map your URLs. Match each old page to its closest new page. Use a 301 for every permanent move. Test every rule. Keep the redirects live for a year. Do that and a redesign or a domain move will not cost you a single ranking. If the move feels big, get help before launch. A missed redirect is cheap to prevent and costly to fix. If you want me to handle the move for you, see my services and get in touch.

Need SEO help with your website?

I help businesses grow organic traffic, leads and revenue.

Work With Me More Blogs
Keep reading

More from the blog

Chat on WhatsApp