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: January 20, 2025

Jan 20, 2025 - 10:00 am
Google Ads

Google Ads Weekly Spend Fluctuations Often Due To Market Conditions Or Budget Changes

Jan 20, 2025 - 7:51 am
Google Ads

Google Ads PMax Search Terms Insights Gains Source Data

Jan 20, 2025 - 7:41 am
Google

Google Search Trending Products Carousel On Right Side

Jan 20, 2025 - 7:31 am
Google Search Engine Optimization

Google Search Quality Analyst Detects & Treats AI-Generated Content

Jan 20, 2025 - 7:21 am
Google Search Engine Optimization

Google: Don't Dynamically Update Robots.txt File Multiple Times Per Day

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