diff --git a/tasks/generate-sitemap.mjs b/tasks/generate-sitemap.mjs index ea37e7f9840..4a6a85823af 100644 --- a/tasks/generate-sitemap.mjs +++ b/tasks/generate-sitemap.mjs @@ -15,7 +15,11 @@ const SITEMAP_DOMAIN = process.env.SITEMAP_DOMAIN const ROOT_PATH = './client/www/next-build'; const formatDate = (date) => date.toISOString(); -const getPriority = () => 0.5; +const getPriority = (urlPath) => { + // significance to search engine crawlers, potentially improving SEO ranking + //More prirority for gen2 urls to show more importance to the crawlers. + return urlPath.includes("gen1") ? 0.5 : 1.0; +}; const PLATFORMS = [ 'android',