Sitemap manager
Hide a resource from search engines and sitemaps in Shopify
Shopify has a predefined metafield for all resources to hide a resource from search engines and sitemaps. This app embed will take advantage of this metafield to hide/show Shopify pages from store sitemap and search engines.
Before enabling the embed, create one raven per resource type you want to control. Each raven needs:
Resource — the type it controls (
page,product,collection,articleorblog)Namespace
seoand keyhidden— Shopify's own predefined SEO metafield, which is what makes the setting take effectType
number_integer— the widget writes1to hide and0to show
You then paste each raven's id into the matching slot in the embed's settings. The embed has one slot per resource type, and a raven's resource must match the slot you put it in — a product raven in the Collection slot silently controls nothing.
Settings
Raven ID (Collection / Product / Article / Blog / Page)
One per resource type. Leave a slot empty to skip that type.
Admin email
The only customer who sees the widget.
How it works
Shopify reads a predefined SEO metafield when building your sitemap and when telling search engines whether to index a resource. The embed renders a small widget on the storefront that writes to that metafield through FieldsRaven — so hiding a page is a click on the page itself rather than a trip through the admin.



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




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


Last updated