Solved

hiding specific div from google

Posted on 2013-10-23
3
327 Views
Last Modified: 2013-10-23
I am pulling data from our CRM database and posting it in on website as testimonials.
The data is continually updating, and each person coming to my site, sees the latest purchase.

I don't want that div and text crawled  by search engines.
is there a way to pull it in some sort of javascript/ajax tag
that will prevent the bots from indexing that content.


I do want the rest of the page crawled though
0
Comment
Question by:rivkamak
  • 2
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39594445
You could do but Google can index js/ajax content.
You could use a simple js document.write if this is a static text that you only update on page request. At least this way Google is unlikely to show it in the search listings.
0
 

Author Comment

by:rivkamak
ID: 39594469
It's not static text. It's dynamic.
If I put the document.write, in my page load, will google not crawl it?
0
 
LVL 58

Expert Comment

by:Gary
ID: 39594482
Yes but you are not grabbing it at page load are you or are you - are you using ajax to get it?
Google can/may crawl all js/ajax content.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With more and more people tethered to the internet, advertisers can reach you in new and creative ways. Push notifications on your smartphone, customized advertisements based on your previous searches, and email inboxes filled with promotional pitch…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question