Quick fix for an issue where you are able to connect to your Wi-Fi network but unable to access the internet/open a web page.
Open System Preferences (click Apple logo, top left of screen and then System Preferences), and then select Network
2. Select Wi-Fi on the left
3. Select LOCATION and then EDIT LOCATIONS
4. Click the (+) and then enter any name for the new location. Click DONE
5. Click APPLY
After that, open your web browser and try to connect to a web page. If it is still not working, try an SMC Reset (System Management Controller). This reset is safe and will not cause you to lose any data or settings. Here are the steps for an SMC reset:
First, determine whether the battery is removable. Mac notebook computers that have a nonremovable battery include MacBook Pro (Early 2009 and later), all models of MacBook Air, MacBook (Late 2009), and MacBook (Retina, 12-inch, Early 2015 and later). Learn more about Mac notebook batteries.
If the battery is nonremovable:
- Shut down your Mac.
- Using the built-in keyboard, press Shift-Control-Option on the left side of the keyboard, then press the power button at the same time. Hold these keys and the power button for 10 seconds.
If you have a MacBook Pro with Touch ID, the Touch ID button is also the power button.
- Release all keys.
- Press the power button again to turn on your Mac.
If the battery is removable: