HTTP Status & Redirect Checker
Look up what any HTTP status code means, why it happens and how to fix it, then trace a URL’s full redirect chain with a ready-to-run command. Everything below works right on this page.
1. HTTP status code explainer
2. Redirect chain command
Prefer a web-based check? Paste your URL into HTTPStatus.io, an external service that tests from its own servers. Browsers block websites from reading another site’s status codes directly, which is why this page gives you a command instead of sending your URL anywhere.
What are HTTP status codes?
Every time a browser, search engine or app asks a web server for a page, the server answers with a three-digit status code before anything else. The first digit tells you the category: 1xx informational, 2xx success, 3xx redirect, 4xx a problem with the request (such as 404 Not Found), and 5xx a problem on the server (such as 500 or 503). Visitors rarely see the codes, but search engines and monitoring tools rely on them to decide whether a page is live, moved or broken.
Redirects explained
- 301 and 308 (permanent): the page has moved for good. Google treats the new address as the main one and transfers ranking signals to it. Use these for HTTP to HTTPS, non-www to www (or the reverse), and renamed pages.
- 302 and 307 (temporary): the original URL stays the official one. Use them for short-term moves such as a sale page, and switch to 301 if the move becomes permanent.
- Redirect chains: http://example.com to https://example.com to https://www.example.com is two hops. Each hop adds delay. Point every old URL straight to its final address.
- Redirect loops: A redirects to B and B back to A. Browsers stop with "too many redirects." This is usually caused by conflicting HTTPS settings between a CDN and the server, or between a plugin and .htaccess.
Why redirects matter for security
Every site should redirect plain HTTP to HTTPS so no one lands on an unencrypted page. Unexpected redirects are also a classic sign of a hacked website: attackers often add rules that send mobile visitors or search-engine traffic to scam or malware pages while the site looks normal to the owner. If your redirect chain ends somewhere you do not recognize, scan the site and review your WordPress security right away.
How to use the redirect command
- Enter your URL, starting with http:// to test the HTTPS redirect.
- Copy the command and paste it into Terminal (Mac or Linux) or PowerShell (Windows 10 and 11 include curl).
- Read the lines from top to bottom. Each HTTP line is one hop. You want one 301 at most, then a final 200.
The command only reads response headers (the -I option), so it does not download the page body and does not change anything on the site.
Frequently asked questions
Why can't this page fetch the status code for me?
For security, browsers block one website from reading another site's responses unless that site allows it. Tools that show status codes in the browser run the request on their own servers, which means sending them your URL. The command above checks from your own computer instead.
Is a 302 bad for SEO?
Not if the move really is temporary. If it is permanent, use a 301 so search engines update their index to the new URL.
What is the difference between 404 and 410?
404 means "not found right now"; 410 means "removed on purpose." Search engines tend to drop 410 pages from results a little faster.
My site shows 403 only for some visitors. Why?
A firewall, security plugin or CDN rule is probably blocking certain countries, IP ranges or user agents. Check your firewall logs.
Related tools: Website Uptime Checker, SSL/TLS Certificate Checker and Security Headers Analyzer.
This tool is for education and general use.
