Search code examples
seo

Preventing Google from indexing the contents of a div by reversing the string


I want to prevent that Google indexes the contents of one <div> on my page. Of course I can create an image but that's not really an option in my case since the data is very dynamic.

So, I came up with the following solution:

Let's say that I have a string:

The quick brown fox jumps over the lazy dog.

  1. I reverse the string to: .god yzal eht revo spmuj xof nworb kciuq ehT
  2. I use a little bit of CSS to display it correctly: unicode-bidi:bidi-override; direction: rtl;

code:

<div style="unicode-bidi:bidi-override; direction: rtl;">
  .god yzal eht revo spmuj xof nworb kciuq ehT
</div>

Question: Will this affect my SEO rank negatively because Google's crawler reads:

.god yzal eht revo spmuj xof nworb kciuq ehT

..which is rubbish in English


Solution

  • I asked on Google forums and the answer is: It doesn't