# How to add html markup or meta tags for external search engine

**URL:** <https://meta.discourse.org/t/how-to-add-html-markup-or-meta-tags-for-external-search-engine/28220>\
**Category:** Support\
**Created:** [Maio 2, 2015, 1:03am UTC](https://meta.discourse.org/t/how-to-add-html-markup-or-meta-tags-for-external-search-engine/28220 "2015-05-02T01:03:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mrosas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrosas/32/104849_2.png) [@mrosas](https://meta.discourse.org/u/mrosas)\
**Post date:** [Maio 2, 2015, 1:03am UTC](https://meta.discourse.org/t/how-to-add-html-markup-or-meta-tags-for-external-search-engine/28220/1 "2015-05-02T01:03:44Z")

</div>

We are implementing a search engine for our main site using [Swiftype](http://swiftype.com). Out of the box indexing of our discourse site includes page navigation in the search description which is not desirable. ([see here](http://www.looker.com/search2#stq=symmetric+aggregates&stp=1)).

Swiftype offers two ways to customize the search description.

1. Content Exclusion/Inclusion: add attribute to markdown to designate what should be excluded/included in search index (eg: `<p data-swiftype-index='false/true'>`)
2. Meta tags: add custom meta tags to indicate what should be included in search index (eg: `<meta class="swiftype" name="body" data-type="text" content="this is the body content" />`)

I’m not finding a way to do this without directly modifying files and it’s pretty clear to me that would break once we updated Discourse.

Would really welcome ideas on the best approach to resolving this.

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-html-markup-or-meta-tags-for-external-search-engine/28220)._
