How to cloak a website?

skeptik228

Newbie
Joined
Oct 27, 2025
Messages
1
Reaction score
0
Help me figure out how to cloak properly so I don't get caught by Google's filter.
Here's how I thought I'd do it. Create two pages, page1 and page2. One will have SEO text, and the other will have the text I need. Then, use a redirect for Googlebot to make the substitution. But is this the right way to do it? Or is there another way that is simpler and more reliable?


Apache config:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (Googlebot) [NC]
RewriteRule ^$ /googlebot/ [R=301,L]
 
Cloaking can get your sites penalized fast it’s risky.
Better to focus on optimizing user experience and content relevance so you rank safely and long-term.
 
I don't think your setup will work is to basic for any search engine let alone google. Following to see if someone can confirm my theory but i don't believe you should play with cloaking on google as will get your site penalized but if you used for churn and burn and want to test let us know too the results
 
Back
Top