An old link can pass through several addresses before the page loads. The address bar shows where the browser ends up, while the Network Monitor in desktop Firefox lets you trace the HTTP redirects that led there.

Firefox Network Monitor showing two redirects and the final Store page

An HTTP redirect pairs a status code with a Location response header that tells the browser which address to request next. A chain can cross hosts as well as change the path on the same site.

Sites can send different redirects depending on the cookies in the current session. The Network Monitor records what happens in the active tab, so it can show the route a site takes for your session.

Steps to trace HTTP redirects in Firefox:

  1. Open the Network panel in the tab you want to use with Ctrl+Shift+E. Network Monitor open below the active Firefox tab

    On macOS, the shortcut is Command+Option+E.

  2. Open the gear menu at the right end of the Network toolbar. Gear at the right end of the Network toolbar with the menu closed
  3. Select Persist Logs if it is unchecked. Open Network gear menu with Persist Logs unchecked

    This keeps the request list when the tab navigates.

  4. Visit the original URL you want to trace from the address bar. Original URL entered in the Firefox address bar before navigation

    The pictured trace starts at http://127.0.0.1:8000/old. A bookmark saved after a redirect may point straight to the destination.

  5. Find the document request for the original URL in the Network list. Network list showing the old, shop and store document requests

    The example starts with old in the File column and document in Initiator. Images and scripts have separate rows.

  6. Select the original request row to inspect its response in Headers. Firefox Network request list with the original old request visible before selection

    If Response Headers is out of view, drag the toolbox divider up. In the example, Status shows 302 Found and Response Headers contains Location: /shop. A 200 OK response with no Location ends the trace at the original URL.

  7. Read Status and Response Headers > Location in Headers on each redirect row, following the URL from the previous row’s Location. Second request showing 301 Moved Permanently and Location pointing to store

    Firefox resolves a relative Location against the URL of the request that returned it. Here /shop returns 301 Moved Permanently with Location: /store.

  8. Verify the final document response in Headers on the first row in the chain whose Status is no longer a 3xx redirect. Final store request showing 200 OK with the Store page above

    The final row is the original document or the request named by the preceding row’s Location. In the example, /store returns 200 OK and Firefox displays Store. An HTTP error status identifies a destination that returned an error. A redirect loop can leave the tab on a Firefox error page with no final document response.

Share this guide