Google: JavaScript Verification Still The Way To Go For Sensitive Pages

Sep 10, 2021 - 7:31 am 0 — by

Google Oils

Back in 2008 Google's Susan Moskwa said that when it comes to showing content to search engines but not all users because of either age verification detection or other requirements, often JavaScript verification is the way to go. The same is true today, according to John Mueller of Google.

The question was around a massage service company that is not allowed to offer a specific type of massage in some cities and locations. They do not want Google to show that page for that specific massage service when a searcher is in that location. The issue is, you really can't noindex the page because other locations allow the service. But you don't want a searcher in a specific set of cities see that page.

So what do you do? JavaScript banner verification, where it may try to automatically determine your location and say you are not allowed to see this page. Or it asks you for your age or location and then says if you can see it or not.

Here is the question:

John Mueller of Google replied that "there's no way to suppress ranking for individual queries or in individual locations - you can noindex the pages, but that takes them out everywhere. For things like this you might show a JS banner depending on what you recognize, but city-level recognition is usually flakey."

This comes up with alcohol, drugs, adult themes and I guess with some massages.

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Google Search Volatility

More Details

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

ChatGPT

Businesses in ChatGPT Business Hub Live With Click Data

Nov 10, 2026 - 1:45 pm
Google Updates

Google November 2026 Core Update Is Rolling Out

Nov 10, 2026 - 1:25 pm
Google

Gemini 4 Carbon Available In Google Search AI Mode

Nov 10, 2026 - 11:50 am
Yahoo Search Engine

Yahoo Search Launches Pivot Search, Yahoo Scout App & More

Nov 10, 2026 - 10:50 am
Search Forum Recap

Daily Search Forum Recap: November 10, 2026

Nov 10, 2026 - 10:00 am
Google Search Engine Optimization

Google: It Can Take Time To Understand The Unique Value Of New Websites

Nov 10, 2026 - 7:51 am
Previous Story: Microsoft Advertising Search Ads Get Disclaimers, Tests Video Ads & More