开发者

Any way to NOT index certain keywords on page?

If I have a page that I want to be indexed, and searchable. But I have a certain keyword(s) on my page that I do not want indexed. Is there a way to do th开发者_如何学Pythonat?

So that people searching for keywords on my page that I think are assocated with me, will find me.

But if people are searching for keywords that happen to be on my page, that are not associate with my page, I do not come up?

For example If I had a blog, and I said something like:

This is evil, but not as evil as the Nazis

I want my article to be searchable, but if someone where to search for "Nazis" I do not want to come up.

Is this possible?


You can detect the incoming user agent and if it is a bot user agent render the page with the words you don't want to index.

However, chances are good that such keywords are going to be much more popular on other sites than your blog - is it really a concern?

If so, the simple fact is that "the Internet doesn't forget" - it is better not to post something compromising to begin with.


Look into the following tag:

<!--googleoff: all-->

http://www.geekzilla.co.uk/ViewC8614968-56ED-4729-9C12-F01677DAC412.htm


  • implement it as an image
  • implement it as an iframe which is blocked via robots.txt
  • implement it as a post load external javascript

i recommend not doing it via user agent cloaking as this might be seen from google side as misleading and can lead to a penalty or demotion


Google doesn't support no indexing portions of a page. You can watch a video of Google's Matt Cutts talk specifically about this issue: http://www.youtube.com/watch?v=_p37hQhHDTQ

Yahoo back in 2007 came out with a robots=nocontent which allowed you to noindex portions of your page. However, it's unclear whether or not Bing will continue to support it ... many guess that Bing won't.

There are HTML techniques that you can use like implementing the content as an image, iframe, or javascript, but those are fairly "spammy" hacks and most likely one of your competitors will report you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜