Blocking Content From Search Engine Indexing

5 replies
  • WEB DESIGN
  • |
Is there any way to prevent search engines from indexing specific text on website pages? I built my site with Google Sites. I don't have access to the sitemap or the robots.txt file. However, I can insert html. Thanks.
#blocking #content #engine #indexing #search
Avatar of Unregistered
  • Profile picture of the author Daniel Santos
    Yes, it is possible to not index specific text by using the googleoff/googleon tags. For example:

    Code:
    <p>This first paragraph will be indexed.</p>
    <!--googleoff: index-->
    <p>This second paragraph will *not* be indexed.</p>
    <!--googleon: index-->
    <p>This third paragraph will be indexed.</p>
    You can read the section of this Google support page titled "Excluding Unwanted Text from the Index" for more details.
    {{ DiscussionBoard.errors[11503493].message }}
    • Originally Posted by Daniel Santos View Post

      Yes, it is possible to not index specific text by using the googleoff/googleon tags. For example:

      Code:
      <p>This first paragraph will be indexed.</p>
      <!--googleoff: index-->
      <p>This second paragraph will *not* be indexed.</p>
      <!--googleon: index-->
      <p>This third paragraph will be indexed.</p>
      You can read the section of this Google support page titled "Excluding Unwanted Text from the Index" for more details.
      Thank you for your response. Would this just prevent Google from indexing the text or all of the search engines? I could not find this answer in the link you provided.
      {{ DiscussionBoard.errors[11503671].message }}
      • Profile picture of the author Daniel Santos
        I apologize; I didn't research this well enough when I initially posted. It turns out those tags are only applicable to the Google Search Appliance and not Googlebot. According to various sources, there's some evidence that suggests text within Javascript isn't indexed (or is at least discounted to some extent), so one could use Javascript to render the text dynamically as opposed to including it in the HTML.
        {{ DiscussionBoard.errors[11503973].message }}
  • Profile picture of the author jefrin adams
    Yes !!!Daniel said the right choice upload this in your site .
    {{ DiscussionBoard.errors[11503784].message }}
    • Profile picture of the author MarkLakewood3367
      Originally Posted by jefrin adams View Post

      Yes !!!Daniel said the right choice upload this in your site .
      Thank you.
      {{ DiscussionBoard.errors[11503818].message }}
Avatar of Unregistered

Trending Topics