Is it possible to stop the indexing of certain parts of an HTML page. i.e If there are comments included within using the HTML Comment Tag
Hi Shaun,
You can customize search crawler and remove all HTML between comment tags. Read documentation here Customizing how crawlers process page content
Or if you use ascx controls (or transformations), you can wrap your comments in <%-- comment --%> and it will be removed from output html. For K# you can use another syntax: K# comments
Although already marked answer, here's an article i did on how to get the smart search index crawler to only index certain sections of a page
http://devtrev.com/Trev-Tips-(Blog)/December-2016/Limit-Page-Crawler-Content
I know Anton has already provided you with correct answer, however if you would like to deep dive there is an article written by Kentico support which very detailed and instructive.
Exclude certain HTML elements
Thanks, Chetan
Please, sign in to be able to submit a new answer.