Returns the sitemap for a router or dynamic page prefix.
The routerSitemap()
function returns a Promise that resolves to a list of
WixSitemapEntry
objects. Each
WixSitemapEntry
includes
information about a page, such as its URL, title, and name.
A sitemap is used by search engines to find the links to the site's pages.
The prefix of the router to get the sitemap for.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.