In one paragraph
Local and vertical SEO — insurance especially — is decided by four things: a real physical presence, consistent name/address/phone data, service pages that match what people search, and structured data that ties the two together. The tools to run it are open source. The part that is not automatable is the physical business, and no guide can fix that.
What you end up with
- A canonical NAP record, machine-readable, from which every page and feed is generated
- Service × location pages generated from data, each with unique substance rather than a template swap
- LocalBusiness and Service structured data validated against the real address and hours
- A citation and duplicate check you can re-run after any change
The reference stack
Every project below is open source and self-hostable. Licences are the ones the project publishes today; check them against your own distribution model before you ship, because a licence can change and an AGPL project has obligations a MIT project does not.
| Layer | Open-source project | Licence | What it does for you |
|---|---|---|---|
| NAP source of truth | A single JSON/YAML record in git | n/a | One file holds name, address, phones, hours, service area. Pages, schema and feeds are generated from it so they cannot disagree. |
| CMS | WordPress with a custom mu-plugin | GPL-2.0 | Generates service × location pages from the data file; no per-page hand editing. |
| Structured data | schema.org LocalBusiness / InsuranceAgency | Public spec | The vocabulary search engines read. Validate every template, not just the homepage. |
| Validation | Google Rich Results Test + Schema Markup Validator | n/a | Two independent checks; a page that passes one and fails the other has a real error. |
| Geodata | OpenStreetMap + Nominatim | ODbL / GPL-3.0 | Geocoding and nearby-place data for service-area pages, with no per-call API fee. |
| Crawl + log checks | Greenflare + GoAccess | AGPL-3.0 / MIT | Confirms each service × location page is actually crawled and indexed. |
| Review collection | Your own form + review schema | n/a | Collect first-party reviews and mark them up correctly — only where the review is genuinely on the page. |
Build it
1. Make the NAP record the single source
Every page, every schema block, every feed and every directory listing derives from one file. The most common local SEO defect is not a missing optimisation; it is three different phone numbers across four systems.
2. Check for duplicates before creating anything
Search each business name against each location and phone. Duplicate profiles split reviews and confuse entity resolution. Finding them is a scripted check against the platform’s data, and it is worth doing quarterly.
3. Generate service × location pages from data
Each combination needs something only true for that combination: a local proof point, a specific service detail, a named office, real hours, local regulation. A template that swaps the city name is the definition of a doorway page and will not rank.
# data/locations.yaml
- slug: killeen-tx
city: Killeen
state: TX
zips: [76541, 76542, 76543, 76548, 76549]
office: "1200 E Central Texas Expy"
phones: ["+12545550101"]
service_pages: [home, auto, commercial]
4. Emit schema from the same data
LocalBusiness (or the more specific InsuranceAgency) with address, geo, telephone, openingHoursSpecification, areaServed and sameAs. Add Service for each offering and BreadcrumbList on the path. Include aggregateRating only if the reviews are visible on that page.
5. Build internal links by intent, not by menu
A service page should link to its location siblings and back to the parent service. The internal link graph is how a search engine learns which page is authoritative for ‘auto insurance Killeen’; a flat menu does not do that.
6. Re-run the checks after every change
Crawl the service × location matrix, validate schema on a sample, confirm one canonical per page, and check the log for new 404s. Local sites rot quietly — an office move that is only updated on the contact page is a classic.
Acceptance checks
If you cannot verify a claim, it is not a finding. These are the checks that close the work; each one can be run by somebody who did not build it.
| Acceptance check | How to verify it |
|---|---|
| One phone, one address, everywhere | Grep the rendered site for every phone pattern; all must match the NAP record. |
| Every service × location page is 200, self-canonical and unique | Crawl the matrix; compare content similarity between pages and flag near-duplicates. |
| LocalBusiness schema validates with the real address and hours | Rich Results Test plus Schema Markup Validator on three sample pages. |
| No duplicate business profiles | Quarterly name/address/phone search per location, recorded with a date. |
| Every location page is crawled within 30 days | GoAccess bot hits joined to the page list. |
| Reviews marked up only where visible | Manual check per page; schema with no on-page review is a violation. |
Effort and cost
| Estimate | |
|---|---|
| Skill needed | Intermediate: templating, structured data, and patience with local platform verification |
| Build time | 2–3 days for the data model + generator, 1 day for schema, 1 day for the checks |
| Running cost | Monthly crawl and duplicate check; hourly per new location |
| What you must host | Standard WordPress hosting. Nominatim wants its own 8 GB+ box if self-hosted. |
What open source does not give you
The honest half of the comparison. Each of these is a reason somebody buys the service instead of building it, and pretending otherwise would make the rest of this page worthless.
- Google Business Profile is a closed platform. You can automate posts and review requests to a degree, but verification, suspension and reinstatement are human processes with no open API.
- Reviews cannot be bought, gated or invented. Schema for reviews that are not on the page is a manual-action risk, not an optimisation.
- Local ranking depends on proximity and physical presence. A page cannot manufacture an office in a city you are not in.
- Citation consistency across the web is a manual auditing job; most directories have no API, and some will not accept corrections without a phone call.
- Insurance content is YMYL: inaccurate coverage claims are a regulatory problem, not just a ranking one. Legal review is not automatable.
What the service adds
Scope only, stated so you can compare it with the build above.
- The service × location matrix design, which needs local market knowledge and the carrier appointments
- Licensing and compliance review of every coverage claim
- Profile verification, duplicate resolution and reinstatement handled by a human who has done it before
Sources and further reading
- Google — local business structured data
- schema.org — InsuranceAgency
- Google Business Profile help
- Nominatim documentation
- Google — review snippet guidelines
Related guides
What this page does not include. This guide documents an open-source implementation of the same outcome. It deliberately leaves out 5 Kings’ internal playbooks, client data, vendor terms and unpublished method: we publish what any competent team can reproduce, and we do not publish what belongs to a client or to a contract. Where a step depends on a decision only your business can make, the guide says so instead of guessing.
Take it with you
Do local and vertical SEO on open source
The full guide as an A4 PDF: the reference stack with licences, the build steps, the acceptance checks and the honest limits — in one file you can hand to an engineer or print for a planning session.