On-Page SEO Basics: How to Write a Page Google Can Rank
Quick answer
On-page SEO means making a single page easy for people and search engines to understand. Pick one clear topic per page, answer it well, put the main phrase in the title, first heading and URL, write a useful meta description, link to related pages and describe images with alt text. Helpful content matters more than any single tweak.
What on-page SEO means
On-page SEO is the work you do on a page itself so that search engines understand what it’s about and people find it useful. It covers the words, the title, the headings, the address (URL), links and images.
It is the part of SEO you fully control. It won’t make a weak page rank, but it stops a good page being overlooked.
Start with one topic per page
Every page should have one main job. Before writing, decide:
- The main question or search the page answers, such as “how much does a website cost”.
- Who is searching and what they want: to learn, compare, or buy.
- What a complete answer includes. Look at what already ranks for that search and note the questions those pages cover. Then aim to be clearer, more current or more practical, not just longer.
If two of your pages target the same search, they compete with each other. Merge them or give each a distinct angle.
Write content that answers the search
Google’s guidance is clear that it aims to reward helpful, people-first content. In practice:
- Answer the main question early. A short, direct answer near the top helps both readers and search snippets.
- Cover the follow-up questions a reader would naturally ask next.
- Add something of your own: an example, a photo, a price you paid, a mistake you made. First-hand detail is hard to copy.
- Keep it accurate and up to date, and show when it was last updated if that matters for the topic.
- Use the words your readers use. If customers say “website builder”, don’t only say “site creation platform”.
The title tag
The title tag is the clickable headline Google usually shows in search results. Google uses several sources to build that title link, but the title tag is the main one.
- Make each page’s title unique and descriptive.
- Put the main topic near the start.
- Keep it concise. Long titles get cut off in results.
- Add your brand at the end if there is room, for example “How to Choose a Domain Name | YourSite”.
Headings
Use one main heading (H1) that matches the page topic, then H2 and H3 subheadings to break the page into sections. Headings help readers scan and help search engines understand structure. Write them as clear signposts, such as “How much does hosting cost?”, not “Part 2”.
The meta description
The meta description is a short summary you write for each page. Google may show it under the title in search results, but it often generates its own snippet from the page content instead.
- Summarise what the page offers in one or two sentences.
- Make it specific and unique to the page.
- Treat it as an invitation to click, not a list of keywords.
It doesn’t directly affect rankings, but a clear one can improve how many people click.
The URL
Short, readable URLs help people see what a page is about before they click.
| Less helpful | Better |
|---|---|
| yoursite.com/p?id=4821 | yoursite.com/website-cost |
| yoursite.com/2026/11/02/blog-post-final-v2 | yoursite.com/articles/how-to-choose-a-domain-name |
Use lowercase words separated by hyphens. Once a page is live, avoid changing its URL; if you must, add a permanent (301) redirect from the old address.
Internal links
Link from each page to related pages on your own site, using descriptive link text. “Read our guide to how to get your website on Google” tells readers and search engines far more than “click here”.
Internal links help Google find new pages, understand how topics connect, and pass people to the next useful thing. Make sure important pages are linked from your menu or homepage, not buried.
Images
- Use descriptive file names (blue-ceramic-mug.jpg, not IMG_4821.jpg).
- Add alt text that describes the image for people who can’t see it.
- Compress images so pages load quickly.
- Place images near related text.
Our guide to finding images for your website covers licensing and alt text in more detail.
Technical basics that affect every page
These aren’t strictly “on-page”, but a page can’t rank if they’re broken:
- The page must be indexable: not blocked by robots.txt or a noindex tag.
- It should work well on phones.
- It should load reasonably fast.
- It should use HTTPS.
Our website launch checklist walks through these.
What not to do
- Keyword stuffing. Repeating a phrase unnaturally is against Google’s spam policies and reads badly.
- Thin pages. Lots of near-empty pages targeting slight variations of a phrase.
- Publishing for search alone. Large volumes of pages written only to rank, with little value to readers, can fall foul of Google’s policies on scaled content.
- Hidden text or other tricks meant only for search engines.
- Copying other sites. Duplicate content rarely ranks and can create legal problems.
A quick on-page checklist
- One clear topic, answered early and fully
- Unique, descriptive title tag
- One H1, with clear H2 subheadings
- Specific meta description
- Short, readable URL
- Links to and from related pages
- Images with alt text and sensible file sizes
- Indexable, mobile-friendly and on HTTPS
Then publish, request indexing in Google Search Console, and give it time.
Frequently asked questions
What is the difference between on-page and off-page SEO?
On-page SEO is everything you control on the page itself: the content, title, headings, links and images. Off-page SEO is mostly about signals from elsewhere, especially links from other websites and mentions of your brand.
How many times should I use my keyword?
There is no magic number. Use the main phrase naturally in the title, the first heading and early in the page, then write normally. Google warns against keyword stuffing, and repeating a phrase unnaturally can hurt rather than help.
Do meta descriptions affect rankings?
Not directly. Google says the meta description can be used for the snippet shown in results, which can affect whether people click. It often writes its own snippet if it thinks another part of the page answers the search better.
How long until on-page changes show up in Google?
Google has to recrawl the page first, which can take days to weeks. You can ask for a recrawl with the URL Inspection tool in Search Console. Ranking changes after that can take longer.
Sources