From 19b1f60cd2dfdfa9e9a02ee32130f19319226b47 Mon Sep 17 00:00:00 2001 From: Josh Bruce <15252830+joshbruce@users.noreply.github.com> Date: Sun, 4 Dec 2022 17:22:11 -0500 Subject: [PATCH] Update Sitemap.php --- src/Sitemap.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Sitemap.php b/src/Sitemap.php index ceea64a..d6268d1 100644 --- a/src/Sitemap.php +++ b/src/Sitemap.php @@ -13,6 +13,21 @@ use Eightfold\Sitemap\Changefreq; +/** + * https://www.sitemaps.org + * + * Regarding priority: Some search engines, specifically Google, do not pay + * much attention to priority (or lastmod). By default, we set all pages to 0.5. + * + * In your meta.json files, you can use the priority member to overwrite the + * default. We recommend the following: + * + * 1.0-0.8: Homepage, product information, landing pages. + * 0.7-0.4: News articles, some weather services, blog posts, pages that no site + * would be complete without. + * 0.3-0.0: FAQs, outdated info, old press releases, completely static pages that + * are still relevant enough to keep from deleting entirely. + */ class Sitemap implements Buildable { private const SCHEMA_VERSION = 'http://www.sitemaps.org/schemas/sitemap/0.9';