Redirects and response codes · Resource redirects

Resource redirects to itself

A resource URL redirects to itself, so the asset never loads and the browser gives up after a few attempts.

How this page is built

The image below is requested from a URL that redirects to itself, so it does not load.

A grey test card

Why it matters

The image on this page is requested from a URL that redirects to itself. The browser gives up after a few attempts, so the image never loads.

Self-redirecting resources waste requests, slow the page down and leave gaps or broken behaviour where the asset should be.

How to check it

Open the network panel in your browser’s developer tools and reload the page. A resource that redirects to its own address will appear repeatedly until the browser gives up. A redirect checker confirms that the location header matches the request.

How to fix it

Remove or correct the redirect rule that matches its own destination, and reference the image at its real file URL.

Rules that ignore case or trailing slashes are a common cause, so test asset paths after changing redirect configuration.

Back to all tests