Write multiple sitemaps from a single crawl #465
Unanswered
code23-isaac
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to create sitemaps for different content on my site, i.e. blog posts, blog categories, products, product categories, etc… I can achieve the specific content types using hasCrawled(), for instance product categories:
The problem is I can't now access the original crawl data. If I write the above to file like:
The next sitemap I export also has the categories in it.
Is there a way to crawl the site once and write multiple different sitemaps from that, based on url conditions?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions