07887 423199me@richieaubin.com

Read HTTP headers and status codes

Your address bar shows where you ended up. The browser’s Network panel shows what each request returned on the way there.

HTTP response checks example
Example image · CC0 1.0 licence

Choose a way to do this check

Chrome or Edge Network

  1. Turn on Preserve log and load the original address.
  2. Select each document request to read status and Location before examining the final response.

Screaming Frog

  1. Filter Response Codes, then export the affected addresses or inlinks.
  2. Use the redirects report when you need the final address and hop count.

Read copied headers on this site

  1. Paste the first and final header blocks, with a blank line between them.
  2. Review Location, content type, cache and indexing headers on the response where each appeared.
Example response headers: inspect the initial 301 and the 200 destination separately. The destination still carries an X-Robots-Tag.
Example response headers: inspect the initial 301 and the 200 destination separately. The destination still carries an X-Robots-Tag.

Follow the illustrated walkthroughs for Chrome Network.

Use a crawler when more than a few URLs are affected

For an unknown sitewide problem, start with a discovery crawl. For a list of reported failures, use the exact URLs people supplied. The spreadsheet you hand over should show the requested address, its first state and where it ends up.

  1. In Screaming Frog, inspect Response Codes and filter by 3xx, 4xx or 5xx as appropriate. Select a row and view Inlinks to see which discovered pages still point at it. In List mode, keep Original URL alongside Address so that the reported variant remains visible.
  2. For redirects, compare source, hop count, final address and final status in the redirect reports. Ensure the crawl settings allow the tool to follow the relevant redirects. A final 200 is only a pass if it is the intended destination.
  3. In WebSite Auditor, open Site Audit and review the broken links, redirects or response-related factor. Open the URL record and look at incoming links in Pages. Export or copy the relevant factors instead of hand-checking every URL.
  4. Use the browser Network walkthrough below to spot-check at least one example from each main response group. For example, distinguish a missing 404 page from a 200 response showing a “Page not found” template before opening a ticket.

1. See the first response in Chrome or Edge

  1. Open a private browser window. Open DevTools from the browser menu or press F12 if the keyboard shortcut is enabled.
  2. Choose Network. Switch on Preserve log so the earlier requests stay visible during navigation. If you want to avoid a cached result, select Disable cache while DevTools is open.
  3. Paste the exact address into the address bar and load it. Filter by Doc to show page requests. If checking an image, PDF or API, use the appropriate resource filter or clear it.
  4. Click the row for the address originally requested. Open Headers and look under General for Request URL, Request Method and Status Code. Under Response Headers, look for Location if the status is a redirect.
  5. Click the next document request and repeat until you reach the final page. Record the first status, redirect destinations and final status separately.

Use the original address, including its host and any query string. A page loaded from bookmarks or a search result may start on a different URL from the one in the address bar after the redirect.

2. Compare what the status says with what people see

A 200 means the request succeeded at the HTTP level. If the Response or Preview tab contains a “Page not found” template, compare the result with the intended behaviour. A site can return the wrong status even while the page looks right. The HTTP status code guide explains how to interpret status groups and which cases are legitimate.

Start with these response headers. Location gives the next address for a normal redirect. Content-Type tells you whether you received HTML, a PDF or something else. X-Robots-Tag can carry search directives. Link can contain a canonical declaration. Cache-Control and Age help explain whether a cached result may be involved. The HTTP header view is different from View page source, which shows HTML.

3. Optional: capture a GET with curl

Open a terminal if that is more convenient for a repeatable check. Run this from a scratch folder, because it writes or replaces the two named files. The first command saves the initial response without following the redirect. The second follows redirects and prints the final result. Replace the sample URL.

Optional terminal · compare first and final response
url='https://www.example.com/old-guide/'
curl -sS --max-time 20 -D headers.txt -o page.html \
  -w 'First status: %{http_code}\n' "$url"
curl -sSL --max-redirs 10 --max-time 30 -o /dev/null \
  -w 'Status: %{http_code}\nFinal: %{url_effective}\nHops: %{num_redirects}\n' "$url"

4. Record a result someone else can repeat

Save the exact URL, date, request method and relevant response headers. Add the intended outcome and a working comparison page. Remove authentication headers, cookies and private data before sharing network exports. Retest after a change using the same conditions and compare both the first response and the final page.

Technical references

Frequently asked questions

Why does the address bar only show the destination?

Browsers normally follow redirects automatically. Turn on Preserve log in Network before visiting the old address to see the earlier document requests.

Why is the Network panel empty?

It normally records while open. Open it first, clear any restrictive filter and reload or navigate to the exact original address.

Which request should I click if there are many rows?

For an HTML page, filter to document requests and select the row whose Request URL matches the original. An image, script or API call may have a different status.

Is a 200 always a pass?

No. A page can return 200 while displaying an error or empty template. Check the response body and what the visitor should have received.

What does the Location header show?

It identifies the next address for a redirect. It can be relative, in which case the browser resolves it against the current response URL.

Do I have to use a terminal?

No. The browser can show the status, headers and redirect steps. Use a crawler for bulk testing and curl when repeatable command output helps.

Does View page source show the headers?

No. It shows source markup. Use Network and select Headers on the request to see HTTP metadata such as X-Robots-Tag.

Can HEAD and GET return different results?

Yes. Some servers handle the methods differently. Use GET when you need the same request type as a normal page visit or need to check the response body.

Why did the crawler report an error that I cannot reproduce?

Compare the exact address, request time, user agent, cookies and host. A network condition or expired response may explain the difference. Repeat a bounded sample before concluding that all the listed URLs are broken.

Which fields should I export for redirect or status issues?

Keep Original URL where available, crawled address, initial status, redirect location and final response. Include inlinks for site navigation issues and the date and settings used for the crawl.

Written by Richie Aubin

Published