Solved

hiding specific div from google

Posted on 2013-10-23
3
330 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

710 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