Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

seo

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

like image 291
Wouter Dorgelo Avatar asked Jul 03 '12 23:07

Wouter Dorgelo


People also ask

How can I keep Google from indexing?

You can prevent a page or other resource from appearing in Google Search by including a noindex meta tag or header in the HTTP response. When Googlebot next crawls that page and sees the tag or header, Google will drop that page entirely from Google Search results, regardless of whether other sites link to it.

How do you prevent Google & other search engines from indexing a specific Web page?

1. Using a “noindex” metatag. The most effective and easiest tool for preventing Google from indexing certain web pages is the “noindex” metatag. Basically, it's a directive that tells search engine crawlers to not index a web page, and therefore subsequently be not shown in search engine results.

Does Google index hidden divs?

It will be indexed but can be frowned upon by Google if you are hiding/showing content for SEO reasons. In other words, what Google sees should be what the user sees when clicking the link. Save this answer.


2 Answers

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

like image 192
Wouter Dorgelo Avatar answered Sep 29 '22 06:09

Wouter Dorgelo


I want to prevent that Google indexes the contents of one on my page

Then I think you shouldn't put that content on the page, period.

You could try using the googleon/googleoff tags, per this article:

Tell Google to Not Index Certain Parts of Your Page

<!--googleoff: index-->
don't index this content
<!--googleon: index-->

Then again, I find this article which states that it isn't possible:

http://productforums.google.com/forum/#!topic/webmasters/qrBI_v-N4N0

How to tell Google not to? =============

You don't!

If it is content, If it is part of that page, then it Will be Crawled, and may be Indexed and Ranked

You cannot use a Meta-Tag, or a HTML tag to tell Google to ignore, discount, not use, refer or touch part of your content.

like image 24
JimmyPena Avatar answered Sep 29 '22 05:09

JimmyPena