# Sitemap manager

[Shopify has a predefined metafield for all resources to hide a resource from search engines and sitemaps. ](https://shopify.dev/docs/apps/marketing/seo)This app embed will take advantage of this metafield to hide/show Shopify pages from store sitemap and search engines.

Before you enable the app embed you need to create a raven (instructions below) for each type of resource you want to be able to show/hide from the sitemap and search engines.

{% hint style="info" %}
This feature is only suported for the following resource types: collection, product, article, blog, page
{% endhint %}

<figure><img src="/files/LZ6JfG3wl6wfAGAcKuVP" alt=""><figcaption><p>Go to "Ravens" page and click on "Create a new Raven"</p></figcaption></figure>

<figure><img src="/files/zjFmlwgvl2chTr5Kqa8V" alt=""><figcaption><p>Create a raven</p></figcaption></figure>

<figure><img src="/files/QqBMw1VmK01OJ68AtXPG" alt=""><figcaption><p>Create a raven for each resource you want to hide/show</p></figcaption></figure>

To enable the "Sitemap Manager" app embed, follow steps below:

<figure><img src="/files/HsKwfMdrIMvM42nS8fNJ" alt=""><figcaption><p>Go to theme customizer</p></figcaption></figure>

<figure><img src="/files/uKM64dqstEuCDbylzFB8" alt=""><figcaption><p>Click on App embeds</p></figcaption></figure>

<figure><img src="/files/7Onbagublx22IeKXiijp" alt=""><figcaption><p>Make sure that FieldsRaven "Storefront Kit" is enabled and "Include AlpineJS" is checked</p></figcaption></figure>

{% hint style="warning" %}
This is an admin only feature, the popup will be only visible to a logged-in customer with the provided email.
{% endhint %}

<figure><img src="/files/hhwSO1nrX1oslemEmN1X" alt=""><figcaption><p>1) Enable "Sitemap manager" app embed 2) Copy &#x26; paste raven ids, make sure that the raven resource type match the type in the settings 3) Add admin email 4) Save!</p></figcaption></figure>

After you login using the email you used in the settings as an admin email, you should be able to see this.

<figure><img src="/files/iMsZXvrRTNhUdsYHqEr3" alt=""><figcaption><p>FieldsRaven Hide/Show from sitemap widget</p></figcaption></figure>

<figure><img src="/files/rxjXj8jIlQ3o9yA5qQJ5" alt=""><figcaption><p>FieldsRaven Hide/Show from sitemap widget when it's open</p></figcaption></figure>

{% hint style="info" %}
Note: when a resource is hidden from the sitemap,  it won't appear in search results when customers use storefront search.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fieldsraven.app/app-embeds/sitemap-manager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
