changeFrequency


changeFrequencystringRead-only

Gets how frequently the page is likely to change.

The value of the changeFrequency property provides general information to search engines and may not correlate exactly to how often they crawl the page.

Valid values:

  • "always"
  • "hourly"
  • "daily"
  • "weekly"
  • "monthly"
  • "yearly"
  • "never"
Get the change frequency of the sitemap entry
JavaScript
import wixSiteFrontend from "wix-site-frontend"; // ... wixSiteFrontend.routerSitemap("routerPrefix").then((routerSitemap) => { const firstEntryChangeFrequency = routerSitemap[0].changeFrequency; // 'weekly' });
Did this help?

lastModified


lastModifiedDateRead-only

Gets when the page data was last modified.

Get the sitemap entry last modified date
JavaScript
import wixSiteFrontend from "wix-site-frontend"; // ... wixSiteFrontend.routerSitemap("routerPrefix").then((routerSitemap) => { const firstEntryLastModified = routerSitemap[0].lastModified; // 'Fri Oct 13 2022 11:23:56 GMT+0300' });
Did this help?