I have many pages with lots of text in it. But I will always have two sections of text and I want to prevent one section from appearing in search results, the other section must be indexed.<p class=please-index-me>text</p><p class=get-out>never index me please</p>I thought that maybe if I load the please don't index me text with JavaScript maybe search engines wouldn't look for it. But I am not sure it would work and this is not really nice.I was wondering if there is a way to tell search engines hey, this text you can't grab, move on. So, is there a way to do it?
How to prevent a search engines from indexing a section of a page?
search engines;indexing