Skip to content

On-page SEO for local businesses: the guide for your website

The video is in Spanish. This article is its English version.

With a better-optimized website you can outrank competitors with more authority: a solid technical base, each page with its service and area, and local signals.

The gist, in 4 points
  • Your website accounts for 15% of local pack rankings, and having one page per service is the #1 local organic factor (Whitespark 2026).
  • The non-negotiables: mobile-first, fast (Core Web Vitals), HTTPS everywhere and clean code.
  • Each location page links to its services, with one H2 per service: that's how Google sees what you do and where.
  • Only use the local semantics elements that fit your industry: a law firm isn't optimized the same way as a restaurant.

Why on-page SEO matters so much in local SEO

«The key to outranking competitors who have more authority than you is a better-optimized website»

Matt Romero, in the video · Translated from SpanishListen at 0:00

Google likes well-optimized websites for two reasons: it's easier for it to understand and classify your content, and the people browsing it get a better experience. On top of that, in local SEO your website does three jobs at once (I explain it at 2:46):

  1. It gives semantic context to your Google Business Profile. There isn't much room on the profile: name, categories, description and services. Google reads the URL you link from the profile, and on your website you can give it far more information in text, video and images. That's why the local pack sometimes shows a justification like "Their website mentions…" next to the service someone searched for (there's more in the article on Google Business Profile justifications).
  2. It converts. In mid- to high-ticket industries (dental clinics, architecture firms, renovations), nobody hires the first business they see. They compare, and that's where the best-built website wins.
  3. It captures informational-transactional searches through the blog, from people who are still doing their research.

The data points the same way. In Whitespark's 2026 ranking factors study, the website (on-page) accounts for 15% of local pack rankings, and in local organic results the top factor is having a dedicated page for each service.

What matters in Google Maps · Whitespark 2026

Your website accounts for 15% of local pack rankings, behind your Google Business Profile and reviews. Source: Whitespark, Local Search Ranking Factors 2026.

Two caveats before we start. On-page doesn't carry the same weight in every industry: for a dental clinic, the website matters much more than for a restaurant, both for ranking and for converting. And analyze your competitors carefully: the ones in your city, the ones in nearby cities and even the ones in other countries.

«I want you to keep in mind that copy, UX or design don't directly affect your website's rankings, but they do affect conversion»

Matt Romero, in the video · Translated from SpanishListen at 1:22

The non-negotiables: the technical foundation

Your industry doesn't matter. Every local website has to get this right.

Built mobile-first

Most of your customers search for you on their phones, and that's how Google looks at you too: it uses the mobile version of your content for indexing and ranking. If something isn't on the mobile version, it doesn't exist for Google. Responsive design that loads well and fast on a phone comes first, then desktop.

Easy to use (UX)

How your content is organized affects conversion and how long users stick around. Contrast between fonts, clear size differences between headings and paragraphs, a well-organized menu and a useful footer. Simple and functional beats a complex design that confuses people.

Fast (WPO and Core Web Vitals)

Google measures the loading experience with Core Web Vitals. Here's what it considers good today:

MetricWhat it measuresGood
LCPHow long the main content takes to load2.5 s or less
INPHow long the page takes to respond when you tap somethingUnder 200 ms
CLSHow much the page shifts around while loadingUnder 0.1

On WordPress, you get there with caching plugins, a lightweight theme, optimized images and a good server. And no pop-ups getting in the way of browsing.

HTTPS across the whole site

Your SSL certificate has to cover 100% of the site. Check that there's no mixed content: images, forms or other resources that are still loading over http. If you run into problems, talk to your hosting provider's support; it has to be set up properly at the server level, not just with a plugin.

Clean code

Googlebot sees your website through its code. The cleaner it is, the easier it is to crawl paragraphs, headings, titles and alt text. Avoid templates that pile on extra code for features you don't use. I mostly work with Divi; Elementor used to have problems with excess tags, although these days almost all the popular WordPress themes generate pretty clean code.

How to optimize each local page

Every URL with local intent (service, location, or service plus location) is tailored to its industry and to what the user is looking for. But they all have this in common.

Title and meta description

  • The title, focused on the main keyword. My trick: search for your keyword on Google and look at how the titles are written. If they all put the keyword first and the brand after, try the opposite so you stand out by contrast (the example is at 13:51).
  • The meta description isn't there to rank, it's there to get the click: make your result grab more attention than your competitors'.
  • Check what Google actually shows. Google may display other text from the page as the title if it isn't convinced by yours. Every so often, search for your keywords and see what comes up.

Headings

  • Respect the hierarchy: H1, then H2, then H3. A messy document is harder for Google to understand.
  • H1 with the main keyword. You can use a variation of the one in your title to get the most out of both (title "Web Design Agency", H1 "Web Design and Local SEO Agency").
  • H2s with semantic keywords: synonyms, entities and terms that give the main keyword context.

Services, linked from each location

This is the part that moves the needle most. Picture a dental clinic based in Málaga that offers veneers, orthodontics and periodontics. On the Málaga page, each service gets its own H2 ("Dental veneers"), a paragraph explaining it and a link with the exact keyword to that service's page (you can see it at 18:52).

That way you make it clear to Google what you do at that location, and you give each service page a boost. If you want to see the full structure, it's in the articles on website architecture for local businesses and internal linking.

Images

  • Original. Your own photos of the business and your work, not stock images Google has already seen on a thousand websites. This is what matters most about images.
  • File name and alt text. According to Google's image guidelines, alt is the most important attribute: it should describe what's in the image, without keyword stuffing. Keep the file name short and descriptive ("dental-veneers-before-after.jpg", not "IMG00023.jpg").
  • File size. An uncompressed phone photo is way too heavy. Compress it before uploading.
  • Coordinates in the metadata. In the video I already said it probably didn't have much impact. Today Whitespark confirms it: geotagged photos are the last of the 187 local pack factors. Don't waste your time on it.

Calls to action

They don't help you rank, but they convert, and in some industries that matters as much as ranking:

  • Color contrast. If your site is white, black and blue, the button can't be your brand blue: it has to jump off the page.
  • Spread throughout the content. People almost always add fewer than they need, for fear of being pushy.
  • Measured. With heatmaps, for example using Microsoft Clarity, which is free.
  • Tailored to the industry. Booking an appointment at a clinic isn't the same as reserving a table.

Local semantics: telling Google what you do and where

Local semantics is the service and location context that makes it clear what you do and where. There are lots of elements you can use, but not all of them fit every website.

«I'm going to show you lots of elements, but that doesn't mean you have to use all of them… use the ones that best fit the project you're working on»

Matt Romero, in the video · Translated from SpanishListen at 27:20

Service signals

  • Linked related services, like in the clinic example.
  • Customer testimonials and case studies, with a summary and a link to the full case. Employment law firms do this a lot with the cases they've won.
  • Photos and videos of your work and your day-to-day.
  • Real FAQs. Heads up: FAQ structured data markup no longer gets you the rich result it used to; since August 2023 Google only shows it for well-known, authoritative government and health websites. The questions are still useful for users.
  • Links to blog posts about that service, which show you know what you're talking about.

Location signals

You'll find these at 30:30:

  • Opening hours and directions.
  • Entities in the city: city hall, the bus station. I'd even link to one or two in a new tab, to associate them with your page.
  • An embedded Google Maps map with your profile.
  • Local ties: suppliers or associations you work with.

Trust signals

  • The team working at that location: for a physical therapy clinic, a profile for each physical therapist with their professional license number and specialties.
  • Tax details (CIF, the Spanish tax ID), on the page and in the structured data.
  • Accreditations and brands you work with (for a dental clinic, the clear aligner systems it uses).
  • Mentions in the local press.

Examples: a law firm isn't optimized like a restaurant

To wrap up the video, I show two websites that do it well, and they're very different.

A law firm in Madrid (at 37:39): a clean, well-organized site, headings with a proper hierarchy, one block per service with its keyword, description and link, testimonials, logos of partners and media mentions, and links to its different offices. Lots of text, because people looking for a lawyer want information.

A restaurant chain (at 40:01): lots of images and little text. Each restaurant has its own page with what makes it different (if it has a terrace, it says so), booking right on the website, Google and Tripadvisor reviews, a map, opening hours, driving directions, nearby points of interest and links to the menu and set menu.

Neither is better than the other. Each one gives its users what they expect. If you put the law firm's text on the restaurant's page, you'd make it worse.

Free tools for on-page SEO

The ones I use day to day:

  • Detailed SEO Extension (Chrome): the title, meta description and headings of any page at a glance, yours or a competitor's.
  • Rank Math or Yoast (WordPress): indexing, titles and the rest of your on-page settings.
  • LiteSpeed Cache (WordPress): for speed.
  • A structured data extension, to check that your markup is correct.
  • A device preview extension, which Lorena Cantos introduced me to, to see the site as it looks on a phone, tablet or laptop.

If you want to learn it step by step, along with the rest of local SEO, it's all in the local SEO course. And the fundamentals are in the free local SEO course. To understand what carries weight in the rankings, check out the local SEO ranking factors.

Frequently asked questions

What is on-page SEO in local SEO?

Everything you optimize on your own website to rank for a service in an area: the technical foundation, the title and headings, services linked from each location, images, and location and trust signals.

Does my website affect my Google Business Profile rankings?

Yes. In Whitespark's 2026 study, the website accounts for 15% of local pack rankings. Google reads the page you link from your profile to understand what you do.

Is it worth geotagging the photos on my website?

Barely. In Whitespark 2026, geotagged photos are the last of the 187 local pack factors. It matters much more that the photos are your own and have good alt text.

Is FAQ structured data still useful?

For the rich result, hardly: since August 2023 Google only shows it for well-known, authoritative government and health websites. FAQs on the page still help users.

Sources

What we cite, read in the original.

Keep reading about Local SEO

All articles on Local SEO