• About
    • History of Dallas SEO
  • Contact
  • Topics
    • Domain Security and Recovery
    • GoDaddy
    • ICANN and New gTLDs
    • AI Search
    • Google Search Updates
    • Google Ads and PPC
    • Google Business Profile and Local Search
    • Online Reputation Management
    • Bing
    • Blogging
    • Branding
    • Domain Names
    • Google
    • Internet Marketing
    • Link Building
    • Local Search
    • Marketing
    • Public Relations
    • Reputation Management
    • Search Engine Marketing
    • Search Engine Optimization
    • Search Engines
    • Social Media
  • Tech
  • Advertise
  • Services
    • Search Engine Optimization
    • Ongoing SEO Services
    • SEO Expert Witness
    • Google Penalty Recovery
    • Mini SEO Audit
    • Link Audit
    • Keyword Research
    • Combine Websites SEO Services
    • PPC Management
    • Online Reputation Management
    • Domain Name Consultant
    • Domain Names & Expired Domains
    • Domain Name Appraisal

Bill Hartzer

19 YearsSince 2007

Home » Google » Is It OK to Use Website Cloaking?

Is It OK to Use Website Cloaking?

Posted on August 27, 2018 Written by Bill Hartzer

Note: Don’t always believe everything is posted on Twitter, or any other social media website. In this case, DejanSEO and John Mueller from Google were joking about rogue bots and cloaking. Parts of this post have been edited.

There was a recent Tweet from DejanSEO to John Mueller from Google about technical SEO. Apparently DejanSEO has rogue crawlers that disobey his robots.txt file. They crawl the website even though the robots.txt file says that they can’t crawl the website. Dan Petrovic asked John how to deal with rogue crawlers.

website cloaking

Technical SEO question. Rogue crawler disobeys my robots. @JohnMu what can I do to stop it?

John Mueller responded with:

Maybe redirect or serve it content from another website?

Keep in mind that John Mueller and DejanSEO were joking in this Twitter thread. What John suggested, like it or not, is what I would define as website cloaking. Cloaking is when you serve up content to one visitor but serve up different content to another visitor to your website. From an SEO perspective, website cloaking is done to deceive, to serve up certain content to the search engines and other content to a website’s visitors. There are generally two different ways to cloaking for SEO purposes:

  1. Identify the user based on their user-agent and serve them up certain content.
  2. Identify the user based on their IP address and serve them up certain content.

If your website serves up content to one visitor and serves up different content (or redirects them to another website or web page) to the search engines on purpose, then you’re cloaking. That violates the search engines’ guidelines. This is different than customizing the content. Customizing the content on a page is considered to be OK when you’re “customizing” the content (displaying certain content on the page) that others may or may not see based on who the visitor is. Generally that requires the visitor to have previously visited your website and accept cookies.

But if you serve up or redirect visitors based on their user-agent or based on their IP address in an attempt to deceive or hide optimized content, that could be considered website cloaking. As I said, that could be against search engine guidelines. Here’s Google’s guidelines on Cloaking, which is strictly against Google’s acceptable guidelines.

So while John Mueller was joking with DejanSEO, and suggested that he redirect (cloak) certain visitors (in this case a crawler), I actually don’t recommend that at all. Frankly, I would identify the crawler and just block them from visiting the website. If you don’t have the technical expertise to do that, then services such as CloudFlare can help stop rogue bots and crawlers from crawling your website too quickly or by crawling too many pages.

Join the discussion over on Twitter.

Update: DejanSEO told me, in a Tweet, that John Mueller “wasn’t talking about visitors, website or traffic. He meant I literally cover my walking robot from the video with a cloak to stop it from attacking my green robot.”

Related Posts

  • Page Blocked by Robots.txt Still Ranks for Competitive Keyword
  • 47 TakeAways from Google’s John Mueller’s AMA on Reddit
  • Disallow Search Engines in Robots.txt File? No Worries on Google
  • Hackers Hijack Google Results: Bybit Exposes AI-Powered macOS Malware Targeting Claude Code Searches
  • Brandpoint: 60% of Google Searches End Without Clicks

Filed Under: Google

About Bill Hartzer

Bill Hartzer is the CEO of Hartzer Consulting and founder of DNAccess, a domain name protection and recovery service. A recognized authority in digital marketing and domain name strategy, Bill is frequently called upon as an Expert Witness in internet-related legal cases. He's been sharing his insights, expertise, and research here on BillHartzer.com for over two decades.

Bill Hartzer on Search, Marketing, Tech, and Domains.

Hartzer Domains

DFWSEM logo

 

 

Brand Ambassador for:

Majestic logo

Oncrawl logo

Semrush logo

Industry Friends

  • David Daniels
  • WTFSEO
  • SEO By the Sea
  • Jeff Lenney
  • Jeff Gabriel
  • Scott Hendison
  • Dixon Jones
  • Brian Hartzer
  • Navah Hopkins
  • DNAccess
  • Hartzer on IT.com
  • Jason Olson

Connect With Bill Hartzer

  • Bill Hartzer on X
  • Bill Hartzer on BlueSky
  • Bill Hartzer on Instagram
  • Hartzer Consulting on Facebook
  • Bill Hartzer on Facebook
  • Bill Hartzer on YouTube

Recent Posts

  • 1.2 Million Brand Posts Say Stop Opening Videos With a Question
  • Shoppers Can’t Spot Fake Stores. Retailers Have to Stop Them First
  • I Rebuilt Bruce Clay’s Search Engine Chart. Bing Feeds 11 Engines.
  • XYZ Applied for the .SEO Domain. The Price Will Decide Who Uses It
  • Goodfirms Says Organic Traffic Grew for 66.3%. Nobody Checked.
  • adMarketplace Says AI Chat Ad Conversions Rose 156%. From What?
  • ICANN Opens Comments on 1,606 New gTLDs. A Comment Is Not an Objection
  • LinkedIn Leads at 5.8%, but Vista Social’s Own Data Says Don’t Compare
  • The FBI Just Put SEO in a Ransomware Alert. Site Owners Should Listen
  • My GA4 Showed 215,440 Sessions. About 680 Were Real People.

Bill Hartzer

News and analysis on search, marketing, tech and domain names since 2001.

Hartzer Consulting

Topics

  • Google Search Updates
  • AI Search
  • Google Ads and PPC
  • Google Business Profile and Local Search
  • Domain Security and Recovery
  • ICANN and New gTLDs
  • GoDaddy
  • Online Reputation Management

Site

  • About Bill Hartzer
  • Contact
  • Services
  • Advertise
  • All Topics

Legal

  • Disclaimer
  • Privacy Policy
  • Terms of Use
  • Entity Map

Copyright 2026 by Bill Hartzer and Hartzer Consulting, LLC.

Website, Content, and Marketing by Hartzer Consulting, LLC.