Skip to content

Commit

Permalink
Update Sitemap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Dec 4, 2022
1 parent 3523236 commit 19b1f60
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 19b1f60

Please sign in to comment.