<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Legal Web Agency</title>
    <description>The latest articles on DEV Community by Legal Web Agency (@tech_andusama_d03fc626b1).</description>
    <link>https://dev.to/tech_andusama_d03fc626b1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4153296%2F501f1f2f-ecd4-4d2e-bc46-d770c786d610.png</url>
      <title>DEV Community: Legal Web Agency</title>
      <link>https://dev.to/tech_andusama_d03fc626b1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tech_andusama_d03fc626b1"/>
    <language>en</language>
    <item>
      <title>The Google Business Profile Is Half of a Law Firm's Local SEO. The Other Half Lives in Your Repo.</title>
      <dc:creator>Legal Web Agency</dc:creator>
      <pubDate>Thu, 12 Nov 2026 14:15:07 +0000</pubDate>
      <link>https://dev.to/tech_andusama_d03fc626b1/the-google-business-profile-is-half-of-a-law-firms-local-seo-the-other-half-lives-in-your-repo-46h4</link>
      <guid>https://dev.to/tech_andusama_d03fc626b1/the-google-business-profile-is-half-of-a-law-firms-local-seo-the-other-half-lives-in-your-repo-46h4</guid>
      <description>&lt;p&gt;When a law firm hires a developer, the Google Business Profile usually gets filed under "marketing, not my problem." The firm's office manager claims it, picks a category, uploads a few photos, and the dev team builds the website in a separate lane.&lt;/p&gt;

&lt;p&gt;That split costs firms visibility. Google says local results come down to three things: relevance, distance and prominence. Prominence draws on information from across the web, including the business's position in regular web results. So the profile and the website are not two projects. The profile is the listing, and the website is a large part of the evidence Google uses to decide whether to show it.&lt;/p&gt;

&lt;p&gt;Here is the part of Google Business Profile work that actually belongs to the person who ships the site.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. One canonical NAP, defined once
&lt;/h2&gt;

&lt;p&gt;NAP is name, address and phone. Google cross-checks those details everywhere the firm appears, and every mismatch lowers its confidence: a suite written "Ste. 400" in the footer and "Suite 400" on the contact page, an old number in the schema, a former partner's name still in the site title.&lt;/p&gt;

&lt;p&gt;Treat the firm's details like config, not copy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="c1"&gt;// One source of truth for name, address and phone&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;FIRM&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="s1"&gt;'name'&lt;/span&gt;    &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Smith &amp;amp; Lee LLP'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;        &lt;span class="c1"&gt;// exactly as on the door and letterhead&lt;/span&gt;
  &lt;span class="s1"&gt;'street'&lt;/span&gt;  &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'100 Main Street, Suite 400'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'city'&lt;/span&gt;    &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Dallas'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'region'&lt;/span&gt;  &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'TX'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'postal'&lt;/span&gt;  &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'75201'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'phone'&lt;/span&gt;   &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'+1-214-555-0100'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;        &lt;span class="c1"&gt;// the real published number&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Render the footer, the contact page, location pages and the structured data from that one object. When the firm moves or changes its number, you change one value instead of hunting through templates and page builder widgets.&lt;/p&gt;

&lt;p&gt;Two rules come straight from how the profile works:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The name has no keywords in it.&lt;/strong&gt; Google's guidelines prohibit adding practice areas or cities to the business name, and a stuffed name ("Smith Law | Car Accident Lawyer Dallas") is one of the most common reasons profiles get suspended. If the site title or the schema &lt;code&gt;name&lt;/code&gt; uses a keyword version, you are publishing the same inconsistency Google is checking for.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The real number stays primary.&lt;/strong&gt; If the firm wants call tracking, the tracking number goes on the profile as an additional number. The website footer, contact page and schema keep the real, published number.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Structured data that matches the profile exactly
&lt;/h2&gt;

&lt;p&gt;Schema does not directly move rankings, but it helps search engines connect the website to the Business Profile and other mentions of the firm. That only works if the values match. Generate the JSON-LD from the same &lt;code&gt;FIRM&lt;/code&gt; constant so it cannot drift:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"@context"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://schema.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"@type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"LegalService"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Smith &amp;amp; Lee LLP"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"telephone"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"+1-214-555-0100"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"address"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"@type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"PostalAddress"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"streetAddress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"100 Main Street, Suite 400"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"addressLocality"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Dallas"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"addressRegion"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TX"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"postalCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"75201"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://example-firm.com/dallas/"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Describe the firm, its attorneys and its offices accurately, and nothing else. Our &lt;a href="https://legalwebagency.com/law-firm-seo-guide/" rel="noopener noreferrer"&gt;law firm SEO guide&lt;/a&gt; covers where structured data fits next to practice area pages, content and links, including which rich results Google has restricted, so the markup isn't sold to the firm as a ranking trick.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. A real landing page for every profile
&lt;/h2&gt;

&lt;p&gt;The profile has a website field, and most firms point it at the homepage. A single-office firm focused on one practice can do that. A multi-office firm should give each office its own profile, verified separately, and point each one at its own location page. That page should show the same name, address and phone as the profile it is linked from.&lt;/p&gt;

&lt;p&gt;For a developer that means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One location page per &lt;strong&gt;staffed&lt;/strong&gt; office. Google requires in-person contact at the address during stated hours, so virtual offices, mailboxes and coworking desks nobody uses do not qualify for a profile, and they should not get a location page pretending otherwise.&lt;/li&gt;
&lt;li&gt;Genuinely local content on each page: the address, directions, parking, an embedded map, the attorneys who work there. A page that swaps the city name in a template is not evidence of anything.&lt;/li&gt;
&lt;li&gt;Stable URLs. If the site gets rebuilt later, these pages are what the profiles point at, so they belong in the redirect map.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. UTM tags so the profile shows up in analytics
&lt;/h2&gt;

&lt;p&gt;Without tagging, visits from the profile blend into general organic traffic in GA4, and nobody can tell the firm what the profile is worth. Add UTM parameters to the website link on each profile, for example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://example-firm.com/dallas/?utm_source=google&amp;amp;utm_medium=organic&amp;amp;utm_campaign=gbp-dallas
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use a distinct campaign per office. Then make sure the location page carries the same conversion tracking as the rest of the site (form submissions, click-to-call), so a profile visit that becomes a consultation request is counted as one.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Ownership is part of the handoff
&lt;/h2&gt;

&lt;p&gt;Business Profiles have owners and managers, and one primary owner. The primary owner should be an account the firm controls, ideally on a firm email address. Developers and agencies, us included, should be managers. When a vendor or employee leaves, the firm just removes their access.&lt;/p&gt;

&lt;h2&gt;
  
  
  The checklist
&lt;/h2&gt;

&lt;p&gt;Before you call a law firm site done:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;NAP comes from one source and renders identically everywhere.&lt;/li&gt;
&lt;li&gt;The site name and schema &lt;code&gt;name&lt;/code&gt; match the real firm name, no keywords.&lt;/li&gt;
&lt;li&gt;The real phone number is primary on the site and in the schema.&lt;/li&gt;
&lt;li&gt;Every staffed office has a location page with real local content.&lt;/li&gt;
&lt;li&gt;Each profile's website link points at its matching page, with UTM tags.&lt;/li&gt;
&lt;li&gt;The firm, not the developer, is the profile's primary owner.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you are scoping a full build for a firm, our notes on &lt;a href="https://legalwebagency.com/lawyer-website-design/" rel="noopener noreferrer"&gt;what goes into a lawyer website that wins clients&lt;/a&gt; cover the rest of the page structure. If you just want a quick look at an existing firm site's speed, SEO and accessibility basics, there is a &lt;a href="https://legalwebagency.com/free-website-scan/" rel="noopener noreferrer"&gt;free law firm website scan&lt;/a&gt; you can run on any URL.&lt;/p&gt;

</description>
      <category>seo</category>
      <category>webdev</category>
      <category>wordpress</category>
      <category>schema</category>
    </item>
    <item>
      <title>Rebuilding a Law Firm Website Without Losing Rankings: The Redirect Map Is the Real Deliverable</title>
      <dc:creator>Legal Web Agency</dc:creator>
      <pubDate>Mon, 02 Nov 2026 12:58:17 +0000</pubDate>
      <link>https://dev.to/tech_andusama_d03fc626b1/rebuilding-a-law-firm-website-without-losing-rankings-the-redirect-map-is-the-real-deliverable-eap</link>
      <guid>https://dev.to/tech_andusama_d03fc626b1/rebuilding-a-law-firm-website-without-losing-rankings-the-redirect-map-is-the-real-deliverable-eap</guid>
      <description>&lt;p&gt;If you build sites for law firms, you will eventually get the "we want a new website" job. The design brief will take up most of the kickoff call. It shouldn't. In our experience at Legal Web Agency, a rebuild almost never loses rankings because the design changed. It loses them because the addresses did.&lt;/p&gt;

&lt;p&gt;This post is the developer's version of that lesson: what to inventory, how to decide every URL's fate, and what to test before you flip DNS. The full, non-technical version for firm owners is in our &lt;a href="https://legalwebagency.com/law-firm-website-redesign-guide/" rel="noopener noreferrer"&gt;seven-phase law firm website redesign guide&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  First question: does this even need a rebuild?
&lt;/h2&gt;

&lt;p&gt;Before you scaffold a new theme, ask which problem you're solving:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The site ranks but doesn't convert.&lt;/strong&gt; That's a copy and intake problem. Rewriting pages helps more than rebuilding them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The site doesn't rank at all.&lt;/strong&gt; Design isn't the constraint. Thin practice area pages don't outrank thorough ones because they're prettier.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The structure is wrong&lt;/strong&gt; (one page covering six practice areas, location and service pages tangled together). That's architectural, and a rebuild is the right fix.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Something is technically broken&lt;/strong&gt; (unusable on a phone, slow, a platform that can't do what the firm needs). Also a real reason.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There's a fourth option firms rarely consider: a &lt;strong&gt;refresh&lt;/strong&gt;. New styling on the existing structure, URLs untouched. It carries almost no ranking risk because nothing moves.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Build the URL inventory from four sources
&lt;/h2&gt;

&lt;p&gt;No single source is complete, so merge all four into one sheet:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The XML sitemap&lt;/strong&gt;: what the CMS knows about.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A full crawl&lt;/strong&gt;: catches pages the sitemap omits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search Console's indexed pages report&lt;/strong&gt;: what Google actually has, which routinely includes URLs the firm forgot existed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Twelve months of analytics by landing page&lt;/strong&gt;: which URLs earn anything. Use twelve months, because legal traffic is seasonal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A quick way to get the first source into a list:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s https://example-firm.com/sitemap_index.xml \
  &lt;span class="o"&gt;|&lt;/span&gt; grep -oE &lt;span class="s1"&gt;'&amp;lt;loc&amp;gt;[^&amp;lt;]+&amp;lt;/loc&amp;gt;'&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; sed -E &lt;span class="s1"&gt;'s#&amp;lt;/?loc&amp;gt;##g'&lt;/span&gt; \
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="nb"&gt;read&lt;/span&gt; -r map&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; curl -s &lt;span class="s2"&gt;"$map"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; grep -oE &lt;span class="s1"&gt;'&amp;lt;loc&amp;gt;[^&amp;lt;]+&amp;lt;/loc&amp;gt;'&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; sed -E &lt;span class="s1"&gt;'s#&amp;lt;/?loc&amp;gt;##g'&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;done&lt;/span&gt; \
  &lt;span class="o"&gt;|&lt;/span&gt; sort -u &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; urls-sitemap.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then &lt;code&gt;sort -u&lt;/code&gt; the crawl export, the Search Console export and the analytics export into the same file. The merged list is almost always bigger than the client believes. That spreadsheet &lt;em&gt;is&lt;/em&gt; the project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Give every URL exactly one decision
&lt;/h2&gt;

&lt;p&gt;Each row gets one of five outcomes:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Situation&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Page survives, same address&lt;/td&gt;
&lt;td&gt;Do nothing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Page survives, new address&lt;/td&gt;
&lt;td&gt;301 to the new URL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Page merges into another&lt;/td&gt;
&lt;td&gt;301 to the merged page&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retired, but something relevant exists&lt;/td&gt;
&lt;td&gt;301 to the closest match&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retired, nothing relevant&lt;/td&gt;
&lt;td&gt;Let it 404&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two rules prevent most of the damage:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Never bulk-redirect retired pages to the home page.&lt;/strong&gt; Google treats that as a soft 404 and it passes essentially nothing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never delete a page that earns traffic because the copy is embarrassing.&lt;/strong&gt; Rewrite it at the same URL and keep what it accumulated.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once the sheet is final, generate the rules instead of hand-typing them. On Apache:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# map.csv: old_path,new_path&lt;/span&gt;
awk -F, &lt;span class="s1"&gt;'NR&amp;gt;1 &amp;amp;&amp;amp; $2!="" {printf "Redirect 301 %s %s\n", $1, $2}'&lt;/span&gt; map.csv &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; redirects.conf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3: Port what lives in templates, not content
&lt;/h2&gt;

&lt;p&gt;This is the step most migration checklists miss. Law firm sites carry compliance elements in the header and footer: required labels, site-wide disclaimers, firm identification and office address, prior-results qualifying language, per-lawyer bar admissions, footer policy links. A new theme brings its own templates, so none of that travels with migrated page content.&lt;/p&gt;

&lt;p&gt;Before the first mockup, list everything in the current header and footer that isn't navigation, and treat it as a build requirement. What a given state actually requires is a question for the firm and its ethics counsel, not the developer, but making sure it doesn't silently vanish is on you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Test the things that fail silently
&lt;/h2&gt;

&lt;p&gt;The most expensive failure isn't rankings. It's the contact form. A rebuilt form delivering to a default address can run for weeks while the firm assumes it's having a quiet month. On staging, and again after launch from outside your own network:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Submit a real enquiry through every form and confirm it reaches the inbox intake actually watches.&lt;/li&gt;
&lt;li&gt;Confirm the CRM receives the record and the autoresponder says something accurate.&lt;/li&gt;
&lt;li&gt;Verify analytics and conversion tracking fire, so there's a baseline.&lt;/li&gt;
&lt;li&gt;Spot-check twenty old URLs against the map:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="nv"&gt;IFS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;, &lt;span class="nb"&gt;read&lt;/span&gt; -r old new&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  &lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;'%s -&amp;gt; %s\n'&lt;/span&gt; &lt;span class="s2"&gt;"$old"&lt;/span&gt; &lt;span class="s2"&gt;"$(curl -s -o /dev/null -w '%{http_code} %{redirect_url}' "&lt;/span&gt;https://example-firm.com&lt;span class="nv"&gt;$old&lt;/span&gt;&lt;span class="s2"&gt;")"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;tail -n +2 map.csv &lt;span class="o"&gt;|&lt;/span&gt; shuf -n 20&lt;span class="o"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Tap every click-to-call link on an actual phone.&lt;/li&gt;
&lt;li&gt;Load the site with an ad blocker to see which third-party scripts it depends on.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then check the forms again a week later. Production breaks them in ways staging never shows: an unconfigured mail plugin, a spam filter quarantining a new sender, a security plugin blocking certain networks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Launch, submit, watch
&lt;/h2&gt;

&lt;p&gt;Submit the new sitemap in Search Console, request indexing for the most important pages, and watch the coverage report for a month. A spike in 404s, or a drop confined to one page group, is the earliest reliable sign of a hole in the redirect map. Holes are far cheaper to fix in week two than in month six.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;Treat the existing site as an asset to protect, not a design to replace. The mockups are the visible part of a law firm rebuild, but the URL inventory, the redirect map and the template audit are what decide whether the firm's search traffic survives. If you want to see how we handle the ranking side after launch, our &lt;a href="https://legalwebagency.com/law-firm-seo-services/" rel="noopener noreferrer"&gt;SEO work for law firms&lt;/a&gt; starts with the same kind of audit, and our &lt;a href="https://legalwebagency.com/legal-web-designer/" rel="noopener noreferrer"&gt;law firm web design team&lt;/a&gt; runs these phases on every rebuild.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;More notes from the same project&lt;/strong&gt;, if you build or audit law firm sites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://law-firm-practice-area-seo.netlify.app/" rel="noopener noreferrer"&gt;Practice-area SEO: estate planning, family law and bankruptcy are not the same search&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://law-firm-practice-area-websites.webflow.io/" rel="noopener noreferrer"&gt;One law firm website does not fit every practice area&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lawfirmwebsitechecklist.mystrikingly.com/" rel="noopener noreferrer"&gt;Personal injury law firm website checklist&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lawfirmwebsitenotes.wordpress.com/2026/11/05/personal-injury-website-checklist-what-to-build-instead-of-chasing-car-accident-lawyer/" rel="noopener noreferrer"&gt;Personal injury website checklist: what to build instead of chasing "car accident lawyer"&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lawfirmwebsitenotes.wordpress.com/2026/10/31/attorney-advertising-rules-for-law-firm-websites-the-5-violations-we-see-most/" rel="noopener noreferrer"&gt;Attorney advertising rules for law firm websites: the 5 violations we see most&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://usamapiaic.wixsite.com/law-firm-website-gui/post/how-to-choose-a-law-firm-seo-company-questions-worth-asking" rel="noopener noreferrer"&gt;How to choose a law firm SEO company: questions worth asking&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lawfirmwebsitenotes.blogspot.com/2026/11/what-your-law-firms-contact-form-costs.html" rel="noopener noreferrer"&gt;What your law firm's contact form costs you: 11 fields vs 4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>seo</category>
      <category>wordpress</category>
      <category>migration</category>
    </item>
    <item>
      <title>A 91 PageSpeed score failed Core Web Vitals. A 51 passed. Notes from testing 14 law firm websites</title>
      <dc:creator>Legal Web Agency</dc:creator>
      <pubDate>Fri, 30 Oct 2026 23:42:03 +0000</pubDate>
      <link>https://dev.to/tech_andusama_d03fc626b1/a-91-pagespeed-score-failed-core-web-vitals-a-51-passed-notes-from-testing-14-law-firm-websites-3fd2</link>
      <guid>https://dev.to/tech_andusama_d03fc626b1/a-91-pagespeed-score-failed-core-web-vitals-a-51-passed-notes-from-testing-14-law-firm-websites-3fd2</guid>
      <description>&lt;p&gt;I build websites for law firms, so in September I ran 14 well-known US law firm homepages through PageSpeed Insights: national personal injury brands, Big Law, and a few regional firms. I expected the big-budget sites to win. They didn't, and the lab score turned out to be a poor predictor of who passed.&lt;/p&gt;

&lt;p&gt;Full write-up with every site and number: &lt;a href="https://legalwebagency.com/core-web-vitals-law-firm-websites/" rel="noopener noreferrer"&gt;Core Web Vitals for law firm websites (14 sites tested)&lt;/a&gt;. This post is the developer version: what surprised me and what I'd fix first.&lt;/p&gt;

&lt;h2&gt;
  
  
  The headline: lab score and field result disagree
&lt;/h2&gt;

&lt;p&gt;Google ranks on &lt;strong&gt;field data&lt;/strong&gt; (real Chrome users, 28-day window, from CrUX), not on the lab score you see at the top of PageSpeed Insights.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One site scored &lt;strong&gt;91&lt;/strong&gt; in the lab and &lt;strong&gt;failed&lt;/strong&gt; Core Web Vitals in the field. The culprit was layout shift (CLS 0.38), which a single lab run barely registered.&lt;/li&gt;
&lt;li&gt;Another scored around &lt;strong&gt;51&lt;/strong&gt; in the lab and &lt;strong&gt;passed&lt;/strong&gt; comfortably.&lt;/li&gt;
&lt;li&gt;Two Big Law sites had &lt;strong&gt;lab LCP of 30-45 seconds&lt;/strong&gt; on the simulated slow phone, yet field LCP of about &lt;strong&gt;1.5 seconds&lt;/strong&gt; and a pass. Their real visitors are on fast hardware and fast networks. The lab simulates a mid-range phone on slow 4G; the field reports what actually happened.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So if you're auditing a site, look at the "Discover what your real users are experiencing" section first. The big circle is a diagnostic, not a verdict.&lt;/p&gt;

&lt;h2&gt;
  
  
  5 of 13 failed, and no two failed for the same reason
&lt;/h2&gt;

&lt;p&gt;13 of the 14 sites had field data. Five failed:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Failing metric&lt;/th&gt;
&lt;th&gt;What it looked like&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;INP 295 ms&lt;/td&gt;
&lt;td&gt;A heavy homepage where taps on the menu felt sticky&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CLS 0.38&lt;/td&gt;
&lt;td&gt;Content jumping as late elements loaded (the 91-score site)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LCP 2.6 s&lt;/td&gt;
&lt;td&gt;Just over the 2.5 s line on a big hero&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LCP 2.7 s + CLS 0.88&lt;/td&gt;
&lt;td&gt;The worst of the set; lab score 38&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LCP 3.1 s&lt;/td&gt;
&lt;td&gt;Slow hero image on mobile&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That spread is the useful lesson: "make it faster" isn't a plan. Each failure needs a different fix.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one problem almost everyone shared
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;10 of 14 sites&lt;/strong&gt; (including my own agency site, which scored 67 in the lab) had &lt;strong&gt;render-blocking resources&lt;/strong&gt; as the top opportunity. That's CSS and synchronous scripts in &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; that the browser must download and parse before it paints anything.&lt;/p&gt;

&lt;p&gt;On WordPress builds it's usually the same suspects: page-builder CSS for every widget on every page, font loaders, analytics and chat widgets loaded synchronously, and slider libraries.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix order I use now
&lt;/h2&gt;

&lt;p&gt;Ranked by how much each usually moves the field result:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Render-blocking resources (LCP).&lt;/strong&gt; Inline critical CSS, defer the rest, &lt;code&gt;defer&lt;/code&gt; non-essential scripts, and stop loading builder assets on pages that don't use them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Layout shift sources (CLS).&lt;/strong&gt; Set &lt;code&gt;width&lt;/code&gt;/&lt;code&gt;height&lt;/code&gt; (or &lt;code&gt;aspect-ratio&lt;/code&gt;) on every image and embed, reserve space for cookie banners and chat bubbles, and use &lt;code&gt;font-display: optional&lt;/code&gt; or size-matched fallbacks for web fonts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The hero image (LCP).&lt;/strong&gt; Serve WebP/AVIF at the size actually displayed, add &lt;code&gt;fetchpriority="high"&lt;/code&gt;, and never lazy-load the LCP image (a surprisingly common WordPress default).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Third-party JavaScript (INP).&lt;/strong&gt; Chat widgets, call tracking and review carousels are the usual INP killers. Load them on interaction or after idle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server response time (everything).&lt;/strong&gt; Page caching plus a CDN. It rarely decides pass or fail alone, but it raises the floor for the other four.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One caveat from my own site: aggressive "delay JavaScript" settings in caching plugins can break things in ways a speed test won't show. On mine, it silently killed page-builder widgets for logged-out visitors. Always test as a logged-out user after changing optimization settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checking a site in five minutes
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Run &lt;a href="https://pagespeed.web.dev/" rel="noopener noreferrer"&gt;PageSpeed Insights&lt;/a&gt; on the mobile tab.&lt;/li&gt;
&lt;li&gt;Read the field section first. Pass or fail is decided there.&lt;/li&gt;
&lt;li&gt;If field data fails, note &lt;em&gt;which&lt;/em&gt; metric, then scroll to the diagnostics that map to it (render-blocking and LCP element for LCP, layout shift culprits for CLS, long tasks for INP).&lt;/li&gt;
&lt;li&gt;Fix one metric at a time, then wait. Field data is a rolling 28-day window, so a fix takes up to four weeks to fully show.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you want the full per-site breakdown, including which firms passed and why, it's in the &lt;a href="https://legalwebagency.com/core-web-vitals-law-firm-websites/" rel="noopener noreferrer"&gt;original article&lt;/a&gt;. I also put the fix list into a free &lt;a href="https://legalwebagency.com/free-website-scan/" rel="noopener noreferrer"&gt;website scan tool&lt;/a&gt; for law firms.&lt;/p&gt;

&lt;p&gt;Curious whether others see the same lab-vs-field gap on their client sites. My guess is it's widest on B2B and Big Law sites whose audiences are mostly on desktop and fast connections.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;More notes from the same project&lt;/strong&gt;, if you build or audit law firm sites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://lawfirmwebsitenotes.blogspot.com/2026/10/best-law-firm-websites-14-sites.html" rel="noopener noreferrer"&gt;Best law firm websites: 14 sites measured, not just screenshotted&lt;/a&gt;, the same 14 firms scored on more than speed&lt;/li&gt;
&lt;li&gt;&lt;a href="https://legalwebagency.neocities.org/" rel="noopener noreferrer"&gt;Nine phone checks for a law firm website&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://legal-web-agency.gitbook.io/" rel="noopener noreferrer"&gt;Law firm website launch checklist&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://legalwebagency.mataroa.blog/blog/wordpress-wix-or-squarespace-for-a-law-firm-website-how-we-decide/" rel="noopener noreferrer"&gt;WordPress, Wix or Squarespace for a law firm website? How we decide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://law-firm-website-trust.vercel.app/" rel="noopener noreferrer"&gt;Trust on a law firm website: reviews, accessibility and proof&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://law-firm-intake-forms.framer.website/" rel="noopener noreferrer"&gt;Law firm intake forms: the seven fields that decide whether a lead calls back&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://sites.google.com/view/legal-web-agency" rel="noopener noreferrer"&gt;Law Firm Website Notes&lt;/a&gt;, an index of the rest&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webperf</category>
      <category>webdev</category>
      <category>wordpress</category>
      <category>seo</category>
    </item>
  </channel>
</rss>
