Last updated: Jun 7, 2026
On-page SEO for law firms optimizes titles, headings, content, internal links, images, and structure on your website so Google understands your pages and ranks them for the searches that bring in cases.
On-page SEO is the part of SEO you fully control. Unlike link building or reviews, every item below is something you (or your team) can fix this week.
This guide is a working checklist. Start at the top, work down, and audit one page at a time. If you only have an hour, the first five items move the needle most.
Key Takeaways
- On-page SEO is the part of SEO you control. You can fix titles, headings, content, internal links, images, schema, and speed in-house, unlike backlinks or reviews.
- Start with the highest-return five: Title tags, meta descriptions, Legal Service schema, internal links, and page speed move rankings fastest.
- Mobile and local intent dominate legal search. Most legal searches happen on phones and "near me" queries are surging, so mobile-friendliness and local-optimized titles aren't optional.
- Speed is a confirmed ranking factor. Core Web Vitals (LCP, INP, CLS) feed Google's page experience signals. Even small load-time gains lift conversions.
- Audit one page at a time. Work the checklist top to bottom per page rather than trying to fix the whole site at once.
- Comprehensiveness plus information gain wins. Cover the topic fully and add something the top results don't have: your own data, a clearer process, a real example.
On-Page SEO Checklist for Law Firms (at a glance)
- Title tag: unique, includes target keyword + city, under 60 characters
- Meta description: compelling, includes location + primary keyword
- One H1 per page: states the page topic, includes the keyword
- Logical H2–H6 structure: organized, keyword-relevant subheadings
- Clean URL: short, lowercase, hyphenated, grouped by practice area
- Internal links: point authority pages to your money pages
- External links: link to authoritative sources, set rel attributes correctly
- Legal Service schema: tell Google you're a law firm
- Page speed: load in under 3 seconds, compress everything
- Image optimization: descriptive filenames, alt text, compressed, lazy-loaded
- Mobile-friendly: responsive design, tap targets, readable without zooming
- Above-the-fold CTA: phone number and contact action visible immediately
- Readable content: short paragraphs, bullets, white space, no walls of text
- Comprehensive content: covers the topic fully, with genuine information gain
1. Optimize Your Title Tag
Your title tag is the clickable headline that shows up in Google. It's the single most impactful on-page element you can control, and it's the first thing that tells Google what a page is about.
That gives you a title like "Chicago Car Accident Lawyer." If the phrase is short enough, add a modifier to earn more clicks or catch more search volume—for example, "Chicago Car Accident Lawyer | Free Consult" or "Chicago Car Accident Lawyer Near Me."
Getting this right starts with solid keyword research for lawyers so you target terms with real search volume.
Do:
- Keep it under 50–60 characters so Google doesn't cut it off
- Include your target keyword so it reads naturally
- Always add a city or state on local pages
- Use "lawyer" over "attorney" — it gets more search volume in most cases
Don't:
- Stuff keywords
- Put your firm name at the front
- Include your phone number
- Target two practice areas (e.g. car and truck accidents) with one title
- Target multiple locations with a single page
- Use "best" or other superlatives if your state bar restricts them
2. Avoid Keyword Cannibalization on City and State Pages
If you search two terms and see mostly the same URLs ranking, Google treats them as one topic, so you should build one page, not two.
Quick test: search "Illinois personal injury lawyer." If three of the top four results have "Chicago" in the title, that's your signal. Build the "Chicago personal injury lawyer" page, and canonicalize a weaker "Illinois personal injury lawyer" page to it rather than letting them compete with each other.
3. Write a Click-Worthy Meta Description
Google doesn't use the meta description to rank pages, but it heavily influences click-through rate, and clicks matter. The description gives the searcher one more reason to choose your result.
Every good legal meta description includes:
- Your primary keyword
- Your location
- A compelling reason to click (free consultation, decades of experience, etc.)
Keep it around 150–155 characters. Note that Google often rewrites descriptions using text pulled from your page, so strong website content matters either way.
Our data: A study of 112,000+ law firm websites shows a direct correlation between optimized metadata and better ranking positions. This is low-effort, high-return work.
A bar-association note: Avoid "best" and similar superlatives in your descriptions if your state restricts them.
4. Use One H1 and a Logical Heading Structure
Heading tags (H1–H6) organize your page for both readers and Google.
- H1: the title of the page. Use it once, make it state the topic clearly, and include your focus keyword. Keep it evergreen. Constantly changing your H1 can cause ranking swings.
- H2–H6: subheadings that break content into digestible sections, in hierarchical order. Use them to target related keywords and natural variations of your main term.
5. Keep URLs Short, Clean, and Grouped by Practice Area
A clean URL helps Google crawl your site and helps clients remember it.

Best practices:
- Use lowercase letters, and separate words with hyphens (not underscores)
- Drop stop words like "and" or "the"
- Group pages by practice area to create a clear hierarchy
- Include the city in URLs for location pages (e.g. /offices/chicago/)
⚠️ Set your URL structure before launch. Changing URLs on pages that already rank can wipe out their keyword value, even if you redirect correctly.
6. Use Internal Links to Move Equity to Your Money Pages
An internal link points from one page on your site to another. They do three jobs: They help users navigate, distribute link equity across your site, and guide visitors toward your contact form.
Think of link equity as a measurable value that flows through your links. When you link from a high-authority page to an important-but-underperforming one, you pass some of that value along, giving the weaker page a better shot at ranking.
The problem is most sites barely use this lever. A study analyzing over 23 billion internal links found most pages are severely under-linked. For law firms, that's an easy edge. Deliberately linking your authority pages to your practice area pages puts you ahead of competitors who leave it to chance.
How to do it well:
- Link from your strongest pages to the pages you most want to rank
- Connect related practice area pages (e.g. "Car Accident Lawyer" → "Slip and Fall Attorney")
- Use Google Search Console's Top Linked Pages report to find your highest-authority pages
- Use descriptive anchor text, not "click here"
Internal links also keep visitors on your site longer and nudge them toward conversion, both good signals.
7. Use External Links Wisely
Linking out to authoritative sources (statutes, court decisions, respected legal publications) signals that you thoroughly researched your content. Use them sparingly and deliberately.
Set the right attributes when you link out:
- rel="nofollow" = for links you don't want to endorse or pass SEO value to (paid or uncertain sources)
- rel="noopener" = when opening in a new tab, to protect against security issues
- rel="noreferrer" = when you want to keep the traffic source anonymous (also blocks SEO value)
Open external links in a new tab so visitors stay on your site.
8. Add Legal Service Schema
Schema markup code tells search engines exactly what your content is (names, locations, services) so they can display richer, more relevant results.
For law firms, Legal Service schemais the single most important type to add. It explicitly tells Google your content belongs to a law firm, makes your pages more relevant to legal searches, and gives you a shot at rich snippets and higher click-through rates that competitors without schema don't get.
You can also mark up attorney bios, client testimonials, and legal articles.
Tip: Put "free consultation" in the priceRange field instead of fees.
9. Get Your Page Speed Under 3 Seconds
53% of mobile users abandon a site that takes longer than 3 seconds to load. With search increasingly mobile-first, you can't afford to lose that slice of your client base.
Check it: Run your page through PageSpeed Insights.
The usual culprit is large, uncompressed images. Compressing them is the highest-return speed fix for most law firm sites. Other levers: minimize CSS/JavaScript/HTML, remove unnecessary redirects, use a CDN, and improve server response time (aim for under 200ms).
Page speed also feeds your Core Web Vitals, the performance metrics Google uses to judge user experience:
- LCP (Largest Contentful Paint): how fast your main content loads (large images slow this)
- CLS (Cumulative Layout Shift): visual stability. Set image dimensions to stop layout jumps
- INP (Interaction to Next Paint): how quickly the page responds to input
10. Optimize Your Images and Media
Images are both a speed problem and a ranking opportunity. Get both right:

11. Make Every Page Mobile-Friendly
Most legal searches happen on phones, and Google indexes the mobile version of your site first, a practice it calls mobile-first indexing. If your pages don't work cleanly on a small screen, rankings suffer no matter how good the desktop version is.
- Use responsive design so the layout adapts to any screen size
- Make tap targets (buttons, links, phone numbers) large enough to hit with a thumb
- Make text readable without pinching or zooming
- Confirm your click-to-call button works on mobile
Test any page by loading it on your own phone. If you need to squint or zoom, your visitors need to, too.
12. Put Your Call-to-Action Above the Fold
Someone who just searched "DUI lawyer near me" is often in a stressful situation and ready to act. Don't make them hunt for a way to reach you.
Keep your most important actions (phone number, "Free Consultation" button, contact form) visible above the fold, the part of the page a visitor sees before scrolling. If paragraphs of text bury that action, you lose conversions you already paid to earn with your ranking.
One clear primary action per page beats five competing ones.
13. Write Content People Can Actually Read
Lawyers tend to write in dense, full-page blocks. Visitors researching attorneys don't read that way—they scan.
On-page SEO is partly about making content easy to digest.
- Keep paragraphs short (2–3 sentences)
- Break ideas up with descriptive subheadings
- Use bullet lists and tables for anything scannable
- Add white space — visitors abandon crowded pages
- Don't clutter pages with so much text, imagery, or functionality that the main action gets lost
Easy-to-read pages keep visitors around longer, which sends a positive signal to Google.
14. Make Your Content Comprehensive
Google's goal is to give searchers the most relevant, complete answer fast. Make yours the same.
Once you choose a topic to rank for, the question is which subtopics to cover.
Most writers take the lazy route. They search the keyword, skim the top results, and rewrite what's already there. That has three problems: It's slow, it's error-prone, and it produces content that just rehashes everyone else (zero information gain).
A better approach is to cover the topic thoroughly and add something the top results don't have: your own data, a clearer process, a practical example, a tool. Content optimization tools like Clearscope or Surfer SEO can speed up subtopic research by surfacing the relevant terms and entities top pages use, but the differentiator is the insight you add on top.
Conclusion
On-page SEO for law firms comes down to controlling the things you can control — and doing each one well, on every page.
The highest-return items, in order:
- Titles and meta descriptions that include your keyword and city, written to earn the click
- Legal Service schema so Google knows you're a law firm
- Internal links that pass equity to your money pages and guide visitors to your contact form
- Page speed under 3 seconds, mostly by compressing images
- Comprehensive, readable content that adds something the top results don't
You don't have to fix everything at once. Audit one page at a time using the checklist above, start with the first five items, and work down. Done consistently, on-page SEO turns your website into a steady source of new cases, not just traffic.
If you'd rather hand this work to professionals, Rankings.io optimizes law firm websites for the high-value searches that drive real cases.
Frequently Asked Questions: On-Page SEO for Law Firms
How do you do on-page SEO for legal websites?
Start with the elements Google uses to evaluate each page: titles, meta descriptions, headings, and internal links. Give every practice area page a specific target keyword like "personal injury lawyer" or "family law attorney," and keep the copy natural and client-focused.
- Use a clear H1 and logical H2–H3 structure
- ink to related service pages and blog posts
- Optimize images with descriptive filenames and alt text
- Compress large files for speed
- Make sure the page works on mobile.
Together these help Google understand your expertise and rank you for high-intent legal searches.
What should an on-page SEO audit checklist for attorney sites include?
A complete on-page audit checks:
- A unique, keyword-and-location title tag
- A compelling meta description
- One H1 per page with a logical heading structure
- A clean, practice-area-grouped URL
- Internal links from authority pages to priority pages
- Correctly attributed external links
- Legal Service and LocalBusiness schema
- Page speed under three seconds
- Optimized, compressed images with alt text
- Mobile-friendliness
- An above-the-fold call-to-action
- Comprehensive, readable content
Audit one page at a time and start with titles, metadata, and schema for the fastest wins.
How should you structure URLs for better legal SEO?
Keep URLs short, lowercased, and place hyphens between words. Group them by practice area — examplelawfirm.com/practice-areas/personal-injury/ rather than examplelawfirm.com/page?id=1234. Drop stop words like "and" or "the," and include the city on location pages. This improves crawlability and signals topical relevance. Lock your URL structure in before launch, since changing URLs on ranking pages can erase their keyword value even with correct redirects.
What's the difference between on-page and off-page SEO for a law firm?
On-page SEO covers what you control on your own site — content, HTML tags, page speed, internal links, schema. Off-page SEO covers what builds authority from outside — backlinks, online reviews, and local citations. Optimizing a page about "on-page SEO for law firms" is on-page work. Earning links from legal directories or news outlets is off-page. You need both. On-page makes your site relevant, while off-page builds the authority that helps it rank.