Sooner or later, every website changes. You rename a page, merge two blog posts, switch to a new address, or finally delete that old service you stopped offering. The problem is that Google and your visitors still have the old links memorized. That is exactly what 301 redirects are for. A 301 redirect is a simple instruction that says "this page has permanently moved, send everyone to the new spot instead."
Done right, a 301 redirect passes almost all of your hard-earned ranking power from the old page to the new one, so a move does not have to mean starting over. In this guide, I will walk you through what a 301 does, when to use one, how to set it up, and the common mistakes that quietly cost people traffic.
What is a 301 redirect?
When someone clicks a link or types an address, their browser asks your server for that page. The server replies with a status code. A "200" means "here is the page." A "404" means "that page does not exist." A "301" means "this has permanently moved, here is the new address," and the browser is automatically sent along to the new page.
The word "permanent" is the important part. A 301 tells Google that the change is not temporary, so over time Google drops the old URL from its index and treats the new URL as the real home of that content. Most of the ranking signals the old page earned, including the value from other sites linking to it, get passed along.
301 vs 302: know the difference
You will also run into 302 redirects, which mean "temporarily moved." A 302 keeps the original page in Google's index because it assumes you will move the content back. That is fine for a short promotion or a page under maintenance, but it is the wrong choice for a permanent change. If you use a 302 when you meant a 301, Google may not pass your rankings to the new page. When in doubt for a permanent move, use a 301.
Quick tip: A redirect only helps if it points to a genuinely relevant page. Sending an old "wedding photography" page to your generic homepage tells Google the content is basically gone. Point it to the closest matching page instead, and you keep far more of its value.
When you actually need a 301 redirect
You do not need to redirect every little change, but there are a handful of situations where a 301 is essential:
- You changed a page's URL. Renaming /services/lawn to /services/lawn-care creates a brand new address. The old one needs to point to the new one.
- You merged two pages. If you combined two thin blog posts into one stronger article, redirect both old URLs to the new combined page.
- You deleted a page that had traffic or links. Rather than leave a dead end, send visitors to the most relevant remaining page.
- You moved to a new domain. This is the big one. A full site move relies on redirects to carry your rankings across, and it is worth reading a dedicated guide on how to migrate a website before you start.
- You switched to HTTPS. Every http:// version of your pages should redirect to the secure https:// version. If that is new to you, my guide on SSL certificates and HTTPS explains why.
- You are consolidating www and non-www. Pick one version of your address and redirect the other so Google does not see two competing copies.
How to set up a 301 redirect
The right method depends on how your site is built. Here are the most common paths, from easiest to most hands-on.
On a website builder
Most modern platforms have a redirects tool built into the settings, usually under a name like "Redirects" or "URL management." You paste in the old path and the new path, save, and you are done. No code required. If you are on WordPress, a redirect plugin gives you the same simple interface, and many SEO plugins offer to create a redirect automatically whenever you change a page's URL.
On your own server
If your site runs on a traditional server, redirects often live in a configuration file. On Apache servers, that is the .htaccess file, where a single line handles one redirect. On other setups it may be a server config file or a rule in your hosting dashboard. This is more technical, so if you are not comfortable editing server files, ask your host or developer to add the rule for you rather than risk breaking the site.
Through your host or CDN
Many hosting companies and content delivery networks let you manage redirects from a friendly dashboard. If you are unsure what tools you have, your hosting provider's guide or support team is the fastest way to find out.
Whichever method you use, the pattern is always the same: old address in, new address out, marked as a permanent (301) move.
A simple redirect checklist
Before and after you set up a redirect, run through these steps so nothing slips through:
- Write down the old URL and the new URL. Copy them exactly, including the parts after your domain name.
- Confirm the new page is live and shows the content you expect.
- Create the 301 redirect using whichever method fits your setup.
- Test it. Open the old URL in a private browser window. It should land you on the new page automatically.
- Update internal links. Redirects work, but linking straight to the new URL is cleaner and faster. A quick pass through your internal linking keeps things tidy.
- Update your sitemap. Remove the old URL and make sure the new one is included in your XML sitemap.
Common 301 redirect mistakes to avoid
Redirects are simple, but a few habits can quietly undo the benefit. Here are the ones I see most often.
| Mistake | Why it hurts | Do this instead |
|---|---|---|
| Redirecting everything to the homepage | Google reads it as "content deleted" and passes little value | Point to the closest relevant page |
| Using a 302 for a permanent move | Rankings may stay stuck on the old URL | Use a 301 for anything permanent |
| Redirect chains (A to B to C) | Slows the page and dilutes value at each hop | Point A straight to C |
| Forgetting to test | A broken redirect creates a dead end for visitors | Always open the old URL and confirm |
| Leaving old internal links in place | Extra hops slow your site and waste crawl budget | Update links to the final URL |
Redirect chains deserve a special mention. If you move a page more than once over the years, it is easy to end up with the first URL pointing to the second, which points to the third. Each hop adds a little delay and leaks a little ranking power. Whenever possible, update the original redirect to point straight at the current page.
What to expect after you redirect
A redirect takes effect for visitors immediately, but Google needs time to catch up. It may take days or a few weeks for Google to recrawl the old URL, notice the 301, and shift the new page into its place. During that window it is normal to see some wobble in your rankings and traffic. Do not panic and reverse course. As long as the redirect is correct and points to relevant content, things usually settle.
You can speed the process along by watching Google Search Console, where you can request that the new page be crawled and keep an eye out for any errors. If old URLs start showing up as crawl problems, my guide on fixing crawl errors walks through the fixes. Redirects are one piece of the broader technical SEO picture, and getting them right protects the rankings you have worked hard to build.
Frequently asked questions
Do 301 redirects hurt SEO?
No, a correctly set up 301 redirect protects your SEO rather than hurting it. It passes nearly all of the old page's ranking value to the new one. The only time redirects cause trouble is when they point to an irrelevant page, form long chains, or are set up as temporary 302s by mistake. Get those details right and a redirect is your friend during any move.
How long should I keep a 301 redirect in place?
Keep it permanently, or at least for a very long time. Even after Google has moved on to the new URL, other websites, bookmarks, and old emails may still point to the old address. As long as the redirect stays live, anyone using an old link still lands in the right place. There is no penalty for leaving redirects up indefinitely, so there is rarely a reason to remove them.
Will a redirect pass all of my link value?
A 301 passes the large majority of ranking value, and for most small business sites the difference is not something you will notice. The bigger factors are relevance and cleanliness: sending the redirect to a closely matching page and avoiding chains matters far more than chasing the last percentage point. If you are moving many pages at once, mapping each old URL to its best new match, similar to keyword mapping, is the single best thing you can do to preserve your rankings.