Quick answer: Put your main keyword, in natural words, in the places that describe the page: the title tag, the H1, the URL, the first few lines, at least one subheading, image alt text and the link text other pages use to point to it. Google and AI tools match meaning, not exact repeats, so never stuff keywords. Clear, matching titles and headings make a page easier to rank and to cite.
- The places that matter most are the ones that describe the page: the title tag, H1, URL, opening paragraph, subheadings, alt text and internal link text.
- Google says it builds search titles from your title tag, H1 and the link text pointing to the page, so these should all agree.
- In a 2026 Ahrefs study of 1.4 million ChatGPT prompts, cited pages had titles that were clearly closer in meaning to the user's question than pages that weren't cited.
- Google and AI tools understand synonyms. You need the topic to be clear, not the same phrase repeated ten times.
- Keyword stuffing breaks Google's spam policies, and Google doesn't use the keywords meta tag at all.
Do keywords still matter for Google and AI search?
Yes, but not in the old way. Keywords still tell search engines and AI tools what a page is about. What has changed is how literally they need to match.
Google's SEO Starter Guide (updated December 10, 2025) still tells you to "think about the words that a user might search for to find a piece of your content." It also says Google's "language matching systems are sophisticated and can understand how your page relates to many queries."
Google's guide to optimizing for generative AI features (updated July 10, 2026) goes further. It says "AI systems can understand synonyms and general meanings of what someone is seeking" and can "connect them with content that might not use the same precise words." It even says you "don't have to worry that you don't have enough 'long-tail' keywords."
So the job is not to repeat a phrase. It's to make the topic of each page obvious in the few places that search engines and AI tools lean on most. Before you place keywords, you need the right ones. Our guide to search intent and picking keywords covers that first step.
Where should you put your main keyword on a page?
Here's a quick checklist. We go through each place below.
| Place | What to do | Why it matters |
|---|---|---|
| Title tag | Main keyword near the start, written as a clear, natural title | Main source for the blue link in Google; a strong relevance signal for AI tools |
| H1 heading | Match or closely reflect the title | Google's top fallback when it rewrites titles; Microsoft says it should match the title |
| URL slug | Short, readable words, like /services/gst-filing-pune/ | Helps users; small effect on its own |
| First 100 words | Say what the page is and answer the main question | Sets the topic for readers, snippets and AI answers |
| Subheadings (H2, H3) | Use the questions and variations buyers ask | Helps readers and AI tools find the right section |
| Image alt text | Describe the image; include the keyword only if it fits | Helps Google understand images |
| Internal link text | Link to the page with descriptive words, not "click here" | Tells Google what the linked page is about |
| Meta description | A short, readable summary with the keyword if natural | Can become your search snippet; not a place for keyword lists |
Why is the title tag the most important place?
The title tag is the text inside the <title> element of your page's HTML. Google uses it to create the clickable blue link in search results, which Google calls the title link. AI tools also read titles when they decide which pages to use.
Google's page on influencing your title links (updated December 10, 2025) gives clear rules:
- "Write descriptive and concise text for your <title> elements."
- "Avoid keyword stuffing." Google adds that there's "no reason to have the same words or phrases appear multiple times."
- "Brand your titles concisely," with your site name at the beginning or end.
Put the main keyword near the start, because long titles get cut off. An Ahrefs study of 953,276 pages (2021) found Google rewrote titles wider than 600 pixels 46.12% of the time. Its rule of thumb is to keep titles under about 60 characters.
Here's what that looks like for a chartered accountant in Pune:
| Weak title | Better title |
|---|---|
| Home | Sharma & Associates | GST Filing Services in Pune | Sharma & Associates |
| GST Pune, GST Filing Pune, Best GST CA Pune Cheap | GST Filing in Pune: Fees, Documents and Deadlines |
| Our Services | GST Registration and Return Filing for Pune Businesses |
The firm name is illustrative. The pattern is what matters: the topic first, in words a buyer would actually type or say, and the brand last.
Why titles matter even more for AI search
Ahrefs studied why ChatGPT cites one page over another using 1.4 million prompts (published April 2026). It measured how close in meaning each page's title was to the user's prompt. Cited pages scored 0.602 on average. Pages ChatGPT found but didn't cite scored 0.484.
The gap was wider against ChatGPT's own background searches, known as fan-out queries. Google's AI guide describes query fan-out as "a set of concurrent, related queries generated by the model." Ahrefs' conclusion was blunt: if your URL and title don't line up with those background searches, "you're less likely to get cited."
This doesn't mean exact-match titles win. The study measured closeness in meaning, not repeated words. A title like "GST Filing in Pune: Fees, Documents and Deadlines" matches many related questions at once.
Should your H1 match your title tag?
Mostly, yes. The H1 is the main visible heading on the page. It doesn't need to be identical to the title tag, but it should say the same thing.
Google lists the sources it uses for title links. They include "content in <title> elements," "heading elements, such as <h1> elements," "anchor text on the page" and "text within links that point to the page." If these all point to the same topic, Google is more likely to show your title as written.
The data backs this up. In the Ahrefs title study, when Google ignored the title tag, it used the H1 50.76% of the time. A 2022 Zyppy study of more than 80,000 titles, reported by Search Engine Journal, found that matching the H1 to the title cut the chance of a rewrite to 20.6%.
Microsoft agrees for AI answers. In its guidance on AI search answers (October 8, 2025), Bing says H1 tags "should match (or closely reflect) the page title," and that page titles should use "natural language that aligns with search intent."
Use one clear H1 per page. Google says heading order doesn't matter for ranking, but one main heading keeps the page easy to follow for people and machines.
Do keywords in the URL help?
A little, mostly for people. Google's SEO Starter Guide says to "include words in the URL that may be useful for users." But it also says keywords in the domain name or URL path "alone have hardly any effect beyond appearing in breadcrumbs."
For AI tools, readable URLs seem to help more. In the Ahrefs ChatGPT study, search results with natural-language URL slugs had an 89.78% citation rate, compared with 81.11% for those without.
So use short, readable slugs for new pages:
- Good:
/services/gst-filing-pune/ - Weak:
/page?id=4471or/best-gst-filing-pune-cheap-gst-ca-pune/
Don't rename old URLs just to add a keyword. Every change needs a redirect, and the small gain rarely beats the risk. Our guide to 404 errors and redirects explains how to handle URL changes safely.
Where should keywords go in the page content?
The body is where most keyword mistakes happen. Business owners either forget the topic entirely or repeat it in every sentence. Follow these four rules.
Rule 1: Answer the main question in the first few lines
Say what the page is about and give the short answer near the top. A Hyderabad interior design studio's page for "modular kitchen cost" should open with a price range and what changes it, not a paragraph about the studio's history.
Google's snippet guide (updated April 20, 2026) says snippets "are primarily created from the page content itself." Microsoft adds that "AI assistants don't read a page top to bottom like a person would." A clear opening helps both.
Rule 2: Turn related searches into subheadings
Your H2s and H3s are where variations belong. For the kitchen page, that might be "How much does a modular kitchen cost in Hyderabad?", "Which materials last longest?" and "How long does installation take?"
Microsoft notes that headings "mark where one idea ends and another begins" and that "direct questions with clear answers mirror the way people search." Google's AI guide also says people appreciate "headings that provide a clear structure to navigate content." Our post on content gap analysis shows how to find the questions buyers ask.
Rule 3: Use natural variations, not repeats
Google's Starter Guide uses the example of "charcuterie" and "cheese board": people with different knowledge search with different words. In India, the same buyer might type "CA for GST", "GST consultant" or "GST return filing help". Use these naturally across the page instead of forcing one phrase.
Rule 4: Add facts, not filler
AI tools prefer pages with something specific to say. The GEO research paper (KDD 2024) found that adding statistics, quotations and sources could raise a page's visibility in AI answers by up to 40%. A real price range in ₹, a turnaround time or a document checklist does more than another mention of the keyword.
Do alt text, link text and meta descriptions need keywords?
These are smaller places, but they add up.
- Image alt text. Google calls alt text "a short, but descriptive piece of text that explains the relationship between the image and your content." Describe the image first. "L-shaped modular kitchen with white laminate cabinets" is better than "modular kitchen Hyderabad best price".
- Internal link text. Google says link text "tells users and Google something about the page you're linking to." When your blog links to your GST service page, use words like "our GST filing service", not "click here". Our guide to internal linking covers this in detail.
- Meta description. Google may show it as your snippet when it describes the page better than the on-page text. Its snippet guide warns that descriptions "comprised of long strings of keywords don't give users a clear idea of the page's content." Write one or two plain sentences instead.
One place you can skip: the keywords meta tag. Google's Starter Guide says plainly, "Google Search doesn't use the keywords meta tag."
How many times should a keyword appear on a page?
There's no magic number. Google's Starter Guide says "the length of the content alone doesn't matter for ranking purposes" and warns that "excessively repeating the same words over and over (even in variations) is tiring for users."
Google's spam policies (updated August 28, 2026) define keyword stuffing as "filling a web page with keywords or numbers in an attempt to manipulate rankings." Its examples include "blocks of text that list cities and regions that a web page is trying to rank for." That's a common pattern on Indian service sites, like a footer listing 40 Delhi NCR localities.
Microsoft gives the same advice for AI answers: "Avoid keyword stuffing and instead explain value or outcome."
A simple test: read the page aloud. If a sentence sounds odd because of a keyword, rewrite it. If you serve many areas, build a few useful location pages with real local details instead of a list. Our guide to service pages explains how.
How do you check keyword placement on your own site?
You can audit your key pages in an afternoon. Start with your top five service or product pages.
- Find the searches each page already gets. In Google Search Console, open the Performance report and filter by page. The queries list shows the words people actually use.
- Check the title, description and headings. The free Pagelens Meta Tag Analyzer checks a page's title, meta description and Open Graph tags. The Heading Analyzer flags missing H1s and skipped heading levels.
- Preview how the title will look. The Google SERP Snippet Preview shows whether your title and description fit on desktop and mobile before you publish.
- Fix the gaps. Rewrite weak titles, align the H1, sharpen the opening lines and update link text on pages that point to it.
- Check AI answers. Ask ChatGPT and Gemini the questions your buyers ask. The free Pagelens AI visibility audit runs about ten buyer-style questions across ChatGPT, Claude, Gemini and Perplexity, with no signup, and shows which competitors and sources get cited. More free checks are on the Pagelens tools page.
Give changes a few weeks. Google says updated titles can take "a few days to a few weeks" to show after it recrawls the page.
Clear on-page basics were part of the work for two OffBuddy clients:
| Client | AI visibility before | AI visibility after | Time taken |
|---|---|---|---|
| iProledge | 3.8% | 24% | 3 months |
| Deepsolv | 0% | 6.8% | 2 months |
In both cases, title and heading fixes sat alongside new content, technical fixes and earning mentions. The Pune, Hyderabad and Delhi examples in this guide are illustrative.
Sources
- Google Search Central: SEO Starter Guide (updated December 10, 2025)
- Google Search Central: Influencing your title links in search results (updated December 10, 2025)
- Google Search Central: Control your snippets in search results (updated April 20, 2026)
- Google Search Central: Spam policies for Google web search (updated August 28, 2026)
- Google Search Central: Optimizing for generative AI features in Google Search (updated July 10, 2026)
- Microsoft Advertising blog: Optimizing your content for inclusion in AI search answers (October 8, 2025)
- Ahrefs: Why ChatGPT Cites One Page Over Another (Study of 1.4M Prompts), April 2026
- Ahrefs: 6 Important Insights About Title Tags (953,276 Pages Studied)
- Search Engine Journal: Google Changes More Than 61% of Title Tags (Zyppy study, 2022)
- Aggarwal et al., GEO: Generative Engine Optimization (KDD 2024)