Hub/SEO/Optimize XML Sitemap
Task IntentSEO

Optimize XML Sitemap

Review and optimize your Shopify XML sitemap to ensure all important pages are indexed and low-value pages are excluded.

What This Sidekick Query Does

Review and optimize your Shopify XML sitemap to ensure all important pages are indexed and low-value pages are excluded.

Prompts

Copy, adapt, and run this directly in Shopify Sidekick.

Review and optimize my Shopify store’s XML sitemap for better search engine indexing:

Audit current sitemap (sitemap.xml):

  Check which pages are included
  Identify missing important pages
  Find low-value pages that shouldn’t be indexed
  Verify lastmod dates are accurate


Pages that SHOULD be in sitemap:

  Homepage, collection pages, product pages (in stock)
  Key blog posts and articles
  About, Contact, and important info pages


Pages to EXCLUDE (via noindex or robots.txt):

  Out-of-stock product pages with no SEO value
  Tag filter pages (/collections/all/tag-name)
  Search results pages
  Cart and checkout pages
  Account/login pages
  Paginated pages (page 2, 3, etc.)


Optimization steps:

  Submit sitemap to Google Search Console
  Add noindex tags to low-value pages via theme.liquid
  Update robots.txt to block crawling of filter/tag URLs
  Ensure canonical tags are correct on all pages
  Monitor indexing coverage in Search Console


Provide the exact Liquid code snippets needed for each change.

Expected Output

Review and optimize your Shopify XML sitemap to ensure all important pages are indexed and low-value pages are excluded.

Tips to Improve Results

Copy the prompt above
Open Shopify Sidekick in your Shopify admin
Paste the prompt and replace the bracketed placeholders with your details
Review Sidekick's response and apply the suggestions