Paj Digital Labs
All articles
Digital Growth & Marketing

Technical SEO Is Plumbing: Crawl Budget, Canonicals and the Log Files Nobody Reads

Rankings problems are usually infrastructure problems wearing a marketing costume. Where crawl budget actually goes, the canonical tag mistakes that split your authority, and why the access log is the only SEO tool that does not guess.

Paj Digital Labs 3 min read
Analytics charts and planning notebook on a desk
Editorial illustration · Digital Growth & Marketing

The SEO audit arrives with 200 findings and a priority matrix, and somewhere on page 40 is the line that matters: Googlebot spent last month crawling 40,000 URLs on a site that has 3,000 pages. The other 37,000 were parameter variations, session IDs, and a faceted navigation that generates a unique URL for every combination of filters.

That is not a content problem. That is plumbing, and no amount of "quality content" fixes a crawl that is drowning in duplicates.

Crawl budget is real on any site over a few thousand pages

Googlebot does not owe you anything. It allocates crawl effort based on your server's responsiveness and its estimate of your site's value, and it spends that budget wherever your URL structure points it. Every crawl of a duplicate, a parameter page, or a pagination dead-end is a crawl your new article did not get.

Find out where the budget goes from the one source that does not guess — your access logs:

bash
grep class="text-code-string">"Googlebot" /var/log/nginx/access.log | \
  awk class="text-code-string">'{print $7}' | \
  cut -dclass="text-code-string">'?' -f1 | \
  sort | uniq -c | sort -rn | head -30

The first time you run this on a mature site is always educational. We have seen Googlebot's top-crawled URL be a calendar page for the year 2047, a search results page, and — memorably — /wp-admin/admin-ajax.php. Each one is budget on fire.

The canonical mistakes that split your authority

The canonical tag tells search engines which URL is the real one when several URLs serve the same content. The failure modes:

Protocol and host splits. http vs https, www vs apex. If all four variants return 200, you have four competing URLs. Pick one, 301 the other three, and make every canonical point at the winner.

bash
for u in http://example.com https://example.com http://www.example.com https://www.example.com; do
  echo class="text-code-string">"$u → $(curl -s -o /dev/null -w '%{http_code} %{redirect_url}' $u)"
done

Three of those must return 301. If any returns 200, fix it today.

Trailing slashes. /about and /about/ are different URLs. Same rule: one wins, the other redirects, the canonical agrees.

Self-referencing canonicals on paginated pages. Page 2 of a category should canonical to itself, not to page 1 — unless page 1 actually contains page 2's content. Canonicalizing everything to page 1 tells Google the rest of your archive does not exist.

The redirect chains that leak equity

Site migrations accumulate redirects like sediment: old domain → www → https → new path. Each hop loses a little authority and a lot of latency, and chains longer than two hops risk Googlebot giving up.

bash
curl -sIL -o /dev/null -w class="text-code-string">'%{url_effective} (%{num_redirects} redirects)\n' http://old-example.com/page

Audit the chains annually and collapse them: every old URL should 301 directly to its final destination in one hop.

robots.txt is a fence, not a vault

Block the infinite spaces — faceted filters, internal search, calendar endpoints — in robots.txt. But understand what it does: it stops crawling, not indexing. A blocked URL that other pages link to can still appear in search results, just with no description. If a page must not appear at all, it needs noindex, and noindex only works if the page is crawlable — a page that is both blocked in robots.txt and marked noindex keeps the noindex a secret from the crawler that never sees it. Yes, this trips up experienced teams.

The plumbing checklist

1. Read the access logs. Know where Googlebot actually goes. 2. One canonical host, one protocol, one slash convention. 301 everything else. 3. Block infinite URL spaces at the robots level; noindex at the page level. Never both. 4. Collapse redirect chains to a single hop. 5. Resubmit a clean sitemap that lists only URLs you want ranked.

Content is the visible part of SEO. The plumbing decides whether anyone ever crawls far enough to see it.

Paj Digital Labs

The engineering journal of Paj Digital Solutions — hosting, server infrastructure and web engineering, written by the people who run the servers.

Related reading