On-page SEO: what it is and how to optimise a page
Everything you can improve inside a page to help Google understand it and persuade the person reading it: from the title to internal links, with no tricks and no keyword counting.
By Valerio Aloi · Published: 6 novembre 2026
“SEO optimisation” is a broad phrase: it covers anything that improves a site’s visibility in search engines. On-page SEO is the part about the page itself, and the part you control most, because it does not depend on other websites.
On-page, technical and off-page: the difference
- On-page: page content, title, headings, internal links, images, structured data.
- Technical SEO: how the site is crawled and indexed: speed, URL structure, sitemaps, canonicals, mobile. See the technical SEO page.
- Off-page: everything outside the site, above all links from other sites (see link building) and reputation such as reviews.
Where to start: search intent
Before touching a title you need to know what the person searching that phrase wants: to learn, compare, buy or find a nearby service. The most reliable way is to look at what Google already shows: what type of pages they are (guides, service pages, product pages, lists), what they answer and what they leave out. If every top result is a guide and yours is a sales page, tuning the words is not enough: the page is the wrong type. I check this query by query before writing any page.
What to optimise, in order of importance
- The content. The page must answer the question clearly and completely, with the answer up front. It carries the most weight and no technical tweak replaces it.
- The title. It tells Google and people what the page is about. Put the main topic first and write to be clicked. As a practical rule keep it to about 60 characters so it is not cut in results; Google may rewrite it anyway.
- The headings (H1, H2). One H1 that says what the page covers, and H2s that follow the structure of the answer. They help skimming readers and screen reader users.
- The meta description. It is not a ranking factor, but it is often the text shown under the title and affects clicks. About 155-160 characters avoids truncation; Google may replace it with a passage from the page.
- Internal links. They connect the page to the rest of the site with text that says where the link goes. A page with no internal links pointing to it is hard for Google and people to find.
- Images. A descriptive file name and alt text, and a sensible file size so the page does not slow down.
- Structured data. It helps engines understand the type of content; it is covered in the guide to schema markup and structured data.
What the Catania data says
The rules above come from Google’s documentation. To see how much they matter in practice, in November 2026 I re-read the home page of 897 business sites in Catania: the ones with their own or a network site from the study on what gets a local business recommended by AI. I then measured 188 Google searches (top 20 positions, from Catania) and looked at which home page features go with two outcomes: appearing in the top 20 organic positions, and being cited in at least one of the AI answers collected for the study.
Each figure is an odds ratio, controlling for reviews, rating and trade: 1 means no effect, above 1 means higher odds; in brackets is the 95% interval, and if it includes 1 the effect may not exist.
| Home page feature | Google top 20 (70 sites) | Cited by AI (376 sites) | Reading |
|---|---|---|---|
| City name in the title | 3.34 (1.71-6.55) | 1.42 (1.03-1.96) | clear effect |
| Title of 30-65 characters | 1.38 (0.75-2.55) | 1.29 (0.94-1.77) | not distinguishable from chance |
| Meta description of 70-160 characters | 0.93 (0.50-1.72) | 1.24 (0.88-1.74) | not distinguishable from chance |
| A single H1 | 1.07 (0.59-1.92) | 1.01 (0.74-1.40) | no effect |
| At least 3 H2s | 1.47 (0.75-2.91) | 1.01 (0.71-1.44) | not distinguishable from chance |
| Alt text on at least 80% of images | 0.72 (0.40-1.28) | 0.93 (0.67-1.29) | no effect |
| Canonical tag | 0.42 (0.17-1.02) | 1.41 (0.88-2.26) | uncertain |
| At least 500 words on the home page | 1.57 (0.82-3.00) | 1.25 (0.89-1.76) | not distinguishable from chance |
One factor is clear: the city name in the title. It raises the odds of being in the top 20 by about three and a half times, and in the top 10 by about two and a half (2.62, interval 1.19-5.78); for AI citations the interval also stays above 1. For a local business it is the cheapest change and the clearest one.
Everything else, in this sample, does not separate visible sites from invisible ones: title and meta description length, H1, H2 and alt text are indistinguishable from chance. That does not mean they are useless (alt text and headings still help readers and accessibility); it means that for a local business they are not the lever that decides. The canonical has an estimate below 1 for ranking (0.42), but the interval touches 1 and only 70 sites are in the top 20: I do not read it as a real effect.
Sites that do well on Google also get cited more: of the sites in the top 20, 61% are cited by at least one AI answer, against 40% of the others (71% among the 17 in the top three).
Limits. These are associations, not proof of cause. I read only each site’s home page; the position is the best across the searches where the listing appeared on Maps, measured in November, while the AI answers were collected earlier. The sample is businesses in Catania, and only 70 sites appear in the top 20, which is mostly taken by listings and directories: that is why the intervals are wide.
What you no longer need
- Keyword density. There is no ideal percentage: repeating the same phrase makes the text worse. Write naturally and use synonyms and related questions.
- Long text at any cost. The right length is whatever it takes to answer. Padding to reach a word count does not improve rankings.
- A title with every variant. A title is a clear promise, not a list of keywords.
How to check a page in ten minutes
- Search your query and look at the top results: are they the same type as your page?
- Read the title, H1 and first paragraph: do they answer the question straight away?
- Check there is a single H1 and that the H2s tell the structure.
- Verify that at least two other pages on the site link to this one, and that this page links to relevant ones.
- In Search Console look at which queries the page gets impressions for: they often reveal a different intent from the one you assumed.
If you want a check on your own pages, the first audit is free.
FAQ on-page SEO
What is on-page SEO?
On-page SEO is the set of changes to the elements of a single page that affect its ranking: content, title, headings, meta description, internal links, images and structured data. The difference with technical SEO is that here you work on the page’s content and structure, not on how the site is crawled.
What is the difference between on-page and off-page SEO?
On-page covers what is inside the page and under your control. Off-page covers what sits outside the site, mainly the links other sites make to yours and your reputation, such as reviews.
How long should a title be?
Google sets no limit. As a practical rule, about 60 characters avoids the title being cut in results. What matters more is saying clearly what the page is about, with the topic first.
How many times should the keyword be repeated?
There is no right number. Use it where it is natural, in the title, heading and text, and cover the topic with synonyms and related questions. Repeating the same phrase to raise density makes the text worse without improving rankings.
Does the meta description affect rankings?
Not directly. But it is often the text shown under the title in results and can increase clicks. Google may show a different passage from the page if it finds it more relevant to the search.
Which on-page factors matter most for a local business?
In my data on 897 business sites in Catania the main one is the city name in the home page title: odds ratio 3.34 (interval 1.71-6.55) for being in Google’s top 20 and 1.42 (1.03-1.96) for being cited by AI. H1, H2, meta description and alt text are indistinguishable from chance.
Want an audit done with this method?
A free SEO audit of your site, with real data and a short list of things to do.