Skip to content
ancilAn INSIDEA company
HubSpot glossary

301 vs 302 redirects in HubSpot: which to use?

A 301 redirect tells browsers and search engines that a page has moved permanently to a new URL. A 302 redirect says the move is temporary and the original URL will return. HubSpot URL redirects let you choose between them.

Redirects send visitors from an old URL to a new one. The type tells search engines what to do with the old URL. With a 301, they treat the new URL as the replacement and move rankings and links to it over time. With a 302, they generally keep the original URL in their index because it is expected to come back.

Most redirects should be 301s. Renamed pages, merged blog posts, retired products and site migrations are all permanent. Using 302 for them can leave the old URL in search results and slow the transfer of ranking signals to the new page. A 302 is right for a short-term change, such as a seasonal page or a page under maintenance.

Chains and loops are the other common problem. A chain happens when page A redirects to B, which redirects to C, usually after several rounds of site changes. Each hop slows the visitor and can weaken the signal passed along. A loop happens when redirects point back at each other, and the page never loads at all.

Review the redirect list in HubSpot’s domain settings every few months. Change permanent moves to 301, point every old URL straight to its final destination, and remove redirects for pages that no longer exist anywhere.

Example

Granite Peak Software, a fictional dev tools company, migrated its blog twice in three years. Many old posts went through three redirects before loading, and dozens used 302. After repointing every old URL straight to its final page with a 301, several older posts recovered rankings they had lost.

Common mistakes

  • Using 302 redirects for permanent moves, so search engines keep the old URL.
  • Adding new redirects on top of old ones, creating chains of several hops.
  • Creating redirect loops that stop a page from loading.
  • Redirecting many retired pages to the homepage instead of the closest relevant page.

Related checks

Frequently asked questions

Does a 302 redirect hurt SEO?

Not when the move is temporary. When it is used for a permanent move, search engines may keep showing the old URL and be slower to credit the new one. Use 301 for permanent moves.

Where are URL redirects managed in HubSpot?

In the domains and URL settings for your website, where you can add redirects one by one or import them in bulk, and choose the redirect type for each.

Related terms

See how your portal measures up.

Ancil connects to HubSpot read-only in about 60 seconds. Nothing changes in your portal without your approval.