SEO & Analytics

How to Do Onpage SEO in WordPress

WordPress SEO tips and tricks

If you want your WordPress posts to show up in Google, you must understand Onpage SEO. The good news is that with the right settings and an SEO plugin, you can optimize every post without touching code.

In this guide you will install an SEO plugin, configure WordPress settings, and walk through a repeatable checklist to optimize titles, URLs, headings, content, images, and internal links so each post is ready to rank.

What You Need to Start

  • A working WordPress site with access to the Dashboard.
  • An account with the Administrator role so you can install plugins.
  • At least one draft or published post you can edit for practice.
  • A short list of topics or phrases your audience might search for.
  • A modern browser so you can keep the editor open in one tab and Google in another.

Step 1: Install and Activate an SEO Plugin

You will use an SEO plugin to manage titles, descriptions, and many Onpage SEO checks inside WordPress. This keeps everything in one place and avoids editing theme files.

  1. Log in to your WordPress Dashboard as an Administrator.
  2. Navigate to Plugins » Add New.
  3. In the search box, type SEO and choose a popular plugin such as Yoast SEO or a trusted alternative.
  4. Click Install Now, then click Activate.
Yoast SEO plugin information popup in WordPress dashboard, detailing features, version, and compatibility for on-page SEO.
A popup displaying features and technical details of the Yoast SEO plugin within the WordPress admin area.
If you want a dedicated walkthrough, see How to install a plugin in WordPress.

To verify success, look for a new SEO or plugin-specific menu item in the left-hand sidebar of your dashboard.

Step 2: Configure Core WordPress SEO Settings

Before optimizing individual posts, configure a few global WordPress settings so your URLs and basic metadata are search-engine friendly.

  1. Navigate to Settings » General.
  2. Check that Site Title and Tagline clearly describe your brand or topic.
  3. Navigate to Settings » Permalinks.
  4. Select the Post name option so URLs use readable words instead of numbers.
  5. Navigate to Settings » Reading and make sure Search engine visibility is unchecked.
WordPress Reading Settings page showing the unchecked 'Discourage search engines from indexing this site' option, essential for SEO.
Screenshot of WordPress Reading Settings, highlighting the Search Engine Visibility option.
Never change permalinks on a long-running site without planning redirects. Changing URL structure can temporarily hurt rankings if old URLs break.

To verify, open any post on the front-end and confirm the URL is clean (for example, /my-onpage-seo-tips/) and the site appears in Google when you search your brand name.

Step 3: Choose a Focus Keyword for Each Post

Onpage SEO works best when each post targets a clear search phrase. You will pick one main keyword and tell your SEO plugin to use it for checks and recommendations.

  1. Open a post in the Post editor by navigating to Posts » All Posts and clicking the title.
  2. Think about what a reader would type into Google to find this post, such as “best beginner guitar chords”.
  3. Scroll to your SEO plugin panel and locate the Focus keyphrase or similar field.
  4. Enter your chosen phrase exactly, using natural language rather than a list of keywords.
  5. Optionally, keep a separate list of secondary phrases and synonyms for use in headings and body text.
WordPress SEO plugin interface displaying the 'Focus keyphrase' input and a mobile search snippet preview, essential for on-page optimization.
Learn to optimize your WordPress posts by setting a focus keyphrase and previewing its search appearance with an SEO plugin.

If you need help finding terms, read Best keyword research tools for seo for a beginner-friendly process.

To verify, confirm that the keyword appears in your SEO plugin panel and that the plugin now shows feedback or color indicators based on that phrase.

Step 4: Optimize Title URL and Meta Description

Now you will optimize the pieces searchers see first in Google results: your title tag, URL slug, and meta description. These strongly affect clicks and relevance.

  1. In the editor, refine your post Title so it includes your focus keyword and a clear benefit. Example: “How to Do Onpage SEO in WordPress Without Confusion”.
  2. Under the title, locate the Permalink or URL Slug field and edit it to a short, hyphenated version, such as how-to-do-onpage-seo.
  3. Scroll to your SEO plugin panel and click the snippet or SEO title field to customize the search result title.
  4. Edit the Meta description field to summarize the post in 1–2 sentences, including the focus keyword and a call to action.
  5. Keep your SEO title roughly 50–60 characters and your description around 150–160 characters so they display well in results.
WordPress editor interface displaying meta boxes for on-page SEO optimization, including slug, meta description, and SEO analysis.
A screenshot of the WordPress editor highlighting meta boxes and block settings for comprehensive on-page SEO.

To verify, use your plugin’s snippet preview to confirm the title, URL, and description look clear and that your focus keyword appears at least once in the title and description.

Step 5: Improve Headings Body Content and Keyword Use

Headings and body copy help search engines understand your topic and help readers scan quickly. You will structure content with clear sections and natural keyword use.

  1. In the editor, ensure your main post title becomes the single H1. WordPress handles this automatically for posts.
  2. Break your article into sections using H2 headings for main points and H3 headings for sub-points.
  3. Include your focus keyword (or a close variation) in at least one H2 heading and in the first 100 words of the article.
  4. Write short paragraphs (2–4 sentences) and use bullet or numbered lists to explain processes or checklists.
  5. Aim to use your focus keyword a few times naturally, plus related phrases, without stuffing or repeating it in every sentence.
WordPress editor showing H1, H2, and H3 headings, a key element for effective onpage SEO optimization within Gutenberg.
A screenshot of the WordPress Gutenberg editor demonstrating the use of H1, H2, and H3 headings for structured content.
If you want a broader overview of how all these elements fit together, see Is WordPress good for seo.

To verify, scan your post from top to bottom. You should see a clear heading hierarchy, readable paragraphs, and keyword usage that feels natural when read aloud.

Quick Reference: Onpage SEO Actions in WordPress

Here is a quick reference table showing where you apply each Onpage SEO method inside WordPress and what it mainly helps you achieve.

Method Where You Use It Main Purpose
Configure SEO Plugin WordPress dashboard » Plugins » Installed Plugins / SEO menu Enable titles, meta descriptions, and content analysis tools so every post can be optimized in a consistent way.
Optimize Title & Meta Description Post editor » SEO plugin snippet preview Increase click-through rate and relevance in Google by writing keyword-focused, persuasive titles and descriptions.
Improve Headings & Body Content Post editor » Heading and Paragraph blocks Clarify page structure for readers and search engines with a logical hierarchy and natural keyword usage.
Optimize Images Post editor » Image block » Alt text Describe visuals for accessibility and image search, while reinforcing the topic with relevant but natural phrases.
Add Internal Links Post editor » Link button in toolbar Connect related posts, spread link equity, and help visitors discover more useful content on your site.

Step 6: Add Images Internal Links and Final SEO Checks

Images, internal links, and final checks round out your Onpage SEO. They improve user experience and help search engines crawl related content on your site.

  1. Set a Featured image using a clear, relevant graphic or photo that represents your topic.
  2. Click any image block, open the Alt text field, and describe the image in plain language, optionally including a keyword variation if it fits naturally.
  3. Highlight a relevant phrase in your content and click the Link button in the editor toolbar.
  4. Add at least two links to other helpful posts, such as Internal linking strategies WordPress or Is WordPress good for seo.
  5. Scroll to your SEO plugin panel and review any remaining suggestions, such as adding the keyword to the first paragraph or adjusting content length.

To verify, click your internal links to ensure they work, check that images have alt text, and confirm your SEO plugin shows most key checks in green or “good” status.

Conclusion You Are Ready to Go

You have learned how to do Onpage SEO in WordPress using a simple, repeatable process. By installing an SEO plugin, configuring core settings, choosing a focus keyword, and optimizing titles, URLs, content, images, and links, each post becomes easier for search engines and readers to understand.

Save this workflow as a personal checklist and apply it every time you publish. Over time, your posts will build topical authority, attract more organic traffic, and support the broader SEO strategy you develop for your WordPress site.

Further Reading

For additional background on how WordPress handles permalinks and posts, see the official documentation for the Permalinks Settings Screen and Writing Posts on WordPress.org.

Frequently Asked Questions

What is Onpage SEO in WordPress

Onpage SEO in WordPress is the process of optimizing individual posts and pages so search engines can understand them and users want to click and read them. It covers titles, URLs, meta descriptions, headings, body content, images, internal links, and sometimes structured data, all configured inside your WordPress dashboard.

Do I need an SEO plugin to do Onpage SEO

Strictly speaking, you can edit titles and content without a plugin, but an SEO plugin makes Onpage SEO much easier. It gives you fields for SEO titles and meta descriptions, provides keyword checks and readability tips, and often adds helpful technical tags in the background. For most site owners, using a plugin is the most efficient approach.

How many keywords should I target per post

Focus on one primary keyword or keyphrase per post, plus a few closely related variations. This keeps your topic clear while still covering the different ways people might search for the same idea. Avoid trying to target ten unrelated keywords in one article, because that usually leads to a confusing structure and weak rankings.

How often should my focus keyword appear in the content

There is no magic number, but a simple rule is to use your focus keyword in the title, in the first 100 words, in at least one H2 heading, and a few more times where it feels natural. If the text sounds repetitive or forced when you read it aloud, you are probably overdoing it. Prioritize clarity and usefulness over exact counts.

Should I update old posts for better Onpage SEO

Yes, updating older posts is one of the fastest ways to improve organic traffic. You can revisit titles, meta descriptions, headings, and internal links to align them with your current keyword strategy. After updating, resubmit the URL in Google Search Console so search engines can re-crawl the improved content.

Related Articles

Leave a Reply

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

Back to top button