On-Page SEO Basics: Optimizing a Blog Post Step by Step

Flat illustration of a laptop showing an on-page SEO checklist with a magnifying glass

You can write the best blog post on the internet and still get zero traffic if search engines can’t tell what it’s about. That’s the quiet problem on-page SEO solves. It isn’t glamorous, and it doesn’t require expensive tools or a computer science degree. It’s a checklist of small, deliberate decisions you make every time you publish, and once it becomes a habit it takes about fifteen extra minutes per post.

This guide walks through those decisions one by one, in the order you’d actually make them while drafting. The screenshots come from a real WordPress site running Yoast SEO, so you can see exactly what an optimized post looks like when it’s done.

What on-page SEO actually means

On-page SEO is everything you do on the page itself to help search engines understand, index, and rank your content. That covers your title, headings, URL slug, meta description, images, the words in your paragraphs, and the links pointing in and out of the post.

It helps to know what it is not. Off-page SEO is what happens elsewhere: other sites linking to you, brand mentions, reviews. Technical SEO is the plumbing: site speed, mobile rendering, structured data, crawlability. On-page is the layer you control completely, every single time you hit publish, which is why it’s the right place for a beginner to start. If you’re still deciding how search fits into your wider promotion plan, our digital marketing guide for small businesses maps the whole territory before you zoom into one channel.

There’s a second audience to think about now, too. AI answer engines like Google’s AI Overviews and chat assistants quote pages that state things plainly. Clear definitions, direct answers, and honest structure make your post easier for both Google and AI tools to cite. Everything in this guide serves both.

Step 1: Choose one focus keyphrase before you write

Every post should target one main phrase a real person would type into Google. Not a topic, a phrase. “SEO” is a topic. “On-page SEO basics” is a phrase someone actually searches.

Pick it before you draft, because the phrase shapes the title, the headings, and the examples you choose. You’re looking for three things: people genuinely search it, the phrase matches what your post delivers, and the competition is beatable for a small site. Long, specific phrases (“how to optimize a blog post for SEO”) are easier to win than short, famous ones (“SEO”).

To see how this works, here’s an invented example: imagine a food blogger choosing between “recipes” and “30-minute vegetarian dinners for beginners.” The first is hopeless for a new site. The second describes exactly what the post contains and exactly who’s searching. That’s the shape of a good keyphrase.

Once chosen, write it down. You’ll place it in five specific spots over the next steps.

Step 2: Write a title and slug that match search intent

Your post title does two jobs at once. It tells Google what the page is about, and it convinces a human scanning ten blue links to pick yours.

Put the focus keyphrase in the title, ideally near the front. “On-Page SEO Basics: Optimizing a Blog Post Step by Step” leads with the phrase and promises a concrete outcome. Compare that to “My Thoughts on Optimizing Content,” which tells nobody anything. Keep the full title under roughly 60 characters so it doesn’t get cut off in search results, and make sure it reads like a promise the post actually keeps. Clickbait that overpromises gets bounces, and bounces tell Google your page didn’t satisfy the search.

The slug is the URL after your domain. Set it manually instead of letting your CMS autofill the whole title. Short, hyphenated, keyphrase included: guna.one/on-page-seo-basics-blog-post. Strip filler words like “the” and “how to” if the slug still reads clearly without them.

Step 3: Structure the post with proper headings

Headings are the skeleton both readers and crawlers use to understand your post. The rules are simple but often ignored:

  • One H1 per page, and that’s the post title. WordPress handles this automatically.
  • H2s divide the post into its major sections.
  • H3s break up anything long inside an H2.

Never pick a heading level because of how it looks visually. If an H3 looks too small, fix your theme’s CSS, not the hierarchy. And write headings that say something: “Step 5: Write a meta description that earns the click” beats “More info.” A reader scrolling on a phone should be able to skim only your headings and still follow the argument. AI answer engines lean on this same structure when deciding which passage to quote.

Step 4: Write body copy that deserves to rank

With the skeleton in place, the body has one job: be the best answer to the search.

Work the focus keyphrase into your first paragraph, naturally. If you can’t mention the topic in your own introduction without sounding strange, something is wrong with the post, not the keyphrase. Use the phrase a handful of times through the article, along with natural variations. Google understands synonyms now; repeating the exact phrase fifteen times reads like 2009 and can actively hurt you.

Then go deeper than the pages currently ranking. Answer the follow-up questions a reader would have. Add steps, examples, and specifics. This post, for instance, doesn’t just say “optimize your images” – the next sections show exactly where each element lives in a real editor. Length follows substance: a post is long enough when a beginner could finish it and actually do the task, and not a word longer.

Step 5: Write a meta description that earns the click

The meta description is the gray text under your title in search results. It doesn’t directly change your ranking, but it changes how many people click, and clicks matter.

Keep it around 150-160 characters, include the keyphrase (Google bolds matching terms), and write it as a pitch: what will the reader get? “Learn on-page SEO the practical way: optimize your blog post title, headings, meta description, images, and links step by step with real examples.” promises a method and proof. A meta description that just repeats the first sentence of the post wastes the space. If you skip it, Google grabs a random chunk of your text, and it’s rarely the chunk you’d have chosen.

Step 6: Optimize images and alt text

Every image needs two optimizations. First, compress it: convert to WebP, size it to the dimensions it actually displays at, and keep files small. Slow images hurt both readers and rankings. Second, write alt text that describes what the image shows. Alt text exists for screen readers first, but it also tells Google what the image depicts, so it’s a natural place for context and occasionally the keyphrase. “Yoast SEO sidebar showing the focus keyphrase field filled in” describes; “seo seo seo optimize” stuffs.

While you’re at it, give the file a real name before uploading: on-page-seo-checklist.webp, not IMG_4021.webp.

Step 7: Add internal and external links

Links are how your post joins the rest of the web. Internal links point to your own related content: they help readers go deeper, spread ranking strength across your site, and show search engines how your pages relate. A post like this one pairs naturally with a comparison like SEO vs Google Ads vs Meta Ads for readers weighing where to put their effort, or with a content calendar for a one-person business once you’re publishing regularly and want to stay consistent.

External links point to other sites. Linking to solid sources – official documentation, original research – backs up your claims and tells search engines your content is well-grounded. Don’t hoard your links out of fear of sending readers away; a post that never cites anything looks less trustworthy, not more. Aim for a few of each type, always on descriptive anchor text. “Learn more in the SEO starter guide” works; “click here” wastes the signal.

Step 8: Run the check before you publish

If you use WordPress, an SEO plugin turns all of this into a checklist that runs while you write. This site uses Yoast SEO, and the screenshots below show a real post from this blog passing its review.

The first thing you set is the focus keyphrase. In the Yoast sidebar, there’s a dedicated field for it:

Yoast SEO sidebar with the Focus keyphrase field filled in for a real post

Once the keyphrase is set, Yoast analyzes the post against it and gives you two traffic-light scores: one for SEO, one for readability. Each check that’s passing shows a green smiley; problems show orange or red with a plain-language explanation of what to fix.

Yoast SEO analysis and readability analysis both showing green smileys

The traffic light is a checklist, not a grade to obsess over. Green on both is the goal before publishing, but a single orange item with a good reason behind it is fine. What you’re looking for is the pattern: keyphrase in the title, slug, introduction, and headings; enough length; links present; meta description set. The plugin checks each mechanically, which frees you to think about the reader. Yoast documents the full analysis in its content analysis guide, and Google covers the fundamentals every plugin is based on in its SEO starter guide.

The on-page SEO checklist

Here’s the whole routine in one table. Print it, tape it to your monitor, and run it for every post:

Element What to do Common mistake
Focus keyphrase Pick one specific phrase before drafting Choosing a broad topic nobody can win
Title Keyphrase near the front, under ~60 characters Vague titles that promise nothing
Slug Short, hyphenated, includes keyphrase Letting the CMS autofill the full title
Headings One H1, logical H2/H3 sections Picking heading levels for their look
First paragraph Keyphrase appears naturally Burying the topic three paragraphs down
Body Best answer on the internet for the query Repeating the exact phrase mechanically
Meta description ~155 characters, keyphrase, clear pitch Leaving it blank for Google to guess
Images Compressed WebP, descriptive alt text Uploading huge files named IMG_4021
Internal links A few links to genuinely related posts Orphan posts with no links in or out
External links Cite official sources and documentation Never linking out at all
Final check Green or justified orange in your SEO plugin Publishing with red items unread

Pick onekeyphrasebefore you draftPlace it infive spotstitle, slug, intro, headings, metaWrite the bestanswer onlinestructure + substanceRun theplugin checkgreen lights, then publishFifteen extra minutes per post, every post

Pick one keyphrasebefore you draftstep 1Place it in five spotstitle, slug, intro, headings, metastep 2Write the best answerstructure + substancestep 3Run the plugin checkgreen lights, then publishstep 4Fifteen extra minutes per post

Mistakes that quietly waste the effort

A few patterns show up in almost every beginner site. Writing first and “doing SEO later” means the keyphrase never shaped the post, so it reads forced wherever you paste it. Targeting the same phrase on multiple posts makes your own pages compete with each other. Ignoring search intent – writing a sales page when searchers want a tutorial – means even a perfectly optimized post won’t rank, because it answers the wrong question. And treating the plugin’s green light as the finish line rather than the starting point produces posts that are technically clean and completely forgettable. The checklist gets you indexed and eligible; the quality of the answer is what keeps you there.

Frequently asked questions

How long does on-page SEO take to work? Expect weeks to months, not days. A new post on a small site typically takes four to twelve weeks to settle into its ranking, and competitive phrases take longer. On-page optimization makes your post eligible to rank; time, links, and consistent publishing do the rest. Tools like Google Analytics tell you which posts are gaining traction so you can double down.

Do I need a paid SEO plugin for this? No. The free version of Yoast SEO covers everything in this guide: focus keyphrase, SEO and readability analysis, meta description, and slug editing. Paid plugins add conveniences like multiple keyphrases and redirect managers. Start free, and upgrade only when you hit a specific limitation.

How many times should I use my keyphrase? There’s no magic number. As a rough guide, a 2,000-word post might use the exact phrase six to ten times plus variations. If a sentence sounds awkward because you forced the phrase in, that instance was one too many. Write for the reader first and the density takes care of itself.

Is on-page SEO enough on its own? It’s necessary but not sufficient. On-page work makes your content understandable and eligible. Rankings also depend on your site’s overall authority, technical health, and whether other sites reference you. For a new site, though, on-page is where all of your leverage is, because it’s the part you fully control today.

Should I optimize old posts? Yes, and it’s often the fastest win available. A post sitting at position 11-20 with weak on-page work can jump a full page with a better title, a real meta description, and improved headings. Review your archive a few posts at a time rather than attempting everything at once.

The bottom line

On-page SEO is a routine, not a talent. Choose one keyphrase before you write, put it in the five spots that matter, structure the post so a skimmer could follow it, cite real sources, and run the mechanical check before you publish. Do it for every post and it stops feeling like SEO at all – it’s just how you write.

Sources

Similar Posts

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *