
Choose a 301 or 302 redirect based on whether the original URL will return. A 301 permanent redirect tells browsers that the page has moved for good. A 302 redirect sends visitors elsewhere temporarily while the original URL remains the address you intend to use later. After setting the rule, check where it actually sends people.
Suppose you rename a published guide and retire its old address. Use a 301 to send readers to the same guide at its new address. If the guide is temporarily unavailable and you have a useful interim page, a 302 can direct readers there until the guide returns. Both rules can look identical in the browser. The first HTTP response reveals the difference.
When should you use a 301 or 302 redirect?
| What will happen to the original URL? | Use | What to check |
|---|---|---|
| The page has moved for good. | 301 | The replacement answers the same reader need and opens directly. |
| The original page will return. | 302 | The interim page helps visitors today and someone knows when to remove the rule. |
| The page is gone and has no suitable replacement. | 404 or 410 | The server returns the actual missing-page status and the page can still offer helpful navigation. |
For the last case, a custom error page can give people useful links while still returning 404 or 410. Sending retired URLs to an unrelated homepage can confuse visitors and may be treated as a soft 404. Check Google’s site-move guidance on destination relevance and Google’s guidance on missing pages.

301 redirect SEO checks after a URL change
Do 301 redirects hurt SEO?
Google follows a 301 or 302 redirect to its destination. It can use a permanent redirect as a signal that the destination should be the canonical URL. A temporary redirect does not provide that same signal, though Google can still choose the destination based on other signals. A working redirect and the canonical URL Google ultimately selects are two different things. See how Google handles permanent and temporary redirects.
For a permanent move, make the destination the one people find in your navigation, article links and sitemap, where applicable. Make sure the new page is accessible and its canonical points to the preferred URL. If Google reports a different address after the move, check the destination’s canonical URL before changing the redirect again. Google explains how redirects, canonical tags and sitemaps contribute to canonical URL selection.
Two examples you can verify yourself
These fictional examples show what to expect after adding a 301 or 302 redirect. The same checks work whether your rule is managed through a CMS, a hosting dashboard or a server configuration.
301 redirect example after a slug change
A publisher renames /blog/weekly-audit to /blog/seo-audit-checklist. The destination contains the same checklist, so the old link still fulfils the reader’s original purpose. It helps to choose a stable blog URL slug before changing the address.
How does a 301 redirect work? The first response carries the new address in its Location header. The browser uses that address to request the destination.
HTTP/2 301
Location: https://example.com/blog/seo-audit-checklistFollowing the rule should reach that exact URL and receive 200 OK. Update any internal links you control to use the new address directly. Keep the redirect for people arriving from old links and bookmarks.
Temporary diversion while the original page is unavailable
A publisher temporarily takes a downloadable checklist offline to replace a faulty file. The existing page at /resources/checklist will return on Friday. Until then, a short status page explains when the download will be available and links to a useful alternative.
HTTP/2 302
Location: https://example.com/resources/checklist-updateThe interim page should return 200 OK. Record Friday as the review date. When the original page is ready, remove the temporary rule and retest /resources/checklist. The restored URL should load directly with 200 OK.
301 redirect best practices for verification
To verify a 301 or 302 redirect, start with the old URL and check each step until the final page loads.
- Request the old URL without following redirects. Read the response status and the Location header. Confirm the status matches your intent and the destination is the URL you mapped.
- Follow the redirects. Read each response in order, then confirm the final URL and status. One hop is ideal for these examples.
- Open the final page as a visitor. Confirm it contains the promised content. A 200 response on the wrong page still leaves readers in the wrong place. For a permanent move, use the on-page SEO access checks to confirm that the destination can be crawled and is eligible for indexing.
These examples use GET so the request matches an ordinary page visit. The first command displays the response headers. The second follows at most five redirects, displays the headers along the way and prints the final status, URL and hop count. On Windows PowerShell, use curl.exe. The options are documented in the curl manual.
curl -sS -D - -o first-body.tmp https://example.com/blog/weekly-audit
curl -sS -L -D - --max-redirs 5 -o final-body.tmp -w "%{http_code} %{url_effective} %{num_redirects}" https://example.com/blog/weekly-auditBoth commands save their response bodies to temporary files in your current directory.
How to find 301 redirects in your browser
Open the Network panel and enable Preserve log. Visit the old URL and select the first document request. Its status and Location header show whether it returns a 301 and where it sends the browser. Repeat the check on the next request if the first destination redirects again.

301 redirects not working? Check the response path
| What you observe | What to fix |
|---|---|
| The old URL goes through an intermediate URL before reaching the final page. | Point the old rule directly to the final URL and update internal links that still use the intermediate address. |
| The next Location points to a URL you already visited. | Find the rule that sends the request back. Correct the mapping and retest from both addresses. |
| The final URL returns 404, requires a login or serves the wrong content. | Restore the intended public destination or choose a relevant replacement. Retest the redirect and the final page separately. |
Common redirect questions
Can I change a 302 to a 301 later?
Yes. If a temporary move becomes permanent, confirm the destination is the long-term replacement, then update the rule to 301 and retest both URLs. Record the date you changed the rule so you can connect later observations to that change.
What if my platform sends 307 or 308?
A 307 is temporary and a 308 is permanent. They preserve the request method. With 301 and 302, a client can change a POST to a GET when following the redirect. If the URL handles form submissions or API calls, check method and body handling before changing the rule. See HTTP redirect status semantics in RFC 9110.
How long should a permanent redirect stay in place?
For a site move, Google recommends keeping redirects for at least a year and considering longer retention for users. For an individual page, keep the rule while useful external links or bookmarks still depend on the old URL. Check Google’s redirect retention guidance.
After testing a 301 or 302 redirect, record the old URL, chosen status, expected destination, observed first response and final result. Give temporary rules a review date. That record makes it easier to tell whether a problem started with the redirect or with the page it leads to.



