{"id":"https://www.namesilo.com/questions/websites-and-ai/when-should-i-use-a-301-redirect-instead-of-a-302","url":"https://www.namesilo.com/questions/websites-and-ai/when-should-i-use-a-301-redirect-instead-of-a-302","title":"When should I use a 301 redirect instead of a 302?","description":"Use a permanent redirect such as 301 when a URL has moved permanently, and a temporary redirect such as 302 when the original URL is expected to return.","language":"en","category":"websites-and-ai","datePublished":"2026-11-17","dateModified":"2026-11-17","answer":"Use a permanent redirect such as 301 when a URL has moved permanently, and a temporary redirect such as 302 when the original URL is expected to return. The exact choice can also depend on request-method behavior. Keep the destination relevant and avoid using temporary redirects as a substitute for a planned site migration.","body":"When should I use a 301 redirect instead of a 302?\n\nUse a permanent redirect such as 301 when a URL has moved permanently, and a temporary redirect such as 302 when the original URL is expected to return. The exact choice can also depend on request-method behavior. Keep the destination relevant and avoid using temporary redirects as a substitute for a planned site migration.\n\nMatch the redirect to the actual intent\n\nRedirecting an old article to an unrelated homepage is less useful than mapping it to the corresponding replacement. Update internal links as well, so visitors do not have to rely on redirects indefinitely.\n\nYour next steps\n\nDecide whether the move is permanent\n\nMap each important old URL\n\nTest the response and final destination\n\nFrom a name to a working website\n\nDomain registration, site creation, and hosting are separate tasks, even when a provider bundles them. Keep control of your domain and check what can be exported before committing your content and business workflows to a builder.\n\nOwnership: Registrar access and content rights.\n\nFeatures: Forms, payments, email, and integrations.\n\nPortability: Code, data, assets, and backend dependencies.\n\nLaunch: Mobile usability, HTTPS, redirects, and working forms.","steps":["Decide whether the move is permanent","Map each important old URL","Test the response and final destination"],"faqs":[],"sources":[{"name":"Google Search: site moves with URL changes","url":"https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes"}],"json":"https://www.namesilo.com/questions/data/when-should-i-use-a-301-redirect-instead-of-a-302.json","markdown":"https://www.namesilo.com/questions/data/when-should-i-use-a-301-redirect-instead-of-a-302.md"}