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"
Gets when the page data was last modified.
Gets the page name.
Gets the priority of this URL relative to other URLs on your site.
The value of the priority
property lets search engines know which pages
you deem most important. Its value does not affect how your pages are
compared to pages on other sites.
Valid values range from 0.0 to 1.0.
The default priority of a page is 0.5.
Gets the page title.
Gets the relative url of the page.
import wixSiteFrontend from "wix-site-frontend";
// ...
wixSiteFrontend.routerSitemap("routerPrefix").then((routerSitemap) => {
const firstEntryRelativeUrl = routerSitemap[0].url; // '/apartments/cozy-condo'
});