How to stop web links redirecting you to dodgy sites (2024)

If you’ve ever clicked on an innocent looking link to something as benign as the Village Sweet Shop website only to suddenly find yourself presented with Hot Sex Madrigal in my Tights.com, then you’ve been redirected.

To prevent such inadvertent exposure to lewd renaissance-era music, you can instruct your browser to prevent redirects from happening. We show you where to find the settings on the most popular web browsers.

Google Chrome

For a good while now Chrome has been automatically preventing redirects. Should you wish to check that the setting isenabledthen it’s easy to do so.

Open the Chrome browser then click on the three dots icon in the upper right corner. From the drop-down menu that appears select Settings then scroll down to the bottom of the next page and click Advanced.

How to stop web links redirecting you to dodgy sites (1)

In the Privacy and security section find and select Content Settings > Pop-ups and redirects then check that the description reads Blocked (recommended).

How to stop web links redirecting you to dodgy sites (2)

If it does then you’re good to go, but if it says Allowed then you’ll need to turn off the switch positioned just to the right of the word.

Microsoft Edge

The option to block redirects in Microsoft’s Edge browser is a little indistinct, as it doesn’t mention the term at all. Nevertheless, it’s still there.

Open the browser and click on the three dots icon in the top right corner. Next, select Settings > View advanced settings, then enable the switch marked Keep me protected from malicious sites and downloads with Windows Defender Smartscreen.

How to stop web links redirecting you to dodgy sites (3)

You might need to relaunch Edge to ensure that the setting is now in place, but after that you should be safe from any naughty behaviour.

Internet Explorer

If you use Internet Explorer then, first of all, maybe it’s time to try something new? Secondly, we recommend you check out our Best web browser 2019 roundup, as modern alternatives offer far more in terms of features and performance.

All that being said, here’s a couple of different methods for preventing redirects on IE.

Open the browser and click on the Settings icon in the top right corner (the one that looks like a gear cog). From the drop-down menu that appears select Internet options.

Along the top of the window that appears you’ll see a row of tabs. Click on Security and you’ll be presented with an option to change the security level via a slider. Move it up to High and Windows will now actively prevent any redirects.

How to stop web links redirecting you to dodgy sites (4)

This isn’t a perfect solution though, as it can cause some perfectly legitimate websites to behave erratically. Give it a test run, but if you find things aren’t working well you can always return it to the Medium-High level and try the next step instead.

Select the Advanced tab then scroll down until you find the Security section. In here is a setting marked Use SSL 3.0, which will make IE create encrypted connections with servers online.

How to stop web links redirecting you to dodgy sites (5)

Click the tickbox to enable the feature then click the OK button at the bottom of the window.

Mozilla Firefox

Open the browser and click on the three lines icon in the top right corner. From the drop-down menu that appears select Options. On the next screen click the Privacy & Security section in the left-hand column.

Now, there are two settings that you’ll want to enable. The first is Block pop-up windows which is located in the Permissions section.

How to stop web links redirecting you to dodgy sites (6)

The second is Block dangerous and deceptive content that you’ll find further down in the Security section.

How to stop web links redirecting you to dodgy sites (7)

That’s it. Relaunch Firefox and any redirects should now be stopped.

Opera

As Opera uses the same engine as Chrome, the steps to block redirects are very similar. And redirects should be blocked by default. To check this is the case, open Opera and click on the Menu option in the top left corner. From the drop-down menu select Settings then scroll down and click Advanced.

In the Privacy & security section choose Content settings > Pop-ups and redirects then ensure that the Allowed option is turned off.

How to stop web links redirecting you to dodgy sites (8)

Safari

Mac users can suffer from redirects too, so here’s how to enable the protections available in Apple’s Safari browser.

Open the app and click on the Safari option in the top left corner. Select Preferences from the drop-down menu then click on the Security tab.

How to stop web links redirecting you to dodgy sites (9)

Here you’ll find the option to Warn when visiting a fraudulent website, so make sure it’s ticked. This should halt any redirections in their tracks.

Redirect virus

If it’s the case that your redirects are the result of a virus on your system, then you’ll want to read our How to remove a browser redirect virus guide, as well as upping your security levels to prevent any such reoccurrence.

Take a look at our Best antivirus chart to see which are the current top options for protecting your PC.

How to stop web links redirecting you to dodgy sites (2024)

FAQs

How do I disable website redirects? ›

How to Block Redirects on Chrome
  1. Go to the Chrome browser on your computer.
  2. Click More Settings toward the top right.
  3. Select Privacy and security site settings.
  4. Click Pop-ups and redirects.
  5. Select the option to block redirects.
Jun 4, 2024

Why do I keep getting redirected to bad websites? ›

Adware and Malware: Adware and malware infections on your computer can hijack your browser settings and force it to reroute to specific websites, often filled with advertisem*nts or potentially harmful content that could mess up your computer even more.

How to solve website redirect problem? ›

See if the following steps will fix your issue.
  1. Check your browser settings. Make sure that your browser is not configured to redirect pages. ...
  2. Check your extensions. Some extensions can cause unwanted redirects. ...
  3. Scan your computer for malware. ...
  4. Contact the website you're trying to visit.
Mar 29, 2023

How do I stop a URL from redirecting in Chrome? ›

  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.
Jul 16, 2023

How do I force no redirect? ›

On Chrome, click "⋮" → "Settings" → "Privacy and Security" → "Site settings" → "Pop-ups and redirects". Make sure it's toggled on.

How do I get rid of too many redirects? ›

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

How do I reduce redirects? ›

How to remove redirects?
  1. Search the redirect.
  2. Check the reason of its existence.
  3. Check how it is affecting others or others are affecting it.
  4. Remove if not required.
  5. Update the redirect if is affecting others or others are affected by it.
  6. Use HSTS to remove SSL redirect.

What is URL redirection to untrustworthy websites? ›

URL Redirection is a vulnerability which allows an attacker to force users of your application to an untrusted external site. The attack is most often performed by delivering a link to the victim, who then clicks the link and is unknowingly redirected to the malicious website.

What is redirect to malicious websites called? ›

What is a malicious redirect? A malicious redirect is code inserted into a website with the intent of redirecting the site visitor to another website. Malicious redirects are typically inserted into a website by attackers with the intent of generating advertising impressions.

How do I permanently redirect a website? ›

To redirect a site permanently, one should use a 301 redirect. This type of redirect is best for SEO purposes and also informs the search engines that the site has moved permanently.

How can I get rid of redirect virus? ›

Change your homepage:

(at the top right corner of Google Chrome), select "Settings". In the "On startup" section, disable the malicious extension (if present), look for a browser hijacker URL below the "Open a specific or set of pages" option. If present click on the three vertical dots icon and select "Remove".

What happens when a website redirects you? ›

When a URL is changed, redirects ensure that even if the old URL exists elsewhere, users and search engines are sent to the correct URL and are able to view the intended content. Redirects are relevant when the page's parent has been changed, therefore changing the URL structure.

Is there an extension that stops redirects? ›

Redirect Blocker saves you from facing potential malicious/annoying redirects.

How do I clear a URL redirect? ›

Open the Chrome Developer Tools (F12) Go to the Network tab and make sure Disable cache is ticked Reload (or navigate to) the page you no longer want to be redirected while keeping the dev tools open. This will clear the cached redirect.

How do I mask a URL redirect? ›

Here's a step-by-step guide on how to set up URL masking:
  1. Choose a reliable hosting provider. ...
  2. Access your hosting control panel. ...
  3. Locate the URL masking option. ...
  4. Enter original and masked URLs. ...
  5. Select redirect type. ...
  6. Save your settings.
Jan 6, 2024

Why does my website redirect when I click on it? ›

Malware infections or hacked websites can sometimes cause malicious redirects. For example: Adware browser extensions can inject pop-ups, and pop-unders, and redirect ads into websites. Compromised sites may load hiddeniframes that redirect visitors to spam or scam pages.

How do I stop a domain from redirecting? ›

Delete your Domain Redirect for Web Hosting

Click the Web Hosting link. Click Redirects in the Domains module. Under Current Redirects, click Delete for the redirect that you want to remove. Click the Remove Redirect button to confirm the removal.

How do I clear redirects in Chrome? ›

Open the Chrome Developer Tools (F12) Go to the Network tab and make sure Disable cache is ticked Reload (or navigate to) the page you no longer want to be redirected while keeping the dev tools open. This will clear the cached redirect.

What does it mean when a website redirects you? ›

Redirects are your way of telling search engines that content on a site has been moved, where it was moved to, and if that move is permanent or temporary.

Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 5854

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.