Website cloaking checker: compare what Google sees
Google issues this manual action when a site seems to show visitors different pages than it shows Google, or sends visitors somewhere other than the page Google saw.
What it means for your Maryland business
Google's own answer to a website cloaking check is the URL Inspection tool in Search Console: its manual actions page says to fetch affected pages with it and compare what Google received with what you see in a browser. Cloaking means showing Google one thing and visitors another, and a sneaky redirect sends visitors somewhere they didn't expect. Maryland businesses most likely to face this are those running sites with many plugins, sites that were hacked, sites that redirect by location or device, and news or membership sites with paywalls.
A cloaking notice arrives at an auto repair shop in Glen Burnie, in Anne Arundel County. In its own browser the site looks normal. The URL Inspection tool, though, shows Google receiving pages stuffed with links to an online pharmacy, and the web person traces the injected code to an outdated plugin. Visitors who arrive from Google search are also being redirected, which is why the owner never saw it when typing the address directly.
Selective redirects are easy to overlook. Redirects that fire only for visitors from Google search or from certain IP address ranges are still sneaky redirects, so test the way a searcher would. Google says such redirects are often written in JavaScript or the .htaccess file and suggests checking the content management system and plugins as well, so look in all four. Paywalled publishers need structured data marking the gated content. Request review only once everything matches, then wait for the result.
If the injected code came from a break-in and the site stores customer accounts or other personal data, the search fix is only part of the job. Under Maryland's Personal Information Protection Act, a business that discovers a breach must promptly conduct a good-faith investigation into whether personal information has been or will be misused.
In Google's words
“Your site may be showing different pages to users than are shown to Google, or redirecting users to a different page than Google saw. Cloaking and sneaky redirects are a violation of Google's spam policies.”
What Google says
Google issues this manual action when a site seems to show visitors different pages than it shows Google, or sends visitors somewhere other than the page Google saw. Its fix is to fetch affected pages with the URL Inspection tool, compare them with what a person sees, and remove the code responsible, checking JavaScript, the .htaccess file, the content management system and plugins, as Google suggests. Paywalled publishers should mark paywalled content with structured data so Google can tell it apart from cloaking.
Where to go next
The entries on either side of this one in Penalties & hacked sites.
