Solved

hiding specific div from google

Posted on 2013-10-23
3
323 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now