# Exclude parts of on-page content from crawler

**URL:** <https://discuss.elastic.co/t/exclude-parts-of-on-page-content-from-crawler/275908>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [June 14, 2021, 11:16pm UTC](https://discuss.elastic.co/t/exclude-parts-of-on-page-content-from-crawler/275908 "2021-06-14T23:16:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tchocky](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@tchocky](https://discuss.elastic.co/u/tchocky)\
**Post date:** [June 14, 2021, 11:16pm UTC](https://discuss.elastic.co/t/exclude-parts-of-on-page-content-from-crawler/275908/1 "2021-06-14T23:16:34Z")

</div>

Our website has a large navigation structure in the header and a lot of legal disclaimers in the footer. Is there a way to have the web crawler not index these parts of the page?

I'm already following [these docs](https://www.elastic.co/guide/en/app-search/7.13/web-crawler-reference.html#web-crawler-reference-meta-tags-content-extraction) to markup parts of the page as custom fields so I thought if I wrapped my main body content with `<div data-elastic-name='body_content'>` it would override the existing `body_contet` field, but no such luck.

Any insights would be greatly appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![Mark\_Hoy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_hoy/32/99384_2.png) [@Mark\_Hoy](https://discuss.elastic.co/u/Mark_Hoy)\
**Post date:** [June 14, 2021, 11:34pm UTC](https://discuss.elastic.co/t/exclude-parts-of-on-page-content-from-crawler/275908/2 "2021-06-14T23:34:14Z")

</div>

Hi @tchocky -

At the moment, the web crawler beta does not support excluding parts of page content, however, that functionality is on our short-term roadmap. I cannot comment as to when this will be available, but we are planning it for the future.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 12, 2021, 11:34pm UTC](https://discuss.elastic.co/t/exclude-parts-of-on-page-content-from-crawler/275908/3 "2021-07-12T23:34:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
