SEO case study

Concept, Astro build and SEO by Kent Buca. This site is a portfolio piece for a fictional Austin law firm. It shows how the SEO was planned and implemented. It makes no claim about rankings, traffic or leads.

Approach

The build follows the Compact Keywords method: reach people who know what they need but have not chosen a provider, give each need a focused page, and fix crawling and indexing before adding content.

  1. Audit the rendered pages, not just the source code.
  2. Manage canonical, share and structured data tags from one component.
  3. Assign one primary keyword to each practice page from one data file.
  4. Link related practice pages to each other, so none depends on the hub alone.
  5. Turn the rules into an automated check on the production build.

Before and after

AreaBeforeAfter
Canonical, share tags, structured dataMissing on content pagesOn every indexable page
Sitemap, robots.txt, llms.txt, 404 pageMissingAll present
Practice page URLsGeneric, such as /dog-bite-injuriesKeyword URLs with 301 redirect rules
Practice page headlinesMixed case ending in “LAWYERS”One headline that matches the keyword
Team page headlineRead as only “OUR”Describes the page, same visible design
Least-linked practice pages2 internal links in5 or more
PhotosLarge JPEGs shared between pagesWebP, with one named hero per practice page

Keyword map

Keywords come from the firm’s services and city. They have not yet been checked against search volume data or a manual review of search results.

Primary keywordPage
austin personal injury lawyerHome
austin car accident lawyerAustin Car Accident Lawyer
austin truck accident lawyerAustin Truck Accident Lawyer
austin motorcycle accident lawyerAustin Motorcycle Accident Lawyer
austin rideshare accident lawyerAustin Rideshare Accident Lawyer
austin drunk driving accident lawyerAustin Drunk Driving Accident Lawyer
austin pedestrian accident lawyerAustin Pedestrian Accident Lawyer
austin catastrophic injury lawyerAustin Catastrophic Injury Lawyer
austin wrongful death lawyerAustin Wrongful Death Lawyer
austin construction accident lawyerAustin Construction Accident Lawyer
austin slip and fall lawyerAustin Slip and Fall Lawyer
austin dog bite lawyerAustin Dog Bite Lawyer
austin hit and run accident lawyerAustin Hit and Run Accident Lawyer

Site structure

The main path is home, then the practice area hub, then a practice page. Each practice page also links to three related ones. The guides cite public sources and link back to the hub.

Structured data choices

  • Practice pages describe the service and the questions visible on the page.
  • Guides are marked up as blog posts, and breadcrumb data shows where pages sit.
  • No review or rating markup, because the reviews on this site are samples.
  • No street address or phone in structured data, because the law office is fictional.

Automated quality check

A script reads every built page and fails the run when it finds any of these:

  • Broken internal links, missing images and missing alt text
  • Missing or duplicate titles and descriptions, and descriptions outside 120–158 characters
  • Anything other than one H1, or a canonical that does not match the URL
  • Missing share tags, invalid structured data, and any rating or review markup
  • Keyword placement in the URL, title, description, headline, first sentence and hero alt text
  • Orphan pages, pages more than three clicks deep and sitemap gaps

On its first run, it caught links that still pointed to a removed page.

Page speed

Google PageSpeed Insights, homepage, single run on November 26, 2026. These are lab results with no real-user data, and scores vary between runs. View the report.

Score or metricMobileDesktop
Performance95100
Accessibility10096
Best practices96100
SEO100100

To get there: converted and resized photos to WebP with phone-sized versions, replaced a 439 KB logo with a small WebP, stopped web fonts blocking the first paint, inlined styles, removed phone entrance delays and left unused files out of the deployment.

Not yet done or measured

  • Keyword research with volume data and search results review.
  • Rewriting the AI-drafted page introductions, titles and descriptions by hand.
  • Expanding the shorter guides with first-hand writing.
  • Search Console and Bing setup, a third-party crawl and share preview checks.
  • On-page grader scores, real-user speed data and rank tracking.
Portfolio concept · fictional firm