What is a Redirect Checker?
One URL often bounces through several redirects before a page loads: http to https, the bare domain to www, an old path to a new one. Every hop is a separate request that adds time, and a muddled chain can loop forever or end on an error.
This tester requests the URL from our server the way a first-time visitor or a crawler would, with no cookies and no cached redirects, and follows up to ten hops. You can run 5 checks a day without an account and 50 with a free account. For each one it shows the URL, the status code with whether it is permanent or temporary, the Location it points to, what that hop changed (HTTPS, www, path) and how long it took.
It then gives a verdict: a loop names the URL that comes round again, a chain that ends in a 4xx or 5xx is flagged, and an HTTP to HTTPS upgrade and a www change made in two separate hops are called out, because one rule can do both. If the final page carries a meta refresh it is reported with its target. JavaScript redirects are not run.
301, 302, 307 and 308: which redirect to use
The status code on each hop tells browsers and search engines how long the move is meant to last. The checker labels every hop permanent or temporary; this is what each code means and when to pick it.
- 301 Moved Permanently: the page has moved for good. Search engines index the target and carry the old URL’s links across. Browsers cache a 301 hard, so a wrong one keeps sending visitors to the wrong place after you fix the server. Use it for domain moves, HTTPS and www rules, and renamed pages.
- 302 Found: a temporary move. Search engines keep the original URL indexed. Use it for maintenance pages, short promotions and redirects that depend on login or location. A 302 left in place for a permanent move is the most common redirect mistake.
- 303 See Other: sends the browser to a result page with GET after a form is submitted. It is for applications, not for moving pages.
- 307 Temporary Redirect: the same as 302, except the browser must repeat the same method and body. If Chrome DevTools shows a 307 Internal Redirect from http to https, that is the browser applying HSTS, not your server.
- 308 Permanent Redirect: the same as 301, except the method and body are kept. Use it when an API endpoint or a form target moves for good.
Real redirect chains, and what the checker said
Each row is a real test from this tool. A good chain fixes HTTPS and the www host in one hop; a chain that does them one at a time costs an extra request on every first visit.
| Start URL | Hops | Verdict |
|---|---|---|
| http://bitssolved.com | 301 to https://www.bitssolved.com/ (HTTPS and www in one hop), then 200 | Pass: one redirect |
| http://github.com | 301 to https://github.com/, then 200 | Pass: one redirect |
| http://wikipedia.org | 301 to https://wikipedia.org/, 301 to https://www.wikipedia.org/, then 200 | Warn: HTTPS at hop 1, www at hop 2 |
| https://httpbin.org/redirect/4 | Four 302s through /relative-redirect/3 to /1, then 200 on /get | Warn: 4 redirects, all temporary |
| http://example.com | No redirect: 200 over plain HTTP | Pass: answers directly |
Redirect loops: how to read one and fix it
A loop is a chain that never reaches a page. Browsers give up with ERR_TOO_MANY_REDIRECTS; this checker stops the moment a URL it has already requested comes round again, and names that URL, so you can see which two rules are fighting.
The usual causes, roughly in the order they turn up:
- A CDN or proxy that talks to the origin over HTTP while the origin redirects every HTTP request to HTTPS. The origin never sees HTTPS, so it redirects for ever. Make the proxy connect over HTTPS, or have the origin trust the forwarded protocol header.
- Two www rules that disagree: the DNS host or CDN forwards www to the bare domain while the server sends the bare domain to www. Keep one rule, in one place.
- Trailing slash rules: the application adds a slash and the web server strips it.
- A CMS whose own site address setting disagrees with the server rule, such as WordPress set to http:// behind an HTTPS redirect.
- Loops that depend on a cookie or a login. The checker sends no cookies, so a loop that only happens when signed in will not reproduce here: test that one in a private browser window.
Common errors and edge cases
- A chain that ends in 403 is not always broken. Some sites refuse automated requests: https://www.nytimes.com/ answered our checker with 403 after two 301s. Open the final URL in a browser to compare.
- "Could not reach" means a hop failed outright: the host does not resolve, the connection was refused, or the certificate is invalid. The message names the URL that failed.
- A relative Location such as /new-page is resolved against the URL of the hop that sent it, as a browser would.
- A hop that goes from HTTPS back to plain HTTP is flagged, because it undoes the encryption the previous hop set up.
- The checker stops after ten hops. A real chain that long needs shortening whatever its cause.
- Private and local addresses (localhost, 10.x, 192.168.x) are refused, so staging servers on a private network cannot be tested from here.
Further reading
- How to check a redirect chain
- 301 vs 302 redirects: which one to use
- Redirect loop errors and how to fix them
Frequently asked questions
What is the difference between 301 and 302?
301 is permanent: search engines index the target and move the old URL’s signals to it. 302 is temporary: they keep the original URL indexed. Use 301 for moves that will not be undone.
How many redirects are acceptable?
One is ideal, for example http://example.com straight to https://www.example.com/ in a single hop. Two is common. Three or more is worth cleaning up for speed and crawling.
What causes a redirect loop?
Two rules that undo each other: commonly a CDN that talks to the origin over HTTP while the origin redirects every HTTP request to HTTPS. The tester stops as soon as a URL comes round again and names it.
Do redirects hurt SEO?
A single clean 301 is fine. Long chains slow crawling and every page load, and search engines stop following after several hops.
Does it follow JavaScript or meta refresh redirects?
It reads the HTML of the final page and reports a meta refresh with its target and delay. It does not run JavaScript, so a window.location redirect will not appear: check that one in your browser’s DevTools.
Why does my browser show something different?
Browsers cache 301 redirects and apply HSTS before any request leaves, which DevTools shows as a 307 Internal Redirect. This tester starts fresh on every run, so it shows what a first-time visitor and a crawler get.
Can I test a redirect behind a login or on localhost?
No. It sends no cookies and only reaches public addresses, so redirects that depend on a session, a VPN or a private network will not reproduce.
How many redirect checks can I run?
This check runs on our server, so it has a daily limit per tool: 5 checks a day without an account and 50 a day with a free account. The count resets the next day, and a paid plan removes the limit once it is available.