Skip to content

Onsite SEO: What to Optimize on Every Page, and Why AI Answers Depend on It

Onsite SEO is the work you do on your own website so search engines and readers understand each page: the content, title tags, headings, URLs, images, internal links, page speed and structured data. You control all of it, unlike links from other sites. The same work affects whether Google's AI Overviews and ChatGPT can quote your pages.

By , founder of Slibur

13 min read

Onsite SEO: What to Optimize on Every Page, and Why AI Answers Depend on It
In this article

Most guides treat on-site SEO and on-page SEO as synonyms, and in daily use they are. The split that helps is scope. On-page work happens one URL at a time. On-site work covers what every page shares: templates, navigation, internal links, speed. Its counterpart, the work that happens on other people's websites, has its own guide on off-site SEO.

There is a second reason to get this right. Ranking on a results page and being named inside an AI answer are now two different outcomes, and the page itself is the raw material for both. Google says its AI features need no special optimization beyond normal SEO. Still, an assistant has to find, read and trust your text before it repeats it. That is why a ChatGPT SEO tool answers a different question from a rank tracker: does the answer mention you at all?

On-site, on-page and technical SEO: where the lines fall

The labels overlap, so here is a working division that matches how the work actually gets done.

LayerScopeTypical itemsWho usually owns it
On-pageOne URLIntent, copy, title tag, meta description, headings, images, outbound linksWriter or editor
On-siteThe whole domainInternal links, navigation, URL patterns, canonical rules, templates, speed, structured dataSEO lead with a developer
TechnicalCrawl and index infrastructurerobots.txt, sitemaps, status codes, rendering, redirectsDeveloper
Off-siteOther websitesLinks, mentions, reviews, pressMarketing or PR

For many teams, technical SEO sits inside on-site SEO. The sections below stay with what a writer or site owner can change without a server deployment. Crawl errors, redirects and index coverage belong to the technical SEO audit checklist.

Page-level work: what to optimize on every URL

Start with the job the page has to do

Every page should answer one main question or complete one task. Search the phrase you have in mind and look at what already appears: guides, product pages, local listings, tools. If every result is a how-to article, a sales page will struggle whatever its title says.

Google's guidance on helpful content offers a self-test. It asks whether a page provides "original information, reporting, research, or analysis" and whether it describes the topic substantially. It also asks whether you are writing to a particular word count because you heard Google prefers one, then answers itself: "(No, we don't.)" Length follows the question.

When two pages chase the same intent, they split your signals. Merge them, or give each a distinct job.

Title tags that Google keeps

The title element is the clickable headline in results, and Google treats it as a suggestion. Its documentation on title links (opens in a new tab) says it may build that headline from other text instead, such as the H1, og:title tags or the anchor text of links pointing to the page. There is no length limit. Long titles are simply cut to fit the device.

Four rules cover most pages:

  • Write a distinct title for every page that describes what that page contains.
  • If you add your brand, keep it short. Google suggests the site name at the beginning or the end.
  • Keep the visible H1 close to the title, so Google sees one consistent label.
  • Never repeat the same phrase within a title. Google files that under keyword stuffing.

Title rewrites are more common than most site owners expect, and the triggers follow patterns: length, brackets, separators, stale dates. The guide to title tags for SEO covers each one, with templates by page type. After a change, Google has to recrawl the page before a new title shows, which it says can take a few days to a few weeks.

Meta descriptions and snippet controls

Google builds most snippets from the page's own text. It uses your meta description only when that describes the page better for a given search, so one URL can show different snippets for different searches. Descriptions have no character limit, though long ones get cut to fit the screen.

Write a unique description for each important page, with what a searcher would want to know: price, author, date, place, or what the reader will get. Identical descriptions across a site help nobody, and neither do strings of keywords. To show less, Google offers three controls: nosnippet, max-snippet and data-nosnippet. These same controls also limit what Google's AI features can show from your page.

Headings as an outline

Use one H1 that states the page's subject. Make each H2 a section a reader could jump to, and add H3s only to split a long section. Then read your headings in order. If they work as a table of contents, they work.

Specific headings beat vague ones. "What's included in every plan" tells a crawler, a screen reader and a skimming visitor what comes next; "Learn more" tells them nothing. What Google has said about multiple H1s, heading order and the H1 versus the title is in the guide to H1 tags.

Answer first, then detail

Put the direct answer at the top of the page or section, in two or three sentences that make sense on their own. Then explain. This has always been good writing, and it now has a second payoff. In an October 2025 post on the Microsoft Advertising blog, a Bing product manager wrote that direct questions with clear answers mirror the way people search, and that assistants can often lift those pairs "word for word" into a response.

Three habits help most:

  • Self-contained passages. A paragraph that only makes sense after the previous three cannot be quoted alone.
  • Lists and tables for steps, specs and comparisons. Keep prose for reasoning.
  • Plain text for anything important. Microsoft warns that AI systems may not render content hidden in tabs or expandable menus, and it recommends HTML over PDFs for critical details.

URLs

Short, readable addresses help people decide whether to click and help you keep the site organized. Google's URL guidance recommends readable words instead of long ID numbers, hyphens rather than underscores between words, words in your audience's language, and as few parameters as you can manage. Once a URL earns links, keep it stable. If you must move it, redirect the old address.

Images

Google uses alt text along with computer vision and the content of the page to understand an image, so place each image near the passage it illustrates. Filenames count too: Google's own example prefers my-new-black-kitten.jpg to IMG00023.JPG. Supported formats include JPEG, PNG, WebP, SVG and AVIF. When an image is a link, its alt text works as the anchor text. For examples by page type, see the guide to image alt text.

Linking to the origin of a statistic or a rule helps readers check it. Google's link documentation says to use nofollow only when you do not trust the source, not on every external link. Paid links need sponsored or nofollow, and links in user comments need ugc or nofollow.

Site-level work: what ties your pages together

Internal links are how crawlers find pages and how readers find the next step. Google's guidance on crawlable links (opens in a new tab) is short and specific:

  • Google can generally crawl a link only when it is an anchor element with an href attribute. A clickable element without an href may never be followed.
  • "Every page you care about should have a link from at least one other page on your site."
  • Good anchor text describes the target and stays reasonably concise. Labels like "click here" tell nobody anything.
  • There is no magical ideal number of links per page, though Google adds that if it looks like too many, it probably is.

A simple routine works well. When you publish a page, add links to it from two or three older pages on the same topic, using the words a reader would expect. Pages that nothing links to (orphans) show up quickly in any site crawler.

Duplicates and canonical URLs

The same content often lives at several addresses: with and without a trailing slash, with tracking parameters, as a print version or a filtered category page. Google's guidance on duplicate URLs ranks the signals you can send. A redirect and a rel="canonical" link element are strong signals; listing a URL in your sitemap is a weak one. Combined, they stack.

Treat the canonical as a preference, not an order. Without one, Google picks the version it considers best for users. Consolidating still pays: one URL collects the signals, your analytics report one page instead of four, and crawlers waste less time on copies.

Page speed and Core Web Vitals

Google's page experience documentation states that Core Web Vitals "are used by our ranking systems". It also says Google "always seeks to show the most relevant content, even if the page experience is sub-par". Speed decides close calls; it does not rescue a page that answers the question badly. The Core Web Vitals (opens in a new tab) targets are:

MetricWhat it measuresGood
Largest Contentful Paint (LCP)Loading of the main contentWithin 2.5 seconds
Interaction to Next Paint (INP)Response to taps, clicks and key pressesUnder 200 milliseconds
Cumulative Layout Shift (CLS)Visual stability while loadingUnder 0.1

Beyond the metrics, Google's self-assessment asks a few more questions. Is the page served over HTTPS? Does it display well on mobile? Does it avoid intrusive interstitials and ads that get in the way? Can visitors tell the main content from everything else? Nearly all of these fixes live in templates, which is why speed counts as on-site work rather than a single page's problem.

Structured data

Structured data is a standard format, usually built on schema.org vocabulary, that tells search engines exactly what a page describes: an article, a product, a recipe, a local business. Google recommends JSON-LD where your setup allows it. A minimal article block looks like this:

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How to Descale an Espresso Machine",
  "author": { "@type": "Person", "name": "Jane Doe" },
  "publisher": { "@type": "Organization", "name": "Example Coffee Co." }
}

Google's introduction to structured data (opens in a new tab) reports what some sites saw after adding it. Rotten Tomatoes measured a 25% higher click-through rate on pages with structured data. Food Network enabled search features on 80% of its pages and saw a 35% increase in visits. Nestlé measured an 82% higher click-through rate on pages shown as rich results. These are cases Google picked, not averages, but they show where the payoff comes from: richer results that earn more clicks.

Two limits matter. Markup has to describe content that readers can see on the page, and Google does not guarantee a rich result even when the markup is valid. Test every template in the Rich Results Test before and after release.

How onsite SEO decides whether AI answers can quote you

What Google says about AI Overviews and AI Mode

Google's page on AI features and your website (opens in a new tab) is plain about it: no additional requirements, no special optimizations. A page must be indexed and eligible to appear in Search with a snippet. Both features may use "query fan-out", running several related searches across subtopics, which Google says lets them show a wider and more diverse set of links than a classic web search.

The practices Google lists for AI features are ordinary onsite SEO: important content available as text, pages easy to find through internal links, a good page experience, structured data that matches the visible text, and images or video that support the text. Its guide to optimizing for generative AI search goes further. It calls optimizing for AI search "still SEO", says Google Search ignores AI text files such as llms.txt, and says there is no need to break content into tiny chunks. Structured data is not required for generative AI search either, and no special schema exists for it.

To see the effect, Google points site owners to the Generative AI performance report in Search Console, which shows how content performs in those features.

What Bing and OpenAI add

Other assistants set their own rules, and they are just as practical. Microsoft's guidance on AI answers asks for clear titles, specific headings, question-and-answer pairs, lists and tables, and key facts in HTML rather than in images or PDFs. OpenAI's documentation on its crawlers says sites that opt out of OAI-SearchBot will not be shown in ChatGPT search answers, and that a robots.txt change takes about 24 hours to register.

That makes crawler access part of onsite SEO. A firewall rule or an old robots.txt line can shut an AI crawler out without anyone noticing. A free AI crawler checker shows whether GPTBot, ClaudeBot, PerplexityBot and other AI crawlers can read your site. For a single page, the AEO checker tests whether answer engines can reach it, read it and quote a direct answer from it, with 16 checks and a score.

What ChatGPT says about on-page and on-site SEO

We asked ChatGPT four questions on November 17, 2026, from the United States:

  1. What is on-page SEO, and what should I optimize on every page?
  2. What's the difference between on-site SEO and off-site SEO?
  3. What are the best tools to check my website's on-page SEO?
  4. Does on-page SEO help a page get cited by ChatGPT or Google AI Overviews?

Neither definition question came back with a cited source, yet both answers were sound. The first walked from search intent to the next action you want a reader to take. Its on-page list also took in canonical tags, robots.txt and noindex checks, which shows how loosely the labels are used, even by an assistant. The second answer put the split in one table: on-site SEO is about "Relevance and usability", off-site SEO about "Authority and trust".

For the tools question, ChatGPT produced nine names. Google Search Console came first, followed by Screaming Frog, Semrush, Ahrefs, Google PageSpeed Insights, Sitebulb, Yoast SEO, Rank Math and Surfer. Its free pick was Search Console plus Screaming Frog plus PageSpeed Insights. That answer cited just a Google help page and a Semrush product page describing its site audit, and Semrush was the tool it named as the best all-in-one paid option.

The AI question drew the most careful answer. ChatGPT said on-page SEO helps "indirectly", framed the goal as eligibility and extractability, and said no on-page tactic can guarantee a citation. It cited Google's AI features page, Google's helpful content page and two OpenAI help center pages on crawler rules.

QuestionSources citedBrands named
What on-page SEO isNoneNone
On-site vs off-site SEONoneNone
Best toolsGoogle, SemrushNine SEO tools
AI citationsGoogle (two pages), OpenAI (two pages)ChatGPT, Google, OpenAI

Two patterns stand out. When the question was about rules, ChatGPT went to the organizations that write them: Google and OpenAI documentation made up five of the six links. And the one vendor page it used was a product page stating exactly what the product checks. A page that says plainly what you do, for whom and with what limits is the kind of page an assistant can lean on.

An onsite SEO audit you can finish in an afternoon

Pick your ten most important pages, usually the ones that bring in revenue or leads, and run each one through this table.

CheckWhere to lookPass when
IntentSearch the main phrase yourselfYour page type matches what already appears
TitlePage source, then Search ConsoleUnique, descriptive, close to the H1
OpeningThe first screen of the pageA direct answer before any preamble
HeadingsRead them in orderThey work as a table of contents
Internal linksA site crawler or your CMSAt least one link from a related page, with descriptive anchor text
ImagesPage sourceDescriptive filenames, alt text, image near its passage
DuplicatesURL Inspection in Search ConsoleGoogle's chosen canonical is the URL you want
SpeedPageSpeed InsightsLCP, INP and CLS in the good range
Structured dataRich Results TestNo errors, and the markup matches the visible text
AI accessrobots.txt and a crawler checkSearch crawlers and AI crawlers can read the page

Fix what fails and note the date. A few weeks later, compare clicks and impressions in Search Console, and check the Generative AI performance report for the same pages.

Mistakes that undo good onsite work

  • Hiding the answer. Key facts inside tabs, accordions, images or PDFs may never reach an assistant.
  • One template title for many pages. Google's title documentation calls out boilerplate titles directly.
  • Markup that disagrees with the page. Structured data has to describe what readers can see.
  • Orphan pages. A page with no internal links pointing to it is hard for crawlers to find and easy for you to forget.
  • Writing to a word count. Google says it has no preferred length. Padding only buries the answer.
  • Blocking crawlers you need. A robots.txt rule written years ago can keep a page out of ChatGPT search today.
  • Vague claims. Microsoft notes that words like "innovative" or "eco" mean little without specifics. Use numbers, names and specs.

After the fixes: check whether AI names you

Onsite SEO makes a page eligible to be found and quoted. It cannot tell you whether an assistant actually mentions your business when a customer asks for a recommendation. For that, someone has to ask the questions your customers ask and record what comes back. Slibur runs those questions on ChatGPT, Google AI Overviews, Claude, Perplexity and Grok, and shows which brands appear, in what position and which sources each answer cites, including whether a cited page is yours or a rival's. The 7-day trial needs no credit card.

Frequently asked questions

Is onsite SEO the same as on-page SEO?

Mostly. Many guides use the two terms as synonyms. A useful distinction is scope: on-page SEO covers one URL (its copy, title, headings, images and links), while on-site SEO also includes what every page shares, such as internal linking, navigation, URL patterns, templates, speed and structured data. Off-site SEO is the work that happens on other websites, such as links and mentions.

What are the most important onsite SEO factors?

Start with a page that fully answers one clear search intent. Then make it easy to understand: a descriptive title, one clear H1, headings that work as an outline, a direct answer near the top, internal links from related pages and images with alt text. Speed, duplicate URLs and structured data come next, and most of those are fixed once, in templates.

How many internal links should a page have?

Google says there is no magical ideal number of links per page, though if it looks like too many, it probably is. What it does ask is that every page you care about has a link from at least one other page on your site, built as an anchor element with an href and with anchor text that describes the target. A simple habit: when you publish a page, link to it from two or three related pages.

Does structured data help a page appear in AI Overviews?

Not directly. Google says structured data is not required for its generative AI features and that no special schema exists for them. It still helps a page qualify for rich results in regular search, and Google lists structured data that matches the visible text among the good practices for AI features.

Is technical SEO part of onsite SEO?

For most teams, yes. Technical SEO covers crawl and index infrastructure: robots.txt, sitemaps, status codes, redirects and rendering. It lives on your site, so it falls under on-site work, but it usually needs a developer, while writers and editors can handle the on-page side.

How do I know if my onsite SEO changes worked?

Note the date of each change, then compare clicks, impressions and average position for those pages in the Search Console Performance report after a few weeks. Google also offers a Generative AI performance report in Search Console for its AI features. To see whether ChatGPT or other assistants name you, ask them the questions your customers ask and record the answers.

Do I need an llms.txt file for onsite SEO?

Not for Google. Google's guide to generative AI search says Google Search ignores AI text files such as llms.txt, and that creating one will neither help nor harm your visibility there. Other services may read the file, so adding one does no damage, but it does not replace clear text, good headings and crawlable links.

About the author

Founder of Slibur

Raúl Díaz is the founder of Slibur, the tool that asks ChatGPT, Google AI Overviews, Claude, Perplexity and Grok the questions your customers ask and shows which brands they recommend. He writes about answer engine optimization from the data Slibur collects.

  • Excel for SEO: Search Console Formulas, Pivot Tables and AI Labels

    Excel for SEO mostly means working on Search Console exports: a pivot table by page and query, XLOOKUP to join lists, TEXTBEFORE and regex tests to group queries, a CTR curve from your own positions and a flag for queries split across two URLs. Google Sheets does the same, sometimes with a different function.

    13 min read