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"
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
Gets when the page data was last modified.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
Gets the page name.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
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.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
Gets the page title.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
Gets the relative url of the page.
function url(): Promise<string>;
import { site } from "@wix/site-site";
// ...
site.routerSitemap("routerPrefix").then((routerSitemap) => {
const firstEntryRelativeUrl = routerSitemap[0].url; // '/apartments/cozy-condo'
});
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.