How to Prevent Redirects in Safari

By Nicholas Markman

A redirect occurs when a link within Safari takes you to the App Store or another application. Redirects are easily prevented in iOS and OS X Yosemite.

You click a link while browsing the Web in Safari and, all of the sudden, the App Store pops up displaying what seems to be a random app. What happened? Clicking on the wrong spot can cause a redirect, which is preventable in Safari for iOS 8 for iPhone, iPad and iPod Touch as well as Safari for OS X Yosemite for Mac.

Prevent Safari Redirects in iOS 8

Update to Latest iOS

Preventing redirects in iOS is as simple as updating to the latest iOS version.

Step 1

Go to the Settings application and select General and then Software Update.

Step 2

iOS 8 Settings

If there is an update available, click Install Now to download and install it. IOS 8 includes security fixes meant to disable redirects from occurring in Safari.

Check Safari Settings

Change Safari settings to prevent redirects.

Step 1

Safari

Open Settings, scroll down and select Safari. Within the General section, make sure the Block Pop-ups option is toggled on. Under Privacy & Security, enable the Do Not Track and Fraudulent Website Warning options.

Step 2

Safari

Click the Block Cookies option within Safari settings. Set the option to either Always Block or Allow from Websites I Visit, which may prevent redirects as you browse the Web.

Warning

Blocking cookies may affect certain websites' functionality. Cookies are used to save login info and customization options as well as power features such as an e-commerce site's product suggestions.

Prevent Safari Redirects in OS X Yosemite

Check Safari Security Preferences

Step 1

Safari

Click Safari in the menu bar while within the app and select Preferences. In the Preferences window, select the Security tab.

Step 2

Safari

To prevent redirects, make sure the Block pop-up windows and Warn when visiting a fraudulent website options are checked. Unchecking the Enable JavaScript option can help with preventing redirects, but may render certain functions of websites inoperable and cause some websites to not load at all.

Check Safari Privacy Preferences

Step 1

Opening the Safari Privacy settings

Click Safari in the menu bar while within the app and select Preferences. Select the Privacy tab in the Preferences window.

Step 2

Preventing redirects in Yosemite Safari privacy settings

Check the Ask websites not to track me option. As with iOS, selecting Always block or Allow from website I visit under the Cookies and website data section may prevent redirects, but can also affect features of websites such as auto-login and suggested products.