When I logged in at the CPH [Copenhagen, Denmark] airport for their free Wi-Fi, many of my Safari icons were changed to the airport logo. How do I change them back?
This is the heartbreak of portal pages, something you’d think would be solved after about 15 years of publicly available Wi-Fi networks that use interception technology to require you to accept terms of service, watch an ad, log in, or make a payment to use the network.
That interception page breaks the domain naming system (DNS) process that turns human-readable names (like macworld.com) into the underlying IP addresses that are the lifeblood of the Internet. Any domain that’s typed in gets intercepted and effectively redirected to the locked-down portal page until you make the right choice. (Choose wisely!)
So if Safari chooses this moment to refresh and check that any or all of its bookmarked site icons (called favicons) are up to date, all of these requests are redirected, and the tiny icons are replaced with whatever the portal favicon is.
Apple used to make it easier to reset favicons in desktop Safari, but recent versions no longer have a specific item designed for this purpose. You’ve got two options.
You can delete the icon database that Safari keeps:
In the Finder, press Command-Shift-G and enter ~/Library/Safari
Delete the WebpageIcons.db file and empty the Trash.
You can also wipe out everything in Safari, but you’ll lose all your history, stored cookies, and local database storage:
Select Safari > Clear History.
Select All History from Clear.
Click Clear History.
You can perform the same option in mobile Safari:
Go to Settings > Safari.
Swipe down to Clear History and Website Data and tap that button.
Confirm by tapping Clear History and Data.
You can also wait: these icons are regularly, but not continuously refreshed, which means your problematic favicons will resume their normal status eventually.
Ask Mac 911
We’re always looking for problems to solve! Email yours to
email@example.com including screen captures as appropriate. Mac 911 cannot reply to email with troubleshooting advice nor can we publish answers to every question.