How to Fix ‘Safari Cannot Open the Page Because Too Many Redirects Occurred’

Navigating to an online banking portal, corporate intranet, or favorite e-commerce storefront in Apple Safari only to be greeted by a blank page and the error message “Safari cannot open the page because too many redirects occurred” interrupts your web browsing. This error—technically known as an HTTP redirection loop (HTTP status codes 301, 302, or 307)—occurs when a web server redirects Safari to a secondary URL, which in turn redirects the browser back to the original URL or another intermediate location, creating an infinite navigational loop. To protect your Mac or iPhone from crashing or consuming excessive network bandwidth, WebKit detects this cyclical ping-pong pattern and halts execution after approximately 20 redirection attempts. This troubleshooting guide breaks down why redirect loops occur and outlines practical methods to resolve the error across macOS and iOS.

Why Does Safari Report ‘Too Many Redirects Occurred’?

In standard web architecture, redirections are designed to forward users from HTTP to HTTPS, direct visitors to regional language portals, or route unauthenticated sessions to a login page. Common causes of redirect loops include:

  • Conflicting or Corrupted Domain Cookies: The web server expects an authentication cookie that Safari has either rejected or corrupted. Because the server cannot detect valid login credentials, it repeatedly redirects Safari back to the login gateway.
  • Stale Browser Cache: Cached redirection responses (such as a 301 Permanent Redirect) persisting in Safari's local cache after a web administrator has updated the server configuration.
  • Misconfigured HTTPS / SSL Enforcement: A website attempting to redirect all HTTP traffic to HTTPS, while an edge reverse proxy (such as Cloudflare) forwards requests back to the origin server over HTTP.
  • Aggressive Privacy and Tracking Protections: Safari's Advanced Tracking and Fingerprinting Protection stripping session parameters required by complex Single Sign-On (SSO) authentication flows.
  • Third-Party Content Blockers: Extensions blocking authentication scripts or tracking pixels required by the destination server to validate user sessions.

Method 1: Clear Stored Cookies and Data for the Specific Website

Purging stale authentication cookies for only the problematic domain breaks the redirection loop without deleting your global browsing history.

  1. With Safari open on your Mac, click Safari in the top menu bar and select Settings (or Preferences).
  2. Click on the Privacy tab.
  3. Click the Manage Website Data… button.
  4. In the search box in the upper-right corner, enter the domain name of the failing website (e.g. example.com).
  5. Select the domain from the list and click Remove.
  6. Click Done, close Settings, and refresh the webpage in Safari.

Method 2: Clear Website Data on iPhone and iPad

If encountering redirect loops on mobile Safari, clearing domain cache in iOS settings resolves session conflicts.

  1. Open Settings on your iPhone or iPad.
  2. Scroll down and tap Safari.
  3. Scroll to the very bottom and tap Advanced.
  4. Tap Website Data.
  5. Search for the website name in the search bar.
  6. Swipe left across the domain entry and tap Delete (or tap Remove All Website Data).
  7. Relaunch Safari and test the website.

Method 3: Test the Webpage in a Private Browsing Window

Private Browsing opens a pristine session isolated from cached cookies, extensions, and saved credentials.

  1. In Safari on Mac, press Command + Shift + N to open a new Private Window.
  2. Paste the problematic URL into the address bar and press Enter.
  3. If the website loads perfectly, the issue is confirmed to be corrupted local cookies or conflicting extensions in your standard profile.

Method 4: Disable Safari Extensions and Content Blockers

Privacy shields and ad blockers can block cookie tokens required by modern web login portals.

  1. In Safari, navigate to Safari > Settings > Extensions.
  2. Uncheck all enabled extensions, especially ad blockers, script blockers, and password managers.
  3. Reload the webpage. If it loads normally, re-enable extensions one by one to identify the specific blocker causing the redirection loop.
  4. Add an exception for the affected website within your content blocker's settings.

Method 5: Flush macOS DNS Cache and Check System Time

Stale DNS records or incorrect system clock settings can invalidate SSL certificates and authentication handshakes.

  1. Verify that your Mac's date and time are accurate: Go to Apple menu > System Settings > General > Date & Time, and ensure “Set time and date automatically” is enabled.
  2. Open Terminal (Applications > Utilities).
  3. Flush the DNS cache by running:
    sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  4. Enter your administrator password when prompted and press Enter.
  5. Restart Safari and reload the page.

For more Apple browsing solutions and WebKit troubleshooting guides, visit our Digitash Safari archive.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.