How to watch robots.txt, your sitemap and your title tags
for changes after a deploy.
The deploy went out on a Thursday afternoon and nothing broke. Three weeks later, organic traffic to the pricing page is down by half, and someone opens the source and finds a robots meta tag that says noindex. Nobody put it there on purpose, and nobody was looking at the head of the page the day it changed.
This note sets up three watches on your own site so that this kind of change reaches you the hour it happens: robots.txt, the sitemap index and the head of the five pages that earn. Each has its own scoping and frequency. Together they take twenty minutes to set up and cost $14 a month, at $2 a page a month.
What you are really watching
Three things decide how search engines see your site, and none of them is changed by someone thinking about search at the time. robots.txt decides what gets crawled. The sitemap decides what is offered for crawling. The head of each page decides how it is indexed and listed: title, description, canonical, whether it may be indexed at all, languages, structured data. A deploy, a plugin update or a CMS edit can alter any of them without a word in the release notes.
This is not rank tracking. Ronda does not ask a search engine where you stand; it tells you what changed on the files and pages the ranking depends on, dated and with a screenshot, so you can fix it before the crawler takes the change at its word.
Before you set the watches, check each file once. The free robots.txt tester, sitemap validator and canonical checker will tell you whether what is live today is right. Check it once, then watch it.
Step 1: robots.txt, as a text diff every 15 minutes
Paste the URL of your robots.txt into a new watch. It is plain text, so choose the text diff and leave the scope as the whole file; there is nothing on it to ignore. Set the frequency to every 15 minutes and name the watch after the hostname, because an agency with ten client sites will soon have ten of these.
It rarely changes, but when it does, it goes like this. Most staging
sites carry a Disallow: / to stay out of the index, and
that file lives in the same repository as the production one. A
deploy that copies the wrong one puts the staging rule on the
production domain. Every page still answers 200. The crawler reads
the first line and leaves.
A Disallow line that stands for an afternoon costs little. One that stands for a week can take far longer than a week to undo, because pages drop out one crawl at a time and come back the same way.
Step 2: the sitemap index, daily, with a rule for lastmod
Point a second watch at your sitemap index, the file that lists your
child sitemaps. Choose the text diff and set it to daily. Then add
one ignore rule, a regex that matches the
lastmod dates, because every entry carries one and many
move every night. Without the rule you hear about the dates. With it
you hear about the URLs.
A vanished section is a struck-through line: the
loc that pointed at the products sitemap is gone. A
staging leak is every loc line changing at once,
because the hostname inside them is now the staging one. Either is
one alert on the morning it happened, not a crawl-stats mystery a
month later.
Add a watch on a child sitemap only where it matters: the products sitemap for a shop, the articles sitemap for a publisher. Each is another $2 a page a month, and a sitemap with thousands of URLs that regenerate in a new order each night needs a day of tuning. Expect fewer false alarms, not none.
Step 3: the head of five money pages, as an HTML diff
Pick the five pages that bring the revenue or the leads: the
homepage, the pricing page, the landing pages that rank, the page a
campaign points at. Create a watch on each, choose the HTML diff,
and scope it to the head element with a selector. The
visible page can change all day without an alert. The tags that
decide how the page is listed cannot.
What you will see in the diff, old line above new: the
title, the meta description, the canonical link, the
robots meta, the hreflang links and the JSON-LD block. A rewritten
title arrives as the exact words. A canonical that now points at the
homepage arrives as the exact URL. For headings and the internal
link block, scope a second watch on the same page to the main
content.
Ronda compares the rendered page, with JavaScript run, so a title written by a script is compared as a visitor sees it. The head often carries things that change on every load, a build hash in a script URL or a nonce; add a regex rule for each the first time it alerts. Hourly is enough for most sites, every 15 minutes if you deploy several times a day. It is $2 either way.
Step 4: route the alert
robots.txt and head-tag alerts go to a Slack or Teams channel called
something like #seo, and to the engineer on the
release, the one person who can revert it in minutes. Then set a
weekly difference report per site, on Monday morning, to the client
or the head of marketing. It lists every change of the week, dated,
and can be forwarded as it is. Nobody is a seat.
What the alert looks like
The message names the file or page, says how many lines changed, and shows the old line struck through above the new one. Screenshots are attached. Each change is kept for 13 months with its timestamp, so when traffic dips in March you can see what changed in February, and which deploy did it.
The rankings report tells you in three weeks. The diff tells you before the engineer goes home.
Five changes worth acting on the same hour
- A new Disallow line in robots.txt. Revert it, then ask what the deploy was meant to change. The staging file is the usual suspect.
- A robots meta that now says noindex. On a money page, the most expensive single tag on the site. Revert first, ask questions after.
- A canonical that points somewhere else. The homepage, a staging hostname, the http version. Each tells the crawler your page is a copy of another.
- A section gone from the sitemap index. Usually a build that skipped a content type. Nothing is broken on the site, which is why nobody noticed.
- A rewritten title or a thinner JSON-LD block. A plugin update that templated every title, or structured data that lost its price. The listing changes next.
Mistakes to avoid
- Watching the whole page instead of the head. You will hear about every blog teaser. Scope to the head.
- Skipping the lastmod rule. The sitemap watch alerts every morning, and you mute it by Wednesday.
- Expecting positions. This is not a rank tracker. Keep yours for the score; the watches tell you what moved on the page, and when.
- Alerting a channel the engineer is not in. The person who can revert needs the alert, not only the person who will be asked about it.
Three watches on one site is where most teams start. The full round, competitors’ sitemaps included, is on the SEO change monitoring page.
Set up the three watches during the pilot.
Tell us the site and the five pages that earn, and we’ll scope the head, write the lastmod rule and set up the Monday report with you.