One way the site announces a change

Every path that changes what the sitemap would return calls one function, which pings the changed URLs, resubmits the sitemap, and remembers the URL set only once something actually landed.

What it is

A single announce function taking optional specific URLs, a reason and a force flag. It hashes the full live URL set — static pages plus every published post — compares it to the stored hash, narrows the instant ping to what actually changed, resubmits the sitemap to Search Console, and stores the new hash only if at least one announcement succeeded. An unchanged URL set is a no-op unless forced. There is also a standalone job for re-announcing on demand, and a dry-run mode.

Also called: published a post and nothing happened · sitemap ping · announce change · publish notification

See it
One way the site announces a change
Area
Integrations
Group
Search engines
System
Search Engines
Solves
3 named problems
01Publish, unpublish, delete, edit or a new marketing page calls announceSiteChange.
02The live URL set is built from the canonical page list plus published posts.
03An order-independent hash detects real change.
A publish event fanning into two actions — narrowed instant ping and full sitemap resubmit — with the stored hash updating only after a success. Sample data — no customer information appears here.
How it works
  1. 1Publish, unpublish, delete, edit or a new marketing page calls announceSiteChange.
  2. 2The live URL set is built from the canonical page list plus published posts.
  3. 3An order-independent hash detects real change.
  4. 4The instant ping is narrowed to the changed URLs; the sitemap resubmit always reflects the full set.
  5. 5The hash is stored only when something landed, so a failed announcement retries on the next tick.
Why we built it

The function header is a post-mortem of three partial implementations: 'the panel's Publish pinged the post URL but never updated the change hash, the daily cron hashed only the static pages so it never noticed a post at all, and unpublish/delete announced nothing whatsoever. Three partial implementations meant a post could go live and be told to nobody — which is exactly what happened on 08-21.' The standalone job exists for a practical reason: the daily sweep 'is bundled with rank checks that cost real money per keyword, so "just re-announce the sitemap" was not something anyone could actually trigger.'

The problem
  • Three separate half-implementations meant publishes went unannounced.
  • The change hash ignored blog posts entirely.
  • Re-announcing required running a job that costs money per keyword.
Sound familiar?
What you get
One code path, so a publish is always announced.
A failed announcement retries rather than being forgotten.
A free, safe, on-demand re-announce with a dry-run option.

See it on your own jobs

Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.

or keep browsing features →