How a Small Pagination Fix Boosted SEO?

Thursday, April 24, 2025

Illustration

#BuildInPublic

Sharing a small SEO improvement I made on devtools.tech — one that could have a big impact.

SEO is critical for most businesses, and it often comes up in Frontend System Design interviews. Search engine bots crawl webpages by following actual links (<a> tags) i.e. a crawler lands on a webpage then starts crawling all the links present on that webpage and keeps on forming a chain. The more meaningful links you expose, the better your chances of ranking and driving organic traffic.

Issue: While auditing one of our top pages (devtools.tech/questions/all), I noticed that pagination was handled via client-side JavaScript (onClick handler + manual URL updates). The issue? Bots don’t follow JS-triggered events, so only the first page was getting crawled and indexed.

The fix was simple: switch from buttons to proper anchor tags with URLs pointing to the next/previous pages. Same experience for users, but way better for crawlers.

A small, low-hanging fruit — but often, it's the simplest changes that have the biggest impact.

See the live changes: devtools.tech/questions/all

I’ll share results soon — stay tuned!