Skip to content
SITEAI.MD
SEO9 min read

On-page SEO: what to optimize on every page, step by step

SHORT ANSWER

On-page SEO is everything you change on your page so that Google and people understand what it is about: the title, the description, the H1–H3 headings, the text, the images, the URL and the internal links. Start with one clear search query for each page and answer it better than your competitors. The rest are details that help break a tie.

What on-page SEO is

On-page SEO is everything you optimize directly on a page: the text, the headings, the images, the address and the links in it. The goal is simple. Google needs to understand quickly what the page is about, and the person who lands on it needs to find what they were looking for.

It is one of the three parts of SEO. The other two are technical SEO, meaning whether Google can access and index the site, and off-page SEO, meaning the links and mentions on other sites. The full picture is in the guide to what SEO means.

The good part: on-page is the only part you control completely. You do not depend on other sites, or on a developer, if you have access to the site's editor.

Before any tag, decide which search the page is for. One main search query, plus its close variants.

Example: the page "Central heating boiler repairs Iași" is for searches like "reparatii centrale termice iasi" and "service centrala termica iasi". Not for "cum aerisesc caloriferele" (how do I bleed my radiators). That one is a question, so it needs a separate article.

Then look at what already appears on Google's first page for that search:

  • Do shops appear? People want to buy. You need a product or category page.
  • Do articles appear? People want to learn. You need a guide.
  • Does the map with businesses appear? The search is local. Your Google Business Profile matters.

This is called search intent. If your page is a different type from what Google shows, the optimization below helps only a little. How to choose and group queries is explained in the SEO keywords guide.

Step 2: the page title (title)

The title in the <title> tag is the blue text you see in Google's results. It is the most visible on-page element.

Google asks for the title to be unique for each page, clear, concise and an accurate description of the content. There is no official character limit. According to Google's documentation on titles, the title is cut off based on screen width. That is why you should put the important words at the start. In practice, 50–60 characters usually fit in full.

Weak Better
Home Central heating boiler repairs in Iași, call-out within 24h
Services - Company SRL - Services Air conditioning installation Cluj: prices and booking
Blog post 14 How to bleed your radiators: 5 steps in 10 minutes

Be careful: Google does not always use your title. It may pick the text from the H1 or from other parts of the page, especially when the title is too long, too vague or stuffed with keywords. A title that honestly describes the page has the best chance of staying.

Step 3: the description (meta description)

The meta description is the grey text under the title in the results. It does not help you rank higher. It does, however, convince people to click on you and not on the neighbor above.

Google's SEO Starter Guide describes a good description like this: short, unique to that page and containing the most important information from it. Google uses it sometimes. Other times it picks a snippet of text on its own that better matches the search.

What to put in it, in ~150 characters:

  1. What the person gets on the page
  2. A concrete detail: price, timeframe, area, number of steps
  3. Why they would choose your page

Example: "We repair Ariston, Vaillant and Bosch boilers in Iași. Call-out within 24 hours, diagnosis 150 lei, 6-month warranty on parts."

The figures here are only an example of the structure. Use your own, real ones.

Step 4: H1, H2, H3, the heading structure

H1, H2 and H3 are the headings inside the page. H1 is the main heading. H2s are the chapters. H3s are the subsections within each H2.

What Google says, in short:

  • Order does not matter to Google. Google's SEO Starter Guide says that, from Search's perspective, it does not matter if you use headings in a different order. A logical order helps screen readers, so keep it anyway.
  • The H1 can become the title in the results. When Google rewrites the title, the first large heading on the page is one of its preferred sources. A clear H1 is insurance.
  • Headings are a table of contents. Someone who skims the page in 5 seconds reads only the headings. If they cannot tell from them what they will find, they leave.

An example structure for a service page:

H1: Central heating boiler repairs in Iași
  H2: Which brands we repair
  H2: How much a repair costs
    H3: Diagnosis
    H3: Parts and labor
  H2: How quickly we arrive
  H2: Frequently asked questions

H2 headings phrased as real questions ("How much a repair costs") have an extra advantage. They match what people type into Google and into AI assistants, and the answer underneath them can be quoted directly.

Step 5: the text

This is where the page is won or lost. The order of work:

  1. Answer in the first two sentences. If someone searches "cât costă o reparație de centrală" (how much does a boiler repair cost), the first sentence contains a price or a range, not the company's history.
  2. Cover the questions that come next. After price comes "how long does it take", then "what warranty do I get". You will find them in Google's "People also ask" box.
  3. Use your customers' words. If they write "boiler", do not write only "heating system".
  4. Show that you know what you are doing. Photos from real jobs, the name of the person writing, data with a source. Google calls this experience and trust.

What not to do: repeat the keyword until it sounds odd. Google's guide says that excessive repetition of the same words tires the reader and violates the spam policies. There is no "ideal keyword density". If the text sounds natural when read aloud, it is fine.

Step 6: the images

Three things for every image:

Element What you do Example
Alternative text (alt) A short description of what the image shows, related to the page alt="Technician replacing the heat exchanger on a Vaillant boiler"
File name Real words, not numbers reparatie-centrala-vaillant.jpg, not IMG_4021.jpg
Size Compress before uploading Under 200 KB for a content photo, in WebP format

Alternative text helps Google understand the image and helps people who use screen readers. Images that are too large slow the page down. That already belongs to technical SEO, explained in the technical SEO guide.

Step 7: the page address (URL)

Google recommends words that are useful to people in the address, not meaningless codes.

  • Good: site.ro/reparatii-centrale-iasi
  • Weak: site.ro/index.php?id=4821&cat=3

Simple rules: lowercase letters, hyphens between words, no diacritics, short. And very important: do not change the address of a page that already has traffic without a 301 redirect. Otherwise you lose what the page has earned so far. How to do it correctly is explained in the technical SEO guide.

Internal links are links from one of your pages to another of your pages. They show Google which pages are important and how they connect to each other.

  • The link text describes the destination. A link on the text "repair prices" is better than one on "click here".
  • Important pages get the most links. The main service page should receive a link from every relevant article.
  • No orphan pages. A page with no internal link pointing to it is hard to find, for both Google and people.

Step 9: structured data

Structured data is code invisible to visitors, usually in JSON-LD format, that tells Google explicitly what is on the page: a local business, a product with a price, a recipe, an article.

It does not move you higher directly. It can, however, make the result richer, for example with stars, price or opening hours, if Google decides to show them. For a local business, start with LocalBusiness. For a shop, with Product. You check the code with Google's Rich Results Test.

What you can ignore

Myth Reality
"Put the keywords in meta keywords" Google does not use the tag at all
"Several H1s or headings out of order get you penalized" Google says the order does not matter for Search; one clear H1 is still the simplest option
"The ideal density is 2%" There is no official figure; excessive repetition is considered spam
"The text must have at least 1,000 words" The right length is the one that fully answers the search
"The meta description moves you up in Google" It influences clicks, not position

Checklist for a page

Copy the list and go through it for every important page:

  1. The page has a clear main search, and its type matches what Google shows
  2. The title is unique, describes the page and has the important words at the start
  3. The description says what the person gets, with a concrete detail
  4. The H1 is clear, and the H2s read like a table of contents
  5. The first two sentences answer the search
  6. The images have alternative text, clear names and are compressed
  7. The address is short and readable
  8. The page receives internal links with descriptive text
  9. The right structured data is added and validated

For a quick check of the title, structured data and a few other elements, use the free mini-audit. For a full pass through the site, follow the guide to a 20-minute SEO audit.

The first thing you can do today

Open the Performance report in Google Search Console and sort the pages by impressions. Take the page in first place. Read its title and its first two sentences. If a stranger cannot tell from them what you offer and for whom, rewrite them today. It takes 15 minutes, and it is the page the most people see.

If you would rather have someone else work on all your pages, see the SEO service.

Sources

Frequently asked questions

Not for Google. Google's official SEO Starter Guide says the order of headings does not matter from Search's perspective. The correct order does help screen readers and people skimming the page, so it is worth keeping.

Google does not set a limit. The title is cut off in the results based on screen width, so put the important words at the start. In practice, 50–60 characters are usually shown in full.

No. Google says explicitly that it does not use the meta keywords tag. You can leave it empty or delete it.

On-page SEO deals with the content and structure of a single page. Technical SEO deals with the site as a whole: whether Google can access it, index it and load it quickly. A page that is perfect on-page does not help if it is not indexed.

MR. SEO · updated 6 November 2026

FIND OUT WHY CUSTOMERS AREN’T FINDING YOU.

FREE AUDIT