How to Add SEO Keywords in WordPress (Yoast/RankMath Walkthrough)

If you’ve just published a blog post and you’re staring at a blank “Focus Keyword” box wondering what to actually type in there, you’re not alone. Adding SEO keywords in WordPress feels like it should be simple, and honestly, once you know where to look, it is. The tricky part is that most tutorials either drown you in jargon or skip half the steps.

This guide walks you through exactly how to add keywords in WordPress using the two most popular SEO plugins – Yoast SEO and RankMath, so your posts have a real shot at ranking instead of sitting on page 12 of Google.

Why Adding Keywords the Right Way Actually Matters

Search engines don’t read your blog the way a human does. They scan specific fields – your title tag, meta description, URL slug, headers, and body content – to figure out what your page is about. If your target keyword doesn’t show up in the right places, Google has a harder time matching your content to what people are searching for.

That doesn’t mean stuffing your keyword everywhere. It means placing it deliberately in the spots that carry the most SEO weight.

Where You Should Actually Place Your Keyword

Before jumping into the plugin walkthroughs, here’s the short version of where your primary keyword should show up:

  • SEO title (the blue link in Google search results)
  • Meta description (the gray snippet under the title)
  • URL slug (keep it short and clean)
  • First 100 words of your content
  • At least one H2 or H3 subheading
  • Image alt text for at least one image
  • Naturally throughout the body, without forcing it
See also  How Many Keywords Per Page for SEO? Here's the Real Answer

Both Yoast and RankMath are built to check these exact boxes, which is why using one of these plugins makes the whole process much easier.

Adding Keywords in WordPress Using Yoast SEO

Yoast is the most widely used WordPress SEO plugin, and its interface hasn’t changed much in structure over the years, which makes it beginner-friendly.

Step 1: Install and Activate Yoast SEO

Go to your WordPress dashboard, click Plugins > Add New, search for “Yoast SEO,” install it, and activate it. You’ll see a new Yoast icon appear in your left sidebar and inside every post editor.

Step 2: Open Your Post or Page

Head to the post you want to optimize, or start a new one. Scroll down below the content editor and you’ll find the Yoast SEO meta box.

Step 3: Enter Your Focus Keyphrase

Inside the Yoast box, click “Focus keyphrase” and type in your target keyword – for example, “how to add SEO keywords in WordPress.” Yoast will use this to analyze your content.

Step 4: Edit Your SEO Title

Click “Edit snippet” and update the SEO title field. Try to keep your keyword near the front of the title and stay under 60 characters so it doesn’t get cut off in search results.

Step 5: Write Your Meta Description

In the same snippet editor, add a meta description between 140–155 characters. Include your keyword naturally, and give people a reason to click.

Step 6: Check the SEO Analysis

Scroll through the green, yellow, and red bullet points Yoast generates. It’ll flag things like keyword density, missing subheadings, or a keyword that’s absent from your introduction. You don’t need every single item green, but aim to fix the yellow and red flags where they make sense.

See also  SEO Content Writing Company in United States: How to Choose One That Actually Grows Your Traffic in 2026

Step 7: Add Keywords to Headers and Alt Text

Go back into your content editor and manually check that your H2s include the keyword or a close variation, and that at least one image has alt text containing the keyword.

Adding Keywords in WordPress Using RankMath

RankMath has grown fast because it offers more free features than Yoast’s free version, including tracking up to 5 focus keywords per post.

Step 1: Install and Activate RankMath

Go to Plugins > Add New, search “RankMath SEO,” install, then activate. RankMath will walk you through a setup wizard the first time — you can accept the default settings unless you have specific preferences.

Step 2: Open the RankMath Meta Box

In your post editor, scroll down to find the RankMath SEO panel, or use the RankMath tab at the top of the editor screen.

Step 3: Add Your Focus Keyword(s)

Click “+ Add Focus Keyword” and type in your primary keyword. RankMath lets you add secondary keywords here too, which is handy if you’re targeting a few closely related search terms in one post.

Step 4: Set Your SEO Title and Meta Description

Click “Edit Snippet” inside the RankMath box. Update the title and description fields, making sure your keyword appears in both, ideally near the beginning of the title.

Step 5: Review the Content Analysis Score

RankMath shows a score out of 100 and a checklist very similar to Yoast’s. It checks keyword placement in your title, URL, content, headings, and alt text. Aim for a green score, but don’t sacrifice readability just to satisfy every checkbox.

See also  What Are SEO Keywords? A No-Fluff Guide

Step 6: Adjust the URL Slug

Below the title, RankMath (like Yoast) lets you edit the permalink. Shorten it and make sure your target keyword is included.

Yoast vs RankMath: Which Should You Use?

Both plugins get you to the same result. Yoast has a longer track record and a simpler interface, which some beginners prefer. RankMath’s free plan includes features Yoast reserves for its premium version, like multiple focus keywords and built-in schema markup. If you’re just starting out and want more free functionality, RankMath is worth trying. If you want a plugin with a huge support community and don’t mind fewer free features, Yoast is a safe bet.

Common Mistakes to Avoid When Adding Keywords

  • Keyword stuffing — repeating your keyword unnaturally hurts readability and can hurt rankings too.
  • Ignoring search intent — matching the keyword field doesn’t help if the content doesn’t actually answer what the searcher wants.
  • Skipping the meta description — leaving it blank means Google auto-generates one, which is rarely as compelling.
  • Forgetting image alt text — this is an easy win most people skip entirely.
  • Only optimizing for one keyword — modern SEO rewards content that naturally covers related terms and questions too.

Related Blog – How Many Keywords Per Page for SEO?