ToolsForWeb

Saved

Tap ☆ on any tool to keep it here.

How to check redirects after a site move

There are two decisions when you set up a redirect. Is the move permanent or temporary? If someone submits a form or sends data to the old URL, does the new URL need to receive that same request? The answers tell you which status code to use. The Redirect Checker then shows where the old URL actually leads.

What’s the difference between 301, 302, 307, and 308?

CodeHow long is the move?What happens to a POST request?When to use it
301PermanentThe browser or client may turn it into a GET.A public page moved for good, such as an article with a new URL.
302TemporaryThe browser or client may turn it into a GET.A public page temporarily points elsewhere, such as a store page that leads to a maintenance notice.
307TemporaryIf the client follows it automatically, it must keep the original method. A POST stays a POST.A form or API temporarily moves and the receiving endpoint still needs the submitted data.
308PermanentIf the client follows it automatically, it must keep the original method. A POST stays a POST.A form or API permanently moves and the receiving endpoint still needs the submitted data.

A request method tells the server what the client is trying to do. Opening an article normally sends a GET. Submitting a form often sends a POST carrying the form fields. If a client changes that POST to GET while following a 301 or 302, the new URL may open successfully without receiving the submission. That’s why checking the destination page and testing the form are two different jobs.

For Google Search, 301 and 308 both signal that the destination should become the preferred URL. 302 and 307 both indicate a temporary move. Choose between the codes in each pair based on whether the original request method needs to be preserved.

How to check an old URL

  1. Start with the exact old address. Copy it from a bookmark, an old link, or your list of URLs that moved. Paste it into the Redirect Checker and select Check redirects.
  2. Read each hop. A hop is one redirect from one URL to the next. Check its status code and destination, then continue to the final response.
  3. Open the final page. For a public page with a replacement, look for 200 OK at the intended URL. Read the page to make sure it answers what someone following the old link came for.
  4. Test forms and APIs separately. If the old address receives submissions, send a test request in staging and check that the receiving endpoint gets the expected method and data. The Redirect Checker sends GET requests, so it can miss a broken submission.

Worked example of a returns policy that moved twice

Suppose your returns policy moved to a new domain and then to a new section. Checking the original address might show this chain.

URLResponse
https://shop.example.com/help/returns301 → https://www.example.com/help/returns
https://www.example.com/help/returns302 → https://www.example.com/support/returns
https://www.example.com/support/returns200 OK

The chain reaches the right page, but it takes two hops and one is marked temporary. The returns policy is a public page and the move is permanent, so a 301 fits. Point both old URLs directly to https://www.example.com/support/returns. Then check both starting addresses again. Each should reach the returns policy in one hop.

If the old URL handled return requests instead of displaying the policy, a 308 would fit a permanent move where the new endpoint needs to receive the original POST. In staging, submit to the old URL and check that the new endpoint receives the request and its data.

What to fix when a check fails

What you seeWhat to check
Several redirects before the final pagePoint the old URL directly to the final page where you can.
A “Too many redirects” messageCheck for a long chain or a loop. In your browser’s Network panel, preserve the log and open the old URL again. If an address repeats, check the rules that send the request back to it.
200 OK on the wrong pageCompare the final URL and its content with the intended replacement. A working homepage can still be the wrong destination for an old returns policy.
404 at the destinationOpen the new URL directly. If it works, check the redirect for a typo or outdated path. If the content was removed and has no replacement, a 404 or 410 is appropriate.
The chain switches from HTTPS to HTTPCheck the destination in that hop and point it to the intended HTTPS URL.

What to recheck after the fix

Rerun the same old URLs you started with. Prioritize pages that people still reach from search, bookmarks, emails, or links on other sites. Include any old hostname or URL variant people actually used. Update links on your own site and entries in your sitemap to point directly to the final URLs. You can inspect the destination’s declared canonical URL with the URL SEO Audit.