Is there a way to make search bots ignore certain text? [closed]

There is a simple way to tell google to not index parts of your documents, that is using googleon and googleoff:

<p>This is normal (X)HTML content that will be indexed by Google.</p>

<!--googleoff: index-->

<p>This (X)HTML content will NOT be indexed by Google.</p>

<!--googleon: index-->

In this example, the second paragraph will not be indexed by Google. Notice the “index” parameter, which may be set to any of the following:

  • index — content surrounded by “googleoff: index” will not be indexed
    by Google

    anchor — anchor text for any links within a “googleoff: anchor” area
    will not be associated with the target page

    snippet — content surrounded by “googleoff: snippet” will not be used
    to create snippets for search results

    all — content surrounded by “googleoff: all” are treated with all

source

Leave a Comment

techhipbettruvabetnorabahisbahis forumu