> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: siteSite.routerSitemap(routerPrefix: string) # Method Link: https://dev.wix.com/docs/sdk/frontend-modules/site/router-sitemap.md # Method Description: Returns the sitemap for a router or dynamic page prefix. The `routerSitemap()` method 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. # Method Permissions: # Method Permissions Scopes IDs: undefined # Method Code Examples: ## Get the sitemap for a prefix ```javascript import { site } from '@wix/site-site'; // ... site.routerSitemap("routerPrefix") .then( (routerSitemap) => { const sitemap = routerSitemap; } ); /* * sitemap: * * [ * { * "url": "Ash", * "lastModified": null, * "changeFrequency": "", * "priority": null, * "title": "Ash Stowe", * "pageName": "Ash's Page" * }, * { * "url": "Aiden", * "lastModified": null, * "changeFrequency": "", * "priority": null, * "title": "Aiden Johnson", * "pageName": "Aiden's page" * }, * { * "url": "Jess", * "lastModified": null, * "changeFrequency": "", * "priority": null, * "title": "Jess White", * "pageName": "Jess's page" * }, * { * "url": "Morgan", * "lastModified": null, * "changeFrequency": "", * "priority": null, * "title": "Morgan James", * "pageName": "Morgan's Page" * } * ] */ ```