Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

SEO & AI search · Guide

How to Add SEO Keywords in WordPress Website (Step by Step)

How to Add SEO Keywords in WordPress Website (Step by Step)

Short answer

Choose one main keyword per page that matches what searchers want. Place it naturally in the title, URL slug, first paragraph, a subheading and image alt text. Then set it as the focus keyword in an SEO plugin and use it in the SEO title and meta description.

Key takeaways

  • Give every page its own main keyword.
  • Place the keyword in the title, slug, intro and a subheading.
  • The focus keyword field only guides your SEO plugin.
  • Google ignores the meta keywords tag.
  • Avoid repeating the keyword unnaturally.
  • Use Search Console to see which keywords already work.

How do you add SEO keywords to a WordPress website?

Pick one main keyword per page, then place it naturally in the page title, URL slug, opening paragraph, a subheading, image alt text and the SEO title and meta description set in an SEO plugin.

There is no single keywords box in WordPress that makes a page rank. Keywords work when they appear in the places search engines and readers look first.

An SEO plugin such as Yoast SEO, Rank Math or All in One SEO makes this easier. It gives you fields for the search title and description and checks where your keyword appears.

This guide shows where each keyword goes, how to set it in a plugin, and the mistakes that can hurt rather than help. If you are new to the topic, our explainer on what WordPress SEO is covers the basics.

How do you choose the right keyword for a page?

Choose a phrase people actually search that matches what the page offers, using keyword tools or Google's own suggestions, and give each page its own main keyword.

Start with the words your customers use, not your internal jargon. Type a phrase into Google and look at the autocomplete suggestions and the People also ask box.

Google Search Console shows the searches that already bring visitors to your site. It is free and often reveals keywords you did not plan for.

Look at the pages that rank now. If they are all product pages and yours is a blog post, the search intent does not match, and you should pick a different keyword.

Give each page a different main keyword. Two pages chasing the same phrase compete with each other.

A simple spreadsheet helps here. List each important page, its main keyword and a few related phrases. Before writing a new post, check the sheet so you do not accidentally target a phrase another page already covers.

Longer, more specific phrases are usually easier to rank for than short, broad ones. Running shoes is fiercely competitive, while best running shoes for flat feet has fewer searches but a clearer intent and weaker competition. New sites often do better starting with these specific phrases.

Where should keywords go on a page?

Put the main keyword in the title, URL, first paragraph, at least one subheading, an image alt text and the meta title and description, and use related words through the rest.

LocationWhere to set it in WordPressTip
Page title (H1)Title field in the editorPut the keyword near the start if it reads well
URL slugPermalink field in the post settingsShort, lowercase, hyphenated
First paragraphEditorAnswer the search question early
SubheadingsHeading blocks (H2, H3)Use variations, not repeats
Image alt textImage block or Media LibraryDescribe the image honestly
SEO titleSEO plugin panelDifferent from the H1 if useful, under about 60 characters
Meta descriptionSEO plugin panelSummarize the page and invite the click

Google's SEO starter guide explains why titles, headings and descriptive text matter.

Step 1: How do you add a keyword to the title and URL?

Write the keyword into the post title, then open the post settings, find the URL or permalink field, and edit the slug so it contains the keyword in short form.

In the block editor, click the title at the top and type it in. Then open the Post settings panel on the right and click the URL.

Trim the slug to the core words. A slug like /wordpress-seo-keywords/ is easier to read than a full sentence.

Changing the slug on an older post changes its address. Add a redirect so old links still work. Our guide on changing permalinks without breaking SEO explains how.

Step 2: How do you set the focus keyword in an SEO plugin?

Scroll to the SEO plugin's panel in the editor, enter your main keyword in the focus keyphrase or focus keyword field, then follow its suggestions where they make sense.

In Yoast SEO, the field is called Focus keyphrase. In Rank Math, it is Focus Keyword. All in One SEO has a similar field.

This field does not get sent to Google. It only tells the plugin which phrase to check your content against.

Treat the plugin's score as a checklist, not a goal. A green light does not guarantee rankings, and a red light on a well-written page is not a disaster.

Plugins sometimes suggest awkward changes, such as forcing the exact keyword into the first sentence or repeating it a set number of times. Follow the suggestions that make the page clearer, and ignore the ones that make it read worse. Readers and search engines both reward natural writing.

Our guide on setting up Yoast SEO covers the first-time setup.

Step 3: How do you write the SEO title and meta description?

In the SEO plugin panel, edit the SEO title and meta description, include the keyword naturally, and keep both short enough to show fully in search results.

The SEO title is what usually appears as the blue link in search results. Put the keyword in it and make it clear what the page offers.

The meta description is the short text below the link. Google does not use it as a ranking factor, but a good one can earn more clicks.

Google may rewrite either one if it thinks other text matches the search better. Writing them clearly makes that less likely. Our guide on adding meta tags in WordPress covers these fields in more depth.

Step 4: How do you add keywords to images?

Open each image's settings, write alt text that describes the image and includes the keyword only where it fits, and give the file a descriptive name before uploading.

Alt text exists for people using screen readers. Describe what the image shows.

If the keyword describes it, include it. If not, leave it out.

Rename files before upload. A file named blue-running-shoes.jpg says more than IMG_4821.jpg.

MDN explains the purpose of the alt attribute. Our guide to optimizing images for SEO covers file size and formats too.

Do meta keywords still matter?

No, Google has ignored the meta keywords tag for ranking since at least 2009, so filling in a keywords field adds nothing for Google.

Google said so publicly in a Search Central blog post. Some SEO plugins removed the field for this reason.

Other search engines also put little or no weight on it. Your time is better spent on titles, headings and content.

WordPress tags are different again. Tags group related posts on your own site. They are not keywords for search engines.

Our guide on categories and tags explains how to use them.

How many times should you use a keyword?

Use the keyword where it reads naturally, usually a handful of times on a typical post, and lean on synonyms and related terms rather than repeating the exact phrase.

There is no ideal keyword density. Modern search engines understand synonyms and topics, not just exact matches.

Repeating a phrase unnaturally is called keyword stuffing. Google lists it as a spam practice in its spam policies, and it can hurt rankings.

A good test is to read the page aloud. If the keyword sounds forced, cut it.

Related terms help more than repetition. A page about baking bread naturally mentions flour, yeast, dough, oven and proofing. Covering these supporting ideas shows the page fully answers the topic, which matters more than how many times the main phrase appears.

What should you do after adding keywords?

Publish, give search engines a few weeks, check Search Console for impressions and clicks, and refresh pages that are close to ranking well.

Keyword placement is a starting point. Content quality, links from other sites and site speed matter as much or more.

Revisit older posts once a year. Our guide on updating old posts for SEO explains how to refresh keywords and content without losing rankings.

Also look at your site structure. A clean permalink structure makes keyword-rich URLs simple across the whole site.

Frequently asked questions

Does WordPress have a built-in keywords field?

No. Core WordPress has no SEO keyword field. SEO plugins such as Yoast SEO, Rank Math and All in One SEO add a focus keyword field plus SEO title and meta description fields. The focus keyword only guides the plugin's content checks.

Are WordPress tags the same as SEO keywords?

No. Tags group related posts on your own site and create tag archive pages. They do not tell search engines what a page should rank for. Use a few meaningful tags for navigation and handle keywords in your content and SEO fields.

Can I target more than one keyword on a page?

Yes. Each page should have one main keyword, but it can naturally rank for many related phrases and synonyms. Some premium SEO plugins let you add secondary keywords for their checks. Avoid targeting two unrelated topics on one page.

How long until keywords help my rankings?

It varies. Search engines need to crawl and reprocess the page, which can take days or weeks. Rankings also depend on content quality, competition and links. Check Search Console after a few weeks to see impressions for your target keyword.

Should I add the keyword to every heading?

No. Use the main keyword in one subheading where it fits, and use related words in others. Headings should help readers scan the page. Forcing the same phrase into every heading reads poorly and can look like keyword stuffing.

Sources

  1. SEO Starter Guide Google Search Central
  2. Spam Policies for Google Web Search Google Search Central
  3. Google does not use the keywords meta tag in web ranking Google Search Central Blog
  4. Yoast SEO WordPress.org Plugins
  5. Rank Math SEO WordPress.org Plugins
  6. The Image Embed element MDN Web Docs

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.