Search...
priority
Gets the priority of this URL relative to other URLs on your site.
Description
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.
Type:
numberRead Only
Was this helpful?
Get the relative priority of the sitemap entry
Copy Code
1import wixSiteFrontend from 'wix-site-frontend';23// ...45wixSiteFrontend.routerSitemap('routerPrefix')6 .then((routerSitemap) => {7 const firstEntryPriority = routerSitemap[0].priority; // '0.5'89 });