How should you choose a redirect type based on its purpose?

ProcrustesPR

When choosing a redirect type, first determine whether you will return to using the original URL and which URL you want to appear in search results. If the move is permanent and you want the new URL to become the primary URL in search results, use a server-side 301 or 308 redirect as your first choice. If you are only sending visitors to another page temporarily and still want to retain the original URL, choose a temporary redirect, such as 302 or 307. According to Google’s documentation, server-side redirects are the easiest for Google to interpret correctly; consider other methods only when these are unavailable.

ProcrustesPRProcrustesPRHow should you balance CNAME convenience and performance?

Permanent moves: replacing the old URL with the new one

Permanent redirects are suitable for changes that you are certain will not be reversed. Google uses them as a signal when deciding whether to select the destination URL as the canonical URL—the primary URL selected by its search systems. Typical uses include:

  • Permanently changing a website’s domain: redirect old URLs to their new locations.
  • Merging websites or retiring old pages: redirect existing links to the appropriate pages that take over their content.
  • Serving the same content at multiple URLs: choose a preferred canonical URL, then redirect the other URLs to it.

If these changes will not be reversed, use 301 or 308 redirects as your first choice. The point is not simply to get visitors to another page, but to communicate that “this is the content’s new location.”

Temporary moves: returning to the original URL later

If a service is briefly unavailable, you can use a temporary redirect to send visitors to a page explaining the situation without treating the original URL as permanently retired. A 302 or 307 redirect is suitable for this purpose; do not configure a temporary arrangement as a permanent move just because the new page is ready.

According to Google’s documentation, Googlebot follows temporary redirects, but Google’s indexing system will not select the destination URL as canonical based on the redirect alone. This helps retain the original URL, but does not mean the destination page can never be indexed: other canonicalization signals may still lead to the destination page being indexed.

Turn to alternatives only when server-side redirects are unavailable

The method you can use depends on your hosting service, server configuration permissions, or website backend. If you use a website builder, first check whether it has a built-in redirect feature.

  • Meta refresh: Google’s documentation classifies a delay of 0 seconds as a permanent redirect and a delay greater than 0 seconds as a temporary redirect. The delay affects not only the user experience but also how Google interprets the redirect type.
  • JavaScript: Consider this only when neither server-side redirects nor meta refresh are available. Google may fail to render the page and therefore miss the redirect.
  • A link with a notice explaining the move: If none of the other methods can be implemented, this can guide visitors, but it should not be treated as a formal redirect that search engines are guaranteed to recognize.

Choosing the right type does not mean all search results will immediately switch URLs

Both permanent and temporary redirects are signals Google uses to determine the canonical URL, not absolute guarantees of which URL will appear in search results. Even after the new domain has been indexed, Google may occasionally display the old URL as an alternate name, depending on the query. Therefore, seeing the old URL in a single search does not establish that a permanent redirect is ineffective. Choose the redirect type based on the purpose of the move; redirects alone do not determine which URL appears in search results.

ProcrustesPRProcrustesPRShould you use a 302 redirect to a temporary alias for the new server during a DNS update?

Choosing a redirect type: perspectives from across the web

Which redirect is suitable if you want to return to the original page after a limited-time offer ends?

You can use a 302 or 307 temporary redirect to send visitors to the promotional page during the offer. This is suitable when you already expect to restore the original page afterward. Temporary redirects help retain the original URL in Google search results, but cannot guarantee that the promotional page will not be indexed because of other signals.

Since 304 is also a 3xx status code, can it be used to send visitors to a new URL?

No. 304 Not Modified indicates that the requested resource does not need to be transmitted again. Although technically classified as a 3xx status code, it does not actually cause a redirect. It therefore cannot indicate that a page has moved permanently or temporarily to another URL; you still need to choose an appropriate redirect method based on the purpose of the move.

What else should you check after setting up redirects?

Check for redirect chains, loops, and broken links, and verify page by page that the redirect type matches its actual purpose—for example, whether a temporary redirect has mistakenly been used for a permanent move. Regular audits help identify technical issues early. If the migration plan changes, also reassess whether the originally selected redirect type is still appropriate.

ProcrustesPRHow does HSTS protect websites and subdomains?

References

  1. 重新導向與 Google 搜尋 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Discusses: Which redirect is suitable if you want to return to the original page after a limited-time offer ends?
  2. Google Recommends Using 304 Status Code To Conserve Crawl Budgetwww.searchenginejournal.com · 2026-08-03T12:55:15+00:00 — Discusses: Since 304 is also a 3xx status code, can it be used to send visitors to a new URL?
  3. How to Set Up 301 Redirects in an .htaccess Filewww.semrush.com · 2021-09-17T14:20:00Z — Discusses: What else should you check after setting up redirects?
  4. How to Redirect URLs on WordPresswww.semrush.com · 2021-09-22T19:55:00Z — Discusses: Which redirect is suitable if you want to return to the original page after a limited-time offer ends?

Related articles

How should you balance CNAME convenience and performance?Should you use a 302 redirect to a temporary alias for the new server during a DNS update?How does HSTS protect websites and subdomains?How do SSL certificates protect websites, and why are they needed?Should a Tumblr blog use the platform’s domain or the company’s domain?What types of URLs are there, and what are they used for?When should you use relative or absolute paths in WordPress?What are www subdomains and relative links used for?
ProcrustesPR
ProcrustesPR