Meregate.com
Friday, November 20, 2026
Home โ€บ SEO โ€บ What Is a 301 Redirect? A Simple Guide for Beginners (2026)

What Is a 301 Redirect? A Simple Guide for Beginners (2026)

What Is a 301 Redirect? A Simple Guide for Beginners (2026)

A 301 redirect is a permanent way to send visitors and search engines from one web address to another. When someone types in or clicks an old URL, the server answers with a “301 Moved Permanently” message and points them to the new page instead. The visitor never sees an error page, and Google moves most of the old page’s ranking power to the new one.

Think of it like a mail forwarding order. When you move house, you tell the post office to send your mail to the new address. A 301 redirect does the same thing for a web page: it tells browsers and search engines, “this page has moved for good, go here instead.”

If you run a website, you will need 301 redirects sooner or later. You change a page URL, you redesign your site, you move to a new domain, or you delete a page that has a better replacement. In each case, a 301 redirect keeps your visitors and your Google rankings safe.

How a 301 Redirect Works

A 301 redirect works in four quick steps, all behind the scenes:

  1. A visitor (or Google) asks for the old URL. Someone clicks a link or types the old address into a browser.
  2. The server answers with a 301 status code. Instead of sending the old page, the server sends a short message: “moved permanently,” plus the address of the new page.
  3. The browser asks for the new URL. The browser reads the new address and requests that page instead.
  4. The new page loads. The visitor sees the new page, usually without noticing anything happened. The address bar shows the new URL.

The whole thing takes a fraction of a second. The “301” is just the number of the message. Web servers use numbers called status codes to describe what happened: 200 means “all good, here is the page,” 404 means “page not found,” and 301 means “moved for good.”

An aerial view of a highway with a road sign, showing the path a 301 redirect takes visitors
Source: Pexels

A Simple 301 Redirect Example

Say your site has a page at example.com/old-services. You rewrite the page and give it a better address: example.com/services. Without a redirect, anyone who visits the old address gets a 404 error, and Google still shows the old address in search results.

With a 301 redirect in place, the old address sends everyone to the new one. Old links from other sites still work. Bookmarks still work. Google updates its index and passes most of the old page’s authority to the new page. Nothing is lost.

Why 301 Redirects Matter for SEO

A 301 redirect protects three things that matter for search rankings.

It saves your link power. When other sites link to your old page, those links still count. A 301 redirect passes most of that ranking power to the new page. Google has said a 301 redirect passes nearly all of the old page’s ranking signals. If you delete the page instead, those links point to a dead end and their value is lost.

It stops duplicate content. The same page can live at more than one address: with and without “www,” with and without a slash at the end, or on both HTTP and HTTPS. Search engines can treat those as separate pages with the same content. A 301 redirect points every version to one main address, so your ranking power is not split.

It keeps visitors happy. A visitor who lands on a 404 error page usually leaves. A redirect sends them to the page they wanted, so they stay. Fewer dead ends means a better experience, and Google pays attention to that.

When to Use a 301 Redirect

Use a 301 redirect only when a move is permanent. Here are the most common cases:

  • You change a page URL. You shorten a slug, fix a typo in a URL, or move a page to a new section of the site.
  • You delete a page that has a good replacement. An old product page goes away, but a similar product page exists. Redirect the old one to the new one.
  • You move to a new domain. A rebrand or a domain change means every old URL needs a redirect to its matching new URL.
  • You switch from HTTP to HTTPS. Every HTTP address should redirect to its HTTPS version.
  • You merge two pages into one. Two thin pages on the same topic become one strong page. Redirect both old URLs to the new one.
  • You fix duplicate URLs. Redirect the “www” version to the non-www version (or the other way round), and settle on one trailing-slash style.

When NOT to Use a 301 Redirect

A 301 redirect is the wrong tool in a few common cases:

  • The move is temporary. A page is down for a few weeks, or you are testing a new version. Use a 302 redirect instead, which tells search engines the move is only for now.
  • You are running an A/B test. A temporary test page should use a 302 or 307 redirect, not a 301.
  • There is no good replacement page. If the old page is gone and nothing on your site matches it, do not redirect it to your homepage. That confuses visitors and Google. Let it return a 404, or build a useful replacement first.
  • The new page has a different topic. Redirecting a page about shoes to a page about hats tells Google the old page’s topic no longer exists. Only redirect to a page that matches what the visitor wanted.

301 vs 302 Redirect: What Is the Difference?

The difference is simple: a 301 redirect is permanent, and a 302 redirect is temporary.

301 Redirect302 Redirect
MeaningMoved permanentlyMoved temporarily
Ranking powerPasses most of it to the new pageStays with the old page
Google’s indexReplaces the old URL with the new oneKeeps the old URL listed
Use it whenA page moves for goodA page moves for a short time

Most redirects on a normal website are 301s. Use a 302 only when you plan to bring the old page back.

301 vs 308 Redirect: Which One Should You Use?

A 308 redirect is the strict cousin of the 301. Both mean “moved permanently,” but they treat form data differently.

When a browser follows a 301 redirect after a form is sent (a POST request), it usually changes the request to a GET request. That drops the form data. A 308 redirect keeps the request method the same, so the form data survives the trip.

For normal web pages, this rarely matters, because visitors arrive with GET requests. Use a 301 redirect for pages, links, and site moves. Use a 308 only when a form or an API call must keep its POST data through the redirect. In practice, almost every website owner will only ever need a 301.

What About 307 Redirects?

A 307 redirect is the temporary version of a 308: it means “moved temporarily” but keeps the request method unchanged, just like a 308 keeps it for permanent moves. The simple rule is:

  • 301 โ€” permanent move, normal pages
  • 302 โ€” temporary move, normal pages
  • 307 โ€” temporary move, keep the request method
  • 308 โ€” permanent move, keep the request method

For nearly all website work, 301 and 302 are the only two you need to know.

How to Do a 301 Redirect

Wooden signposts pointing in different directions, like URLs that can point to a new page
Source: Pexels

The exact steps depend on how your site is built. Here are the four most common ways.

WordPress: Use a Plugin

The easiest way in WordPress is a free plugin such as Redirection or the redirect tool inside Rank Math:

  1. Install and open the plugin.
  2. Enter the old URL in the “source” field.
  3. Enter the new URL in the “target” field.
  4. Save. The plugin handles the rest.

You can also add redirects in Rank Math under Rank Math > Redirections. Test each redirect right after you save it.

.htaccess: For Apache Servers

If your site runs on Apache, you can add a line to the .htaccess file in your site’s root folder:

Redirect 301 /old-page https://example.com/new-page

For a full domain move, this rule sends every old address to the matching new one:

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

Back up the file before you edit it. One wrong line in .htaccess can take your whole site down.

Shopify: Use URL Redirects

  1. In your Shopify admin, go to Content > Menus, then click View URL redirects (or go to Settings > Apps and sales channels in newer versions).
  2. Click Create URL redirect.
  3. Enter the old path and the new path.
  4. Save.

Shopify creates 301 redirects by default, and it even offers to create one automatically when you change a product or page URL.

Wix: Use the SEO Settings

  1. In your Wix dashboard, go to Settings > SEO, then open URL Redirect Manager.
  2. Click + New Redirect and choose Single Redirect.
  3. Enter the old URL and the new URL.
  4. Save. Wix applies a 301 redirect.

Wix also lets you upload a spreadsheet of redirects in bulk, which helps during a site migration.

How Long Does a 301 Redirect Take to Work?

The redirect itself works the moment you save it: visitors reach the new page right away. Google is slower. Search engines need to crawl the old URL again, see the 301, and then update their index.

On a small site that Google crawls often, that can take a few days. On a large site, or one Google visits rarely, it can take a few weeks. You can speed it up by asking Google to recrawl the old URL in Google Search Console and by updating your sitemap so it lists only the new URL.

Do not judge the result in the first 48 hours. Check again after a week or two, and look at whether the new page is gaining the old page’s traffic.

How Long Should You Keep a 301 Redirect?

Keep it in place for at least a year, and ideally for good. There is no harm in leaving a redirect running, and removing it has a real cost: old links and bookmarks break, and Google may bring the old URL back into its index.

If you must remove a redirect, first check that no other site still links to the old URL and that Google no longer shows it in search results. When in doubt, leave the redirect alone. It costs nothing to keep, and it protects traffic you worked hard to earn.

How to Test If a 301 Redirect Works

Always test a redirect after you set it up. Here is a simple routine:

  1. Open the old URL in a private browser window. A normal window may show a saved copy of the page. A private window shows what a new visitor sees.
  2. Check the address bar. It should show the new URL, and the new page should load.
  3. Use a free status checker. Tools like httpstatus.io show the exact status code and the full redirect path. You want to see a single 301 step, then a 200 (all good) on the new page.
  4. Check Google Search Console. After a few days, the old URL should show as redirected and the new URL should start picking up clicks.

If the old page still loads instead of redirecting, clear your browser cache first. Browsers save 301 redirects aggressively, so an old test can fool you. A private window or a different browser gives a clean result.

Common 301 Redirect Mistakes to Avoid

  • Redirect chains. Page A redirects to page B, which redirects to page C. Each extra hop slows the page down and weakens the ranking signal. Always point the old URL straight at the final page.
  • Redirect loops. Page A redirects to page B, and page B redirects back to page A. The browser gives up and shows a “too many redirects” error. Check your rules in pairs.
  • Redirecting everything to the homepage. Sending every deleted page to the homepage looks like a soft 404 to Google, and visitors do not find what they wanted. Redirect to the closest matching page, or let the page return a 404.
  • Forgetting to update your own links. If your site still links to the old URL, visitors take an extra hop on every click. Update the links to point straight at the new page.
  • Leaving redirected URLs in your sitemap. Your sitemap should list only live pages. Remove old URLs so Google spends its crawl time on pages that matter.
  • Using a 302 when you mean a 301. A temporary redirect tells Google to keep ranking the old URL. If the move is for good, use a 301.
  • Forgetting that browsers cache 301s. If you change a redirect later, some visitors will still follow the old one until their cache clears. Test in a private window, and tell users to clear their cache if they report a stale redirect.

Do 301 Redirects Hurt SEO?

No. A 301 redirect done right protects your SEO. It is the correct way to move a page, and Google treats it as a clear signal to transfer ranking power to the new address. What hurts SEO is the alternative: deleting a page with no redirect, leaving visitors on a 404, and letting old links point nowhere.

A redirect can cause a small, short dip in traffic while Google processes the change. That is normal, and traffic usually returns within a few weeks as the new page takes over the old page’s place in search results. If traffic does not come back, check for chains, loops, or a redirect to a page with a different topic.

Frequently Asked Questions

Is a 301 redirect better for SEO than a 302?

Yes, when the move is permanent. A 301 tells Google to pass ranking power to the new page and to replace the old URL in search results. A 302 tells Google the move is temporary, so the old page keeps its ranking. Use a 301 for permanent moves and a 302 only for short-term ones.

Should I use a 301 or a 308 redirect?

Use a 301 for normal pages. A 308 is only needed when a form or an API request must keep its POST data through the redirect. For links, pages, and site moves, a 301 is the standard choice.

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

A 301 redirect means the page moved for good, and a 302 means it moved for now. A 301 passes ranking power to the new page and Google updates its index. A 302 keeps the old page in the index and does not pass ranking power.

What does a 307 or 308 redirect mean?

A 307 is a temporary redirect that keeps the request method unchanged, and a 308 is a permanent redirect that does the same. They matter mainly for forms and APIs. For regular web pages, 301 and 302 cover nearly every case.

Can I change a 301 redirect later?

Yes. You can point the old URL to a different page, or remove the redirect. But browsers cache 301 redirects, so some visitors may keep following the old one for a while. Change redirects only when you have a good reason, and test in a private window after the change.

How many 301 redirects can I have?

There is no fixed limit, but keep them tidy. Hundreds of redirects are fine on a large site. What matters is that each one points to a live page, that there are no chains or loops, and that your own links point to the final URLs instead of the old ones.

The Bottom Line

A 301 redirect is a simple tool with a big job: it moves a page for good without losing the visitors, links, and rankings the old page earned. Use it when a page moves, a site changes its domain, or old content gets a better home. Match the new page to what visitors wanted, test the redirect in a private window, update your links and sitemap, and leave the redirect in place. Do that, and a URL change becomes a quiet improvement instead of a traffic problem.

Taylor Orlando

Taylor Orlando is a content writer at Meregate covering websites, SEO, and AI. Taylor breaks down complex topics into simple, practical guides that help small businesses build better websites, rank higher on Google, and get real value from AI tools โ€” no jargon, no fluff.

Related Articles

How to Verify Website in Google Search Console (2026)
SEO

How to Verify Website in Google Search Console (2026)

Verification proves to Google that you own your site. This guide walks through the DNS record, HTML file, HTML tag, Analytics and Tag Manager methods, and what to do when verification fails.

November 20, 2026 ยท Taylor Orlando