How to Stop Page Redirects: Chrome, Firefox, Edge, Safari (2024)

  • Categories
  • Computers and Electronics
  • Internet
  • Internet Security
  • Internet Filtering

Download Article

A user-friendly guide to block page redirects on multiple desktop browsers

Written byNicole Levine, MFA

Last Updated: May 26, 2024Fact Checked

Download Article

  • Using Safari
  • |
  • Using Google Chrome
  • |
  • Using Mozilla Firefox
  • |
  • Using Microsoft Edge
  • |
  • Using Opera
  • |
  • Video
  • |
  • |
  • Tips

When a page redirect happens on your browser, you're taken from one URL to another. In some cases, this is caused by a spam link, and it's best to avoid these redirects to avoid viruses or malware. Luckily, many browsers have built-in features to protect you from page redirects. This wikiHow will show you how to block a website from redirecting you to another page using Google Chrome, Mozilla Firefox, Microsoft Edge, Safari, and Opera on a PC or Mac computer.

Things You Should Know

  • On Chrome, click "⋮" → "Settings" → "Privacy and Security" → "Site settings" → "Pop-ups and redirects". Make sure it's toggled on.
  • On Firefox, you'll need to edit about:config to block page redirects.
  • On Microsoft Edge, click "•••" → "Settings" → "Cookies and site permissions" → "Pop-ups and redirects". Toggle on "Block".

Method 1

Method 1 of 5:

Using Safari

Download Article

  1. 1

    Open Safari on your Mac. While Safari doesn't have a way to block page redirects specifically, you can block pop-ups, turn on warnings for fraudulent websites, and enable content blockers to block ads.

    • If you're seeing the error "Could not open the page, too many redirects" while browsing a particular website, skip to Step 8.
  2. 2

    Click the Safari menu and select Settings. This menu item will be called Preferences on earlier versions of macOS.

    Advertisem*nt

  3. 3

    Click the Security tab. You'll find this at the top of the window.

  4. 4

    Check the box for "Warn when visiting a fraudulent website." It's near the top of the window.

    • If this box is already checked, skip this step.
  5. 5

    Click the Websites tab. It's at the top of the window.[1]

  6. 6

    Enable "Content Blockers" to block ads. Click Content Blockers in the left panel, then select On. Safari's built-in ad blocker does allow some ads through, but does a good job of hiding other fraudulent content that can redirect you to scammy sites.

  7. 7

    Block pop-up windows. Click Pop-up windows in the left panel, then select Block.

    • Restart Safari to apply your settings. Safari will now block page redirects.
    • If needed, you can also delete cookies.
  8. 8

    Fix the "Too many redirects" error. If you're getting this error on a specific website, you can fix it by removing saved data for that site. Here's how:

    • In Safari > Settings, click Privacy and select Cookies and website data.
    • Click Details or Manage Website Data.
    • Search for the site you're having problems with.
    • Select the site and click Remove > Remove Now.
    • Refresh the page to view the site without errors.[2]
  9. Advertisem*nt

Method 2

Method 2 of 5:

Using Google Chrome

Download Article

  1. 1

    Click at the top-right corner of Chrome. By default, Google Chrome will automatically block all pop-ups and page redirects. Use this method to double-check you have the feature turned on.[3].

  2. 2

    Click Settings. You'll find this near the bottom of the drop-down menu.

  3. 3

    Click Privacy and Security. This will be in the left panel, underneath Autofill.

  4. 4

    Click Site settings. This will be underneath Security.

  5. 5

    Scroll down and click Pop-ups and redirects. A new page will open.

  6. 6

    Click the bubble next to "Don't allow sites to send pop-ups or use redirects". You'll need to restart Google Chrome to apply any changes.

    • If this option is already selected, page redirects are already being blocked in Chrome.
  7. Advertisem*nt

Method 3

Method 3 of 5:

Using Mozilla Firefox

Download Article

  1. 1

    Open Mozilla Firefox. While Firefox used to have a simple menu option to block page redirects, they've removed the feature from their menus. However, you can still block page redirects by editing the browser's advanced configuration file.

    • Editing this file will allow you to choose whether you want to be redirected to a different site when a site attempts to redirect you.
    • Be sure to check for updates and download accordingly.
  2. 2

    Go to about:config. To get there, just type about:config into the address bar at the top of Firefox, then press Enter or Return.

  3. 3

    Click Accept the Risk and Continue. This opens the advanced configuration editor.

    • Be very careful when editing this file, as you can inadvertently break things.
    • Type Accessibility.blockautorefresh into the Search bar. This filters the settings list to show only two items.
  4. 4

    Double-click false next to "Accessibility.blockautorefresh." This changes the value to true. Now, any time a website attempts to redirect you to a different page, you'll be asked whether you want to go to that page or stay where you are.[4]

  5. Advertisem*nt

Method 4

Method 4 of 5:

Using Microsoft Edge

Download Article

  1. 1

    Click the menu in Edge ••• . You'll see it at the top-right corner of your browser.

  2. 2

    Click Settings. It's at the bottom of the menu. A new page will open.

  3. 3

    Click Cookies and site permissions. You can find this on the left panel, underneath Share, copy and paste.

    • If you don't see this option, click the three-line menu at the top-left corner of the page.
    • If you need to update Microsoft Edge, click About Microsoft Edge in the left panel.
  4. 4

    Scroll down and click Pop-ups and redirects. This will be underneath the All permissions header.

  5. 5

    Toggle on

    "Block (recommended)." If this option is already selected, page redirects are already being blocked in Microsoft Edge.

  6. Advertisem*nt

Method 5

Method 5 of 5:

Using Opera

Download Article

  1. 1

    Launch Opera. This looks like a red o.

  2. 2

    Click the cog icon in the left panel. The Settings menu will open.

  3. 3

    Scroll down and click Privacy and security. This will be underneath the Advanced header.

  4. 4

    Click Site Settings. You can find this underneath Security.

  5. 5

    Click Pop-ups and redirects. This will be underneath the Content header.

  6. 6

    Toggle on

    "Allowed". If this option is already selected, page redirects are already being blocked in Opera.

  7. Advertisem*nt

Community Q&A

Search

Add New Question

  • Question

    Why, when I open my phone, does Chrome automatically open pages and redirect?

    How to Stop Page Redirects: Chrome, Firefox, Edge, Safari (39)

    Community Answer

    On your phone, go to Settings, Apps, Chrome, and Clear App Data. That will clear recently visited pages and bookmarks and should resolve the problem.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 11Helpful 7

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

      Advertisem*nt

      Video

      Tips

      • Adware on your computer or in your browser can cause redirects as well. Try scanning your computer for viruses and removing extensions and add-ons from your browsers to clear out any malware that might be causing redirects.

        Thanks

        Helpful0Not Helpful1

      • There is no guaranteed way to block 100% of page redirects.

        Thanks

        Helpful0Not Helpful2

      • Most browsers will give you the option of continuing to a redirected page when a redirect is blocked.

        Thanks

        Helpful0Not Helpful0

      Submit a Tip

      All tip submissions are carefully reviewed before being published

      Submit

      Thanks for submitting a tip for review!

      How to Stop Page Redirects: Chrome, Firefox, Edge, Safari (40)

      Advertisem*nt

      You Might Also Like

      How toBlock Access to Your Facebook Account Temporarily
      4 Ways to Block a Website in All Web Browsers4 Easy Ways to Block Any Website on Your Computer6 Ways to Unblock a Website at Work, Home, or SchoolHow toForget Something Horrible You Saw on the InternetHow to Block Adult Content on Any DeviceHow toBlock a Website in Google ChromeHow toBlock Websites on an iPhoneHow to Block p*rn from Google Search on Any DeviceHow toBlock Websites on FirefoxHow toOpen Your Port 80 Behind a FirewallHow toBypass Your School's Filter on Any iOS Device (Hack Free)

      Advertisem*nt

      About This Article

      How to Stop Page Redirects: Chrome, Firefox, Edge, Safari (55)

      Written by:

      Nicole Levine, MFA

      wikiHow Technology Writer

      This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 601,921 times.

      How helpful is this?

      Co-authors: 14

      Updated: May 26, 2024

      Views:601,921

      Categories: Internet Filtering

      Article SummaryX

      1. Open Chrome.
      2. Click the menu.
      3. Click Settings.
      4. Click Advanced.
      5. Scroll down to "Privacy and security."
      6. Toggle on "Safe Browsing."
      7. Restart Chrome.

      Did this summary help you?

      In other languages

      Portuguese

      French

      Spanish

      German

      Indonesian

      Russian

      Thai

      Arabic

      Chinese

      Dutch

      Hindi

      Turkish

      Korean

      • Print
      • Send fan mail to authors

      Thanks to all authors for creating a page that has been read 601,921 times.

      Is this article up to date?

      Advertisem*nt

      How to Stop Page Redirects: Chrome, Firefox, Edge, Safari (2024)

      FAQs

      How to Stop Page Redirects: Chrome, Firefox, Edge, Safari? ›

      On Chrome, click "⋮" → "Settings" → "Privacy and Security" → "Site settings" → "Pop-ups and redirects". Make sure it's toggled on. On Firefox, you'll need to edit about:config to block page redirects. On Microsoft Edge, click "•••" → "Settings" → "Cookies and site permissions" → "Pop-ups and redirects".

      How do I stop Chrome from redirecting pages? ›

      Change your default pop-ups & redirects settings
      1. On your computer, open Chrome.
      2. At the top right, click More. Settings.
      3. Click Privacy and security Site Settings. Pop-ups and redirects.
      4. Choose the option that you want as your default setting.

      How do I fix too many redirects on Safari? ›

      Solution
      1. From the menu bar in Safari, choose Safari > Preferences, then click Privacy.
      2. Click Manage Website Data.
      3. Use the Search field to find the name of the redirecting website, then select the website and click Remove. ...
      4. Click Done, then close Safari preferences.
      May 9, 2023

      How do I stop Firefox from automatically redirecting another page? ›

      How to Block Redirects in Firefox
      1. Go to about:config ;
      2. Set network. http. redirection-limit to 1.
      Mar 3, 2023

      Why does my browser keep redirecting me to other websites? ›

      A browser hijacker is a malware program that modifies web browser settings without the user's permission and redirects the user to websites the user had not intended to visit. It is often called a browser redirect virus because it redirects the browser to other, usually malicious, websites.

      How can you disable page redirection? ›

      On Chrome, click "⋮" → "Settings" → "Privacy and Security" → "Site settings" → "Pop-ups and redirects". Make sure it's toggled on. On Firefox, you'll need to edit about:config to block page redirects. On Microsoft Edge, click "•••" → "Settings" → "Cookies and site permissions" → "Pop-ups and redirects".

      How do I stop redirects on Edge? ›

      To prevent unwanted redirects in Microsoft Edge, you can follow the steps below:
      1. Click on the three dots icon located at the top right corner of the browser.
      2. Select Settings. ...
      3. Scroll down to the Cookies and Site permissions , click on it.
      4. Click on Pop-ups and redirects.
      5. Toggle the Block switch to the On position.
      Nov 18, 2023

      How do I stop Chrome from redirecting too many? ›

      How To Fix Too Many Redirects
      1. Clear cookies on the redirecting website.
      2. Clear your browser cache.
      3. Ensure your SSL certificate is installed correctly.
      4. Evaluate your third-party services and plugins.
      5. Reset your htaccess file.
      6. Contact your hosting provider.
      Apr 3, 2024

      Why does my Safari keep redirecting me? ›

      Browser redirection malware on Mac, notably impacting Safari, has emerged as a prevalent cyber nuisance that deviates from the usual browsing experience towards unauthorized destinations. Apple users experience unwarranted navigation to different websites, typically for ad revenue generation or phishing purposes.

      How do I fix avoid multiple page redirects? ›

      Redirection Best Practices
      1. 1) Favour Server-side (web-server or application), vs Client-side (HTML, or JavaScript) redirects. ...
      2. 2) Say no to client-side redirects. ...
      3. 3) Avoid landing page redirects/Minimize redirect chains. ...
      4. 4) Periodically review your redirects. ...
      5. For Apache. ...
      6. For NGINX. ...
      7. For IIS.
      Nov 16, 2020

      What is the no redirect addon for Firefox? ›

      NoRedirect lets the user take control of HTTP redirects. It can be used to interdict an ISP's DNS search redirection hijacks, preview/screen "shortened" URLs (e.g., TinyURL), stop the annoying redirection of "smart" error pages, etc.

      How do I fix redirects in Firefox? ›

      Try These Fixes First
      1. Clear Your Browser Cache. The first action you should take when encountering pretty much any error is to clear your Firefox browser cache. ...
      2. Clear Cookies for the Site With Problems. Another common cause of the “The page isn't redirecting properly” message is an issue with the site's cookies.
      Oct 1, 2021

      How do I turn off redirect notice in Chrome? ›

      Stop Redirects in Chrome Launch Chrome and press the three dots at the top-right corner. Select “Settings.” Press “Security and Privacy” in the left menu. Choose “Site Settings.” Scroll down and select “Pop-ups and redirects.” Ensure “Don't allow sites to send pop-ups or use directs” is selected.

      How do I stop website redirects in Safari? ›

      iOS:
      1. Open the Settings app.
      2. Scroll down to Safari and tap on it.
      3. Scroll down to “Prevent Cross-Site Tracking”
      4. Toggle it off so that it is white.
      Jan 21, 2021

      How do I stop unwanted redirects in Chrome? ›

      Stop Redirects in Chrome
      1. Launch Chrome and press the three dots at the top-right corner.
      2. Select “Settings.”
      3. Press “Security and Privacy” in the left menu.
      4. Choose “Site Settings.”
      5. Scroll down and select “Pop-ups and redirects.”
      6. Ensure “Don't allow sites to send pop-ups or use directs” is selected.
      Mar 15, 2022

      Why is my Chrome always redirecting? ›

      Some extensions can cause unwanted redirects. If you have any extensions installed, try disabling them one by one to see if that fixes the problem. Scan your computer for malware. Malware can sometimes cause unwanted redirects.

      Why does Chrome redirect to another page? ›

      Some extensions can cause unwanted redirects. If you have any extensions installed, try disabling them one by one to see if that fixes the problem. Scan your computer for malware. Malware can sometimes cause unwanted redirects.

      How do I stop Google Chrome from opening random pages? ›

      To block pop-ups and redirects in Chrome on Android, follow these steps:
      1. Launch Chrome.
      2. Tap on three vertical dots in the top-right corner and select Settings.
      3. Go to Site settings > Pop-ups and redirects.
      4. Turn off the toggle next to Pop-ups and redirects.
      Mar 28, 2023

      Top Articles
      Latest Posts
      Article information

      Author: Merrill Bechtelar CPA

      Last Updated:

      Views: 6343

      Rating: 5 / 5 (70 voted)

      Reviews: 93% of readers found this page helpful

      Author information

      Name: Merrill Bechtelar CPA

      Birthday: 1996-05-19

      Address: Apt. 114 873 White Lodge, Libbyfurt, CA 93006

      Phone: +5983010455207

      Job: Legacy Representative

      Hobby: Blacksmithing, Urban exploration, Sudoku, Slacklining, Creative writing, Community, Letterboxing

      Introduction: My name is Merrill Bechtelar CPA, I am a clean, agreeable, glorious, magnificent, witty, enchanting, comfortable person who loves writing and wants to share my knowledge and understanding with you.