Current language
English
  • Deutsch
  • Français
  • Italiano
  • Nederland
  • 日本の
  • 简体中文
  • Русский
  • Svenska
  • Dansk
  • Português
  • Español
  • Norsk
  • Polski
  • עִבְרִית
  • 한국어
  • Magyar
  • Ελλάδα
  • Tiếng Việt
  • Hrvatski
  • Download IOTransfer for 1-Click iPhone Transfer, Backup & Management.

Home > Tips > How to Block a Website on Safari for iPhone/iPad and Mac

How to Block a Website on Safari for iPhone/iPad and Mac

how to block a website on Safari? If you don't want to blog some websites on Safari, check this article and see how to block a website on Safari for iPhone, iPad, iPod and Mac.

Updated May 09,2017 | by Niko

Does anyone want to know how to block a website on Safari? Check this article and see how to block a website on Safari for iPhone, iPad, iPod and Mac.

First of all, let’s recapitulate Safari.

yosemite-safai_icon.pngDeveloped by Apple, based on the WebKit engine, Safari is a web browser of Mac OS X and it is used to replace the previous Internet Explorer for Mac. Safari mobile version has been introduced since the introduction of the first iPhone in 2007. Safari is also the default browser on iPhone, iPad and iPod touch.

As one of the most popular browsers, Safari ensures user-friendly interface, experience and high security, efficiency.

No matter for what purpose, you may want to block websites on Safari sometimes. In the following, we are going to discuss how to block a website on Safari for iPhone/iPad/iPod and Mac respectively.

How to Block a Website on Safari for iPhone

In addition to iPhone, the following steps to block a website on Safari apply to iPad and iPod touch as well. Here’s how to block a website on Safari using iOS devices (iPhone, iPad and iPod).

Notice: if you set iPhone (iPad or iPod) to block websites, then you cannot access those websites from Safari as well as any other browsers you have installed on your device.

1. go to Settings

2. open General > Restrictions

block a website on safari-1.jpg

3. tap “Enable Restrictions”. You will be need to create (enter) a Restrictions passcode if you haven’t enabled Restrictions feature before.

Enable Restrictions on iPhone.jpg

4. scroll down, and tap “Websites”. There are 3 options: All Websites, Limit Adult Content and Specific Only.

block a website on safari-2.PNG

5. To block a website, then tap “Limit Adult Content” and “Add a Website” in Never Allow section

limit adult content on iphone.PNG

6. enter the website address that you want to block on Safari. For example, we enter www.facebook.com, and click done.

block a website on safari-3.PNG

7. open Safari, enter www.facebook.com, and you will see this website is blocked

block a website on safari-4.PNG

How to Block a Website on Safari for Mac

There are several ways to block a website on Safari for Mac, but in this article, we only introduce you 2 ways to help you block a website on Safari for Mac quickly and effectively. Check and see how to block a website on Safari for Mac with Terminal and Parental Controls.

How to Block a Website on Safari for Mac with Terminal

1. open Spotlight Search and launch the Terminal

2. type “sudo pico /etc/hosts” and enter, you will be asked to enter the password to go on

Mac Terminal.jpg

3. once you enter the Terminal text program, create a new line to type the address

4. type 127.0.0.1 followed by the URL, eg: 127.0.0.1 www.facebook.com (each URL address should be in a separate line)

Mac Terminal Sudo.jpg

5. press Ctrl+O and Enter to save changes and exit the Terminal editor

Do not forget to flush the cache to make sure the settings can take effect. To flush DNS, type sudo dscacheutil –flushcache and Enter. If you want to disable the restrictions, follow the above steps and remove those URL.

How to Block a Website on Safari for Mac with Parental Controls

*Note that Parental Controls cannot apply to admin account, and you have to create another user account to use this feature to block a website on Safari.

1. go to System Preferences

2. choose Parental Controls

System Preferences-Parental Controls.jpg

3. create a new user account or convert the current account to a parental control account

Parental Controls Options.jpg

4. open the Parental Controls menu, choose Web > Try to limit access to adult websites > Customize…

Parental Controls Options - 2.jpg

5. click “+” under “Never allow these websites” and enter the site URL you want to block on Safari

Block A Website on Mac.jpg

Block A Website on Mac - 2.jpg

You may want to know:


We use cookies to improve content and ensure you get the best experience on our website. Learn more about our privacy policy.

I Accept

IOTransfer Black Friday Sale - Up to 83% OFF

Get it Now