Exposing your site's page structure to search engines.
A sitemap is an XML file that lists the pages of your site that should be exposed to search engine crawlers, so that they can index your content intelligently.
On Motif, the sitemap is automatically generated from the set of pages you've marked as public, so you don't need to do anything further to set it up. You can view your sitemap by heading to your public site, and navigating to
/sitemap.xml, for instance
If you wish to exclude the paths of some public pages from the sitemap, you can do so by adding a
sitemap.excludePaths entry in your
motif.json configuration file. Here is an example:
You can specify the paths either explicity, or using a glob syntax, similar to the one used for template mappings, as discussed in the Motif configuration article.
© 2022 Motif Land Inc. All rights reserved. This site is built with Motif.