On-Page SEO
On-page SEO is the work of improving the content and HTML of each page, such as its title, headings, text, images and links, so that search engines understand what the page is about and people find it useful. It is the part of SEO you fully control, and it is usually where a small business should start.
- Scope: Everything on the page itself, from the title tag to the last internal link.
- Target: One main keyword and its close variations for each page.
- Readers: It serves the visitor first and the search engine second, and good pages do both.
- Control: Unlike links from other sites, every change is in your hands.
- AI answers: Clear headings and direct answers also make a page easier for AI answers to quote.
This lesson follows one example: a family restaurant in Jaipur, called Thali Ghar here, that serves a Rajasthani thali and takes table bookings through its website and WhatsApp. Tourists and locals search "rajasthani thali in jaipur", but the restaurant's page was titled "Home", and its menu was a photo of the printed card.
Why On-Page SEO Matters
- Relevance: The title, headings and first paragraph tell Google which searches a page should appear for. A page titled "Home" gives it nothing to work with.
- Clicks: The title and meta description form the listing people see in results, so they decide whether a searcher chooses you or the next restaurant.
- Experience: A clear layout with prices, timings and directions answers the visitor quickly, which is what Google's systems aim to reward.
- Speed: Changes can be made in an afternoon and are usually picked up after Google recrawls the page, unlike link building, which takes months.
- Foundation: Technical SEO and off-page SEO help most when each page is already clear about its topic.
Step-by-Step Framework
- Pick one target per page: From keyword research, give each page one main keyword. The thali page targets "rajasthani thali in jaipur"; a separate page targets "dal baati churma in jaipur".
- Match the intent: Search the keyword and look at what ranks, as explained in search intent. For the thali search, restaurant pages, map results and food guides appear, so the page must show the dishes, the price, the location and a way to book.
- Write the title tag: Put the keyword near the start, keep it to about 50 to 60 characters, and add the brand at the end: "Rajasthani Thali in Jaipur | Thali Ghar".
- Write the meta description: In 140 to 155 characters, say what the visitor gets and why to choose you: unlimited thali, the price range, the area, and table booking.
- Set a clean URL: Use short, readable words, such as /rajasthani-thali-jaipur, and do not change it later without a redirect.
- Use one H1 and clear H2s: The H1 repeats the main topic. H2s cover the natural subtopics: what is in the thali, prices and timings, how to reach us, and how to book.
- Answer early, then go deeper: The first two or three sentences should answer the search directly. Details, photos and questions follow.
- Add proof and detail: Type the menu as text with prices, show real photos of the food and the dining hall, and add the address, timings and phone number.
- Optimise images: Compress each photo, give it a descriptive file name, and write alt text that describes what it shows.
- Link inside the site: Link from the thali page to the dal baati page, the booking page and the location page with descriptive anchor text, the core idea of topic clusters.
- Add structured data: Mark up the restaurant's name, address, hours and menu with schema markup so search engines read the facts without guessing.
On-Page SEO Checklist
Copy this template for every important page.
| Element | Check | Thali page |
|---|---|---|
| Target keyword | One main keyword chosen from research | rajasthani thali in jaipur |
| Title tag | Keyword near the start, about 50 to 60 characters, brand at the end | Rajasthani Thali in Jaipur, Thali Ghar |
| Meta description | 140 to 155 characters with a clear benefit | Unlimited thali, price range, area, booking |
| URL | Short, readable, lowercase, with hyphens | /rajasthani-thali-jaipur |
| H1 | One per page, with the keyword | Rajasthani Thali in Jaipur |
| H2s | One for each subtopic, in a logical order | Dishes, prices and timings, location, booking |
| Opening | Answers the search in the first lines | What the thali includes and costs |
| Content | Original, complete, with real details | Typed menu with prices, real photos |
| Images | Compressed, descriptive file names and alt text | rajasthani-thali-dal-baati.webp |
| Internal links | Links to and from related pages with clear anchor text | Dal baati page, booking page |
| Structured data | Correct type, valid, matches the visible page | Restaurant with address and hours |
| Mobile | Readable on a phone, buttons easy to tap | Tap-to-call and WhatsApp buttons |
Example: On-Page SEO for a Jaipur Thali Restaurant
- Before: The page was titled "Home", the H1 said "Welcome", the menu was one photo, and the only text was a paragraph about the family's history.
- Changes: The team set the title to "Rajasthani Thali in Jaipur | Thali Ghar" and rewrote the H1. They opened with two sentences on what the thali includes and the price range, and typed the full menu with prices under an H2.
- Detail: They added real photos with alt text such as "Rajasthani thali with dal baati, gatte ki sabzi and bajre ki roti", the address with a map, the timings and a WhatsApp booking button.
- Links: The home page now links to the thali page with the words "Rajasthani thali", and the thali page links to the dal baati page and the booking page.
- Measurement: The team watches impressions and clicks for the target keyword in Google Search Console instead of guessing whether the changes worked. No ranking is promised, but the page now clearly answers the search.
Mistakes
- Stuffing: Repeating "thali Jaipur" in every sentence reads badly and can hurt the page.
- Duplicates: Copying the same text across the thali, lunch and dinner pages makes Google choose one and ignore the others.
- Images: Putting prices, timings or the menu only inside images hides them from search engines and from many readers.
- Multiple H1s: Styling every heading as an H1 blurs what the page is mainly about.
- Vagueness: Anchor text like "click here" tells neither readers nor search engines what the linked page covers.
- Cannibalisation: Two pages targeting the same keyword compete with each other, and often neither ranks well.
How AI Changes On-Page SEO
What AI Automates Now
AI assistants can draft title tags and meta descriptions in several versions, suggest H2 outlines from real customer questions, write alt text from a photo, and find missing internal links across a site. Many SEO plugins and content tools now build these AI features in. AI answers in search also reward pages that state facts clearly near the top, which the SEO vs GEO vs AEO lesson compares.
What Still Needs a Human
Only the restaurant knows the real price, what is in the thali this season, whether it is vegetarian, and what makes the family recipe different. Those details, plus real photos, are what make a page worth ranking, and AI cannot supply them honestly.
Risk to Watch
AI drafts tend to sound alike and to fill space with general claims such as "the best thali in the city". Pages built from such text add little value. AI tools can also invent details, like a dish the kitchen does not serve or a price that changed, so every fact on the page must be checked.
Do It with AI
Use this prompt to get a first draft of the on-page elements for one page. It works in ChatGPT, Claude or Gemini.
You are an on-page SEO editor for a small business in India. Page: [what the page is about] Target keyword: [one main keyword] Business facts: [prices, timings, address, what is included, anything unique] Real customer questions: [paste 5 to 10] Other pages on the site I can link to: [list them with their URLs] 1. Write three title tags of 50 to 60 characters with the keyword near the start and the brand at the end. 2. Write two meta descriptions of 140 to 155 characters with a clear benefit. 3. Suggest a URL slug, one H1 and an H2 outline that answers the customer questions. 4. Write a two-sentence opening that answers the search directly. 5. Suggest internal links with descriptive anchor text, using only the pages I listed. Use only the facts I gave you. Do not invent prices, dishes, awards or reviews.
- Fill the prompt with the page's keyword, real business facts and customer questions.
- Pick the best title and description, and edit them in the business's own voice.
- Rewrite the page using the outline, adding real photos, the typed menu and prices.
- Go through the checklist above line by line before publishing.
Check Before You Use It
- Facts: Every price, timing and dish must match what the restaurant serves today.
- Brand fit: Read the draft aloud; if it does not sound like the family that runs the restaurant, rewrite it.
- Compliance: Avoid unprovable claims such as "best in Jaipur", and never add reviews or ratings that customers did not give.
Quick Quiz
Pick an answer to check yourself. Nothing is saved.
Question 1 / 3
1. The Jaipur restaurant's thali page title is 'Home | Welcome'. What is the best fix?
Frequently Asked Questions
What is the difference between on-page and off-page SEO?
On-page SEO covers everything you change on the page itself: content, titles, headings, images and internal links. Off-page SEO covers signals from outside your site, mainly links and mentions from other websites.
How long should a title tag be?
Aim for roughly 50 to 60 characters so it is less likely to be cut off in results. Google measures by display width rather than a fixed character count, and it may rewrite titles it finds unhelpful.
Does the meta description affect rankings?
Google has said the meta description is not a direct ranking factor. It still matters, because a clear description can persuade more people to click, although Google sometimes shows its own snippet instead.
How many times should the keyword appear on a page?
There is no ideal number. Use the keyword in the title, the H1, the first paragraph and where it reads naturally. Repeating it again and again, called keyword stuffing, makes the page worse for readers and can hurt it.
Do headings like H1 and H2 help SEO?
Yes. Clear headings help search engines and readers understand how a page is organised. Use one H1 for the main topic and H2s for the main sections, in a logical order.
Related Articles
- Keyword Research with AIKeyword research with AI, step by step: find seed terms, check volume and intent, map keywords to pages, with a millet snack brand example and a prompt.
- Search IntentSearch intent explained: the four types, how to spot each one in Google results and how to match your page to it, with a Lucknow dental clinic example.
- Technical SEOTechnical SEO explained simply: crawlability, indexing, canonicals, speed, mobile and site structure, with a Surat saree store example and an AI prompt.
- Schema Markup (Structured Data)Schema markup tutorial: choose a schema type, write valid JSON-LD, test it and track rich results, with a LocalBusiness example for an Indore kirana store.
- Topic Clusters and Internal LinkingPlan topic clusters and internal linking: pick a pillar, map cluster pages, link them the right way, with a GST billing SaaS example and an AI prompt.
- SEO Audit with AISEO audit with AI: check indexing, technical health, on-page content and links in the right order, then prioritise fixes, with a Coimbatore manufacturer.