Setting up Yoast SEO Plugin on WordPress

Yoast SEO is the most installed plugin in WordPress history with more than 10 million active installations worldwide. It makes on-page SEO optimization straightforward — even for users with no technical SEO background.

But simply having the plugin installed is not enough. You need to configure it correctly. This guide walks through every important setting in Yoast SEO — from the first-time wizard through Search Appearance, Focus Keyphrase, Breadcrumbs, XML Sitemap, and a final comparison with Rank Math.

What Is Yoast SEO and Why Is It So Popular?

Yoast SEO helps WordPress site owners perform structured on-page SEO with these core features:

Why Yoast over Rank Math? Rank Math has more features in the free version, but Yoast has a 15+ year track record, cleaner UI for beginners, and more extensive community documentation — particularly important for non-English-speaking markets.

Installing Yoast SEO

  1. Go to WordPress Admin → Plugins → Add New Plugin
  2. Search for Yoast SEO
  3. Click Install Now on the plugin by Team Yoast
  4. Click Activate
  5. Yoast displays a notice inviting you to run the First-time Configuration

Only one SEO plugin at a time. Never run Yoast SEO and Rank Math simultaneously, or Yoast with All in One SEO. Duplicate sitemaps and conflicting meta tags will result, hurting rather than helping your SEO.

First-Time Configuration Wizard

Go to Yoast SEO → First-time configuration to run through the initial setup.

Step 1: SEO Data Optimization

Yoast indexes all your existing content to power its features. Click Start SEO data optimization and wait until complete (may take a few minutes on large sites).

Step 2: Site Type

Select what type of site this is:

Step 3: Organization or Person

Enter your organization name and upload a logo. This data generates an Organization or Person Schema in JSON-LD, which Google uses for the Knowledge Graph panel.

Step 4: Social Profiles

Enter URLs for your social media — Facebook Page, Twitter/X, Instagram, LinkedIn. These are added to the Organization Schema to link your website to your social presence.

Configuring Search Appearance

Go to Yoast SEO → Search Appearance to control how your site appears in Google Search.

General Tab

Content Types Tab

Configure which post types Google should index:

Taxonomies Tab

Focus Keyphrase: What It Is and How to Use It

The Focus Keyphrase is the primary keyword you want a post or page to rank for in Google. Yoast SEO analyzes how well your content is optimized for that keyword and guides you to improve it.

How to Set a Focus Keyphrase

Open any Post or Page in the Block Editor, scroll down to the Yoast SEO meta box, click the SEO tab, and type your Focus Keyphrase in the field provided.

What Yoast SEO Checks

CheckPriority
Keyphrase in Title (H1)Critical
Keyphrase in Meta DescriptionImportant
Keyphrase in URL (Slug)Important
Keyphrase in Introduction (first paragraph)Important
Keyphrase density (1–3%)Moderate
Keyphrase in H2/H3 subheadingsModerate
Image alt text contains keyphraseModerate
Content length (300+ words minimum)Basic

Configuring Social Preview in Yoast SEO

Yoast SEO lets you configure Open Graph (OG) tags and Twitter Cards directly on each post or page through the meta box — no code required.

Open Graph for Facebook and Messaging Apps

First, go to Yoast SEO → Social to set a default OG image for the whole site. Then on any individual post or page, click the Social tab in the Yoast meta box:

Why set Social Preview? Articles with compelling OG images receive 3–5× higher click-through rates when shared on social media compared to those with no image or an irrelevant default. It also reinforces brand consistency every time someone shares a link.

Schema Markup in Yoast SEO — Enabling Rich Results

Yoast SEO automatically generates JSON-LD Schema Markup on every page, helping Google understand your content and potentially display it as Rich Results — such as star ratings, FAQ dropdowns, or breadcrumbs — directly in search.

Schema Automatically Generated by Yoast

Page TypeSchema GeneratedPotential Rich Result
Post / ArticleArticle + BreadcrumbListArticle card, breadcrumbs in SERP
PageWebPage + BreadcrumbListBreadcrumbs in SERP
Product (WooCommerce)Product + OfferPrice, availability, rating
HomepageOrganization / Person + WebSite + WebPageKnowledge Panel

Adding FAQ Schema with Yoast Premium

Yoast SEO Premium includes a dedicated "FAQ" block in Gutenberg that auto-generates FAQPage Schema, enabling Google to display an expandable FAQ accordion in search results. Free users can achieve the same result by manually adding a Custom HTML block with a JSON-LD FAQPage structure.

Checking and Interpreting Your SEO Score

Once configured, reviewing the SEO score for each individual post or page is a critical part of the Yoast workflow.

The Traffic Light System

Importantly, all-green does not guarantee Google rankings. SEO also depends on backlinks, domain authority, page speed, and user engagement signals. Yoast helps you get on-page optimization right — the rest depends on the broader SEO strategy.

Yoast SEO Dashboard Overview

Go to Yoast SEO → Dashboard for a site-wide overview:

Readability Analysis

Yoast also analyzes content readability — a user experience signal that Google factors into rankings. Click the Readability tab in the Yoast meta box:

XML Sitemap Generated by Yoast

Yoast SEO automatically generates an XML Sitemap at yourdomain.com/sitemap_index.xml containing sub-sitemaps for each post type.

Steps to submit the sitemap to Google:

  1. Log in to Google Search Console (search.google.com/search-console)
  2. Select your domain property
  3. Go to Sitemaps in the left menu
  4. Enter sitemap_index.xml and click Submit

Tip: Yoast automatically excludes any post or page set to No-index from the sitemap. This is ideal — your sitemap should contain only pages you want Google to crawl and index.

Configuring Breadcrumbs in Yoast SEO

Breadcrumbs help Google understand your site structure and may appear in search results instead of the plain URL.

Enable Breadcrumbs

  1. Go to Yoast SEO → Search Appearance → Breadcrumbs
  2. Enable Enable Breadcrumbs
  3. Configure separator character and whether to show category/tag names
  4. Add breadcrumbs to your child theme template:
<?php
if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb( '<nav class="breadcrumb">', '</nav>' );
}
?>

Rank Math vs Yoast SEO: Which Should You Choose?

FeatureYoast SEORank Math
Focus Keywords1 (free)5 (free)
Schema MarkupBasicComprehensive
RedirectsPremium onlyFree
Google Search Console IntegrationPremiumFree
UI SimplicitySimplerMore complex
Community DocumentationExtensiveLess extensive
Track Record15+ years2018–present

Bottom line: Free Yoast SEO is sufficient for most general websites. If you need comprehensive Schema, free redirects, and free Google Search Console integration, Rank Math free is the better choice. Just avoid switching back and forth frequently — it can temporarily cause meta tag conflicts.

WordPress Hosting with Full Yoast SEO Support — from 500 THB/year

AsiaGB Hosting is fully compatible with Yoast SEO, LiteSpeed Cache, and all WordPress plugins. DirectAdmin, SSD storage, free SSL, 99% Uptime. Starting at 500 THB/year.

View Hosting Plans →