Google On How To Block Parts Of Content On A Page

Aug 23, 2023 - 7:31 am 1 by

Google Robot Consuming Content

Google's Gary Illyes gave some maybe unsanctioned ways to block portions or part of your content on a specific page. So let's say you want a section or paragraph or two not to be seen by Google Search, Gary provided some ways to make sure search engines don't see it.

Keep in mind, Google has no true mechanism to block parts of pages for indexing, not even the the nosnippet tag. That being said, here are some, as some would call, "hacks," to do this.

Gary posted on LinkedIn, "Crawlers are just http clients like your browser that will download whatever bytes a server gives them. If the server doesn't give the bytes for a certain section, the crawler will have not crawled that section."

So what do you do?

(1) "Put that section in JavaScript that's disallowed for crawling," he wrote.

or

(2) "If you hate yourself enough (like me), hack your http server to conditionally skip returning certain bytes," he added.

He did add a disclaimer saying, "Note that most search engines don't particularly like this practice because historically it's been used for spamming the living hell out of the internet."

So be careful when doing this, although, you probably shouldn't do this at all.

Forum discussion at LinkedIn.

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: December 1, 2025

Dec 1, 2025 - 10:00 am
Logos

Google Seasonal Holidays 2025 Doodle Live

Dec 1, 2025 - 9:20 am
Google

Google Investing In Big Gemini App User Experience 2.0 Update

Dec 1, 2025 - 7:51 am
Google

Google Discover Tests Top Searches Widget Leading To AI Mode

Dec 1, 2025 - 7:31 am
Google

Google AI Mode Tests Hover Style Inline Links

Dec 1, 2025 - 7:21 am
Google Ads

Google Ads To Resurrect Website Optimizer?

Dec 1, 2025 - 7:11 am
 
Previous Story: Bing Image Creator To Support Accurate Text Generation Soon