How to Stop Automatic Redirecting

One of the most common techniques used to redirect a user from one web page to another is by using the "meta-refresh" tag. This line of code triggers a countdown, which goes unseen by the user, until the page automatically redirects to a specified URL. This allows a website owner to force the user to visit any web page they want, which is a security risk if the web page contains malware or viruses. Fortunately, many web browsers allow you the option of disabling automatic redirection.

Hands on laptop keyboard
A woman's hands on a laptop computer
credit: fizkes/iStock/Getty Images

Internet Explorer

Step

Click the "Tools" menu, then click "Internet Options."

Step

Click the "Security" tab. Click the "Custom Level" button.

Step

Scroll down to the "Miscellaneous" section in the "Security Settings" window.

Step

Click the "Disable" radio button under the "Allow META REFRESH" option to disable the meta-refresh tag.

Step

Click "OK" to confirm the security configuration change.

Mozilla Firefox

Step

Click the "Tools" menu, then click "Options."

Step

Click the "Advanced" button, then click the "General" tab.

Step

Click to place a check in the "Warn me when web sites try to redirect..." check box, under the "Accessibility" section.

Step

Click the "OK" button to confirm the change.

Opera

Step

Click the "Tools" menu, then click "Preferences."

Step

Click the "Advanced" tab.

Step

Click to clear the check from the "Enable automatic redirection" check box.

Step

Click "OK."