Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

hiding specific div from google

Posted on 2013-10-23
3
Medium Priority
?
345 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
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.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

879 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