A WordPress site can publish good articles for months and still show only a handful of pages in Google. Often the pages that do show are the wrong ones: tag archives, image attachment pages or a staging copy of the site.
WordPress SEO problems like these start in the site's settings. WordPress leaves several search decisions to you, and one checked box under Settings can ask Google to skip the whole site. Better articles can't fix that.
Our advice is to handle WordPress SEO in a fixed order: core settings, one SEO plugin, archives, on-page basics, speed and Search Console. Each step below names the screen to open and what we'd set there. If you'd rather hand the work over, our technical SEO service covers the same setup.
WordPress SEO Setup in 6 Steps
This is the order we'd follow on a new site or an existing one:
- Core settings: search visibility, permalinks and the site address.
- One SEO plugin: titles, sitemap, noindex rules, breadcrumbs and schema.
- Archives: categories, tags, author pages and date pages.
- On-page basics: headings, slugs, image alt text and internal links in the block editor.
- Speed: caching, images and Core Web Vitals.
- Search Console: verification, the sitemap and a monthly check.
The order matters because each step depends on the one before it. A fast page with clean headings earns nothing while the site itself asks Google not to index it.
Step 1: Check the WordPress Settings That Affect Search
Technical SEO for WordPress starts with three core screens. They decide whether Google can index the site and which address it sees, and none of them needs a plugin.
Search Engine Visibility
Under Settings > Reading, WordPress has a box labeled Discourage search engines from indexing this site. On a live site, this box must be unchecked.
When the box is checked, WordPress does 2 things:
- adds a
noindex, nofollowrobots meta tag to every page - turns off its built-in XML sitemap
Developers check this box on purpose while a site is being built, and it is easy to forget at launch. It should be the first check on any site that has gone missing from Google.
With WP-CLI, one command reads the setting. It returns 1 for a public site and 0 for a discouraged one:
wp option get blog_publicPermalinks
Settings > Permalinks controls the shape of every URL on the site. We recommend Post name for most sites, which gives addresses like example.com/sample-post/.
Google's SEO Starter Guide says keywords in a URL have hardly any effect on ranking. So the gain here is a readable address that people are happy to click and share. Our WordPress permalink structure guide compares the other options.
Changing the structure on a site with indexed posts changes every URL at once. That change needs a redirect plan first, and the same guide has the rules.
Site Address and HTTPS
Settings > General has 2 fields: WordPress Address (URL) and Site Address (URL). Both should start with https:// and use the same host, either with www or without it.
WordPress redirects visitors from the other host version to the Site Address, so this choice is made once and kept. A quick test is to load all 4 versions of the home page:
http://example.comhttp://www.example.comhttps://example.comhttps://www.example.com
Each one should land on the same final address. If any version stays where it is, the site is serving the same pages at 2 addresses.
If the site still runs on HTTP and the server has a certificate, Tools > Site Health shows a button that switches the site to HTTPS. When the certificate itself is the problem, our guide to renewing an SSL certificate covers the common hosts.
Old http:// links inside post content need a database search and replace. Our wp search-replace tutorial shows the safe way to run one.
Step 2: Install One SEO Plugin and Configure It
WordPress handles a few search basics by itself, and one SEO plugin is enough for the rest.
What WordPress Does Without a Plugin
- prints the page title tag, when the theme supports it
- adds a canonical tag to single posts and pages
- builds an XML sitemap at
/wp-sitemap.xml, with up to 2,000 URLs per sitemap file - serves a virtual
robots.txtwhen no real file exists - adds a noindex tag to its own internal search result pages
It has no field for a meta description, no noindex switch for a single page or archive type, no redirect manager and no structured data. Those are the gaps a plugin fills.
Which Plugin to Pick
Rank Math, Yoast SEO and SEOPress all cover the settings in this guide. We use Rank Math on this site, and our comparison of the best SEO plugins for WordPress goes through the differences.
Whichever one you choose, we'd run only one. A second SEO plugin prints a second set of meta tags, a second sitemap and a second block of schema on the same page. Some themes ship their own SEO fields as well, and it is wise to switch those off.
Settings We'd Configure First
Setting | What we'd set | Reason |
|---|---|---|
Title template | Post title, a separator and the site name | Every page gets a unique title without hand editing |
Meta description | Written by hand for the home page and the pages that earn money | A hand-written line describes the page better than a template |
XML sitemap | On, with only the content types you want indexed | Google gets one clean list of the URLs that matter |
Noindex rules | Date archives, thin tag archives and author archives on single-author sites | Near-empty pages stay out of the index |
Breadcrumbs | On, if the theme can display them | Visitors see where they are, and the page gets breadcrumb markup |
Schema | Organization or Person for the site, Article for posts | Google learns who publishes the site |
Redirects | Automatic redirect when a slug changes | Old links keep working |
A note on breadcrumbs: Google stopped showing them in mobile results in January 2025 and shows only the domain there. Desktop results still use the markup, so we'd keep breadcrumbs on.
For structured data, our WordPress schema markup guide covers what each plugin outputs and what to add by hand.
Sitemap and Robots.txt
An SEO plugin with its own sitemap usually switches the core one off. Rank Math's sitemap index lives at /sitemap_index.xml, and every plugin shows its exact address on its sitemap settings screen.
WordPress builds robots.txt on the fly when no physical file exists. On a public site with the core sitemap on, the default looks like this:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://example.com/wp-sitemap.xmlThis file should stay close to the default. Two edits are worth avoiding:
- Blocking
/wp-content/or/wp-includes/. Those folders hold the CSS and JavaScript that Google loads to see the page the way a visitor does. - Using robots.txt to hide a page. Google's robots.txt documentation says the file is not a way to keep a page out of its index. A blocked URL can still be indexed when other sites link to it, so a noindex tag is the right tool.
Step 3: Clean Up Categories, Tags and Archives
WordPress creates an archive page for every category, tag, author and date. On a small site, many of these pages list the same few posts, and Google sees them as near copies of each other.
Categories vs Tags
- Categories are the broad sections of the site. They can nest, and every post needs at least 1. Our recommendation is 1 category per post where possible.
- Tags are optional labels for specific topics that cut across categories. A tag becomes useful once several posts share it.
The common problem is tag sprawl: a new tag on every post, each one used once. Every such tag creates an archive page with a single post on it.
Our advice is to delete tags used on 1 or 2 posts and noindex the tag archives until someone curates them. Posts > Tags shows the post count beside each tag, so the thin ones are easy to find.
What to Do With Each Archive Type
Archive | Example URL | What we'd do |
|---|---|---|
Category |
| Index it, and add a short description at Posts > Categories |
Tag |
| Noindex, unless the tag groups several posts and has a description |
Author |
| Noindex on a single-author site, where it repeats the blog page |
Date |
| Noindex |
Internal search |
| Nothing. WordPress already adds noindex |
Media attachment |
| Turn off, as explained below |
An attachment page is a separate URL that shows nothing but one uploaded image or file. Sites created on WordPress 6.4 or later have these pages turned off, and the old address redirects to the file. Sites created before 6.4 still have them.
Most SEO plugins have a setting that redirects attachment pages. This WP-CLI command turns them off as well:
wp option set wp_attachment_pages_enabled 0Step 4: Get the On-Page Basics Right in the Block Editor
WordPress on-page SEO happens in 4 places in the editor: headings, the title and slug, images and links.
Headings
Most themes print the post title as the page's H1. So the content should start at H2 and use H3 under it, without skipping levels.
Google says heading order makes no difference to Search. A clean outline still helps screen reader users and makes a long post easier to scan, so we'd keep it.
The editor checks this for you. The Document Overview panel has an Outline tab that lists every heading and flags a skipped level or a second H1.
Title, Slug and Meta Description
- SEO title: set in the SEO plugin's panel in the editor. It can differ from the headline readers see on the page.
- Slug: the last part of the URL, edited in the post settings sidebar. A slug should be short, lowercase and separated by hyphens, which matches Google's URL advice.
- Meta description: 1 or 2 sentences that say what the page offers. Google may use it as the search snippet when it describes the page better than the page's own text.
A slug should not change after Google has indexed the post, unless a redirect goes with it. WordPress redirects an old post slug by itself, and it is wise to test the old URL after any change.
Images
- Alt text: the Alternative text field in the image block's settings. It should describe what the image shows in one plain sentence.
- File name: a descriptive name chosen before upload, because WordPress builds the image URL from it. Our guide on how to name images for SEO has the rules.
- Size: the largest size the layout displays, and no larger. WordPress creates smaller versions and lets the browser pick one.
Internal Links
A new post with no internal links pointing to it is hard for readers and for Google to find. We recommend linking every new post from 2 or 3 related older posts, and linking to them in return.
In the editor, select the anchor text, press Ctrl+K (Cmd+K on a Mac) and type a few words of the target post's title. Our internal linking strategy guide covers which pages to link and what anchor text to use.
For the parts that aren't specific to WordPress, such as search intent and content depth, our on-page SEO checklist and the longer on-page SEO guide pick up from here.
Step 5: Make the Site Fast Enough to Pass Core Web Vitals
Core Web Vitals are Google's 3 measures of how a page feels to real visitors. Google judges each one at the 75th percentile of page loads, separately for mobile and desktop.
Metric | What it measures | Good score | Usual WordPress cause of a poor score |
|---|---|---|---|
LCP (Largest Contentful Paint) | How fast the main content appears | 2.5 seconds or less | No page cache, slow hosting or an oversized top image |
INP (Interaction to Next Paint) | How fast the page responds to a tap or click | 200 milliseconds or less | Too much JavaScript from plugins, page builders or ad scripts |
CLS (Cumulative Layout Shift) | How much the layout jumps while loading | 0.1 or less | Ads, embeds or late-loading fonts that push content down |
What WordPress Already Does
- lazy-loads images further down the page (since version 5.5)
- marks the likely main image with
fetchpriority="high"(since 6.3) - accepts WebP uploads (since 5.8) and AVIF uploads where the server supports them (since 6.5)
- prefetches the next page when a visitor starts to click a link (since 6.8)
What You Still Need to Add
- Page caching: a cache plugin or host-level cache, so the server sends a stored page and doesn't rebuild it on every visit. Our guide to WordPress caching plugins matches plugins to server types.
- Image compression: uploads compressed and converted to WebP or AVIF before they reach visitors.
- Fewer front-end scripts: every plugin that loads JavaScript on every page adds to INP, so unused plugins should go.
- A CDN: images, CSS and JavaScript served from a location near the visitor.
PageSpeed Insights shows lab numbers and real-user numbers for any URL, and the real-user numbers are the ones that count for Core Web Vitals. Our WordPress speed optimization guide goes through each fix in detail.
When the cause isn't obvious, our WordPress speed audit service finds what slows a specific site.
Step 6: Set Up Google Search Console
Google Search Console is Google's own report on your site, and it is free. It shows which pages are indexed, which were left out and why.
- Add the site as a Domain property. It covers http, https, www and every subdomain in one view, and Google verifies it with a DNS record.
- Open Sitemaps and submit the sitemap address from Step 2, such as
sitemap_index.xml. - Paste the home page URL and one post URL into URL Inspection to confirm that Google can fetch and index them.
What to Check Every Month
Report | What we'd look for |
|---|---|
Page indexing | Pages listed under "Excluded by 'noindex' tag" that should be indexed, and a growing "Crawled - currently not indexed" count |
Performance | Pages that lost clicks against the previous period, and queries where a page sits on page 2 |
Core Web Vitals | URLs marked Poor or Need improvement, on mobile first |
Sitemaps | A Success status and a page count close to the real size of the site |
Manual actions and Security issues | Both should report no issues |
Our Search Console SEO audit walkthrough turns these reports into a fix list. For the Not found report, the guide to fixing 404 errors in Search Console covers triage and bulk fixes.
WordPress-Specific SEO Mistakes
These mistakes come from how WordPress works, so a general SEO checklist tends to miss them:
- A staging site in Google's index. A copy at
staging.example.comcompetes with the live site. Staging should keep the Discourage box checked and, better, sit behind a password. - A live site still set to discourage search engines. This is the same box left checked after launch. Step 1 has the check.
- Attachment pages on older sites. A site created before WordPress 6.4 still serves one thin page per uploaded image until someone turns them off.
- Paginated comments. Under Settings > Discussion, the option to break comments into pages creates extra URLs such as
/post-name/comment-page-2/that repeat the article. We'd leave it unchecked unless a post has hundreds of comments. - Mixed addresses. Internal links that still point to
http://or to the other host version send every visitor and crawler through a redirect. - Duplicate meta tags. A theme and a plugin, or 2 plugins, can both print a description. In the page source,
<meta name="description"should appear once. - Demo content left published. Every install ships with a "Hello world!" post and a "Sample Page", and both get indexed if nobody deletes them.
- Slug or permalink changes without redirects. The old URLs return 404 and their links are lost. Our guide to 301 and 302 redirects explains which type to use.
WordPress SEO Checklist
This is the full WordPress SEO checklist in one table, with how often we'd repeat each task:
Task | Where in WordPress | How often |
|---|---|---|
Confirm search engines aren't discouraged | Settings > Reading | Once, and after every launch or migration |
Set the permalink structure | Settings > Permalinks | Once |
Match both site URLs on HTTPS | Settings > General | Once, and after a migration |
Configure title templates, sitemap and noindex rules | SEO plugin settings | Once, then a yearly review |
Turn off attachment pages | SEO plugin settings or WP-CLI | Once |
Delete or merge thin tags | Posts > Tags | Every 6 months |
Write category descriptions | Posts > Categories | When a category is added |
Check the heading outline, slug, SEO title and alt text | Block editor | Every post |
Add internal links to and from the new post | Block editor | Every post |
Test Core Web Vitals | PageSpeed Insights | Monthly, and after a theme or plugin change |
Review the Page indexing and Performance reports | Google Search Console | Monthly |
WordPress SEO FAQs
Is WordPress good for SEO?
Yes. WordPress gives every page a clean URL, a title tag and a canonical tag, and it builds an XML sitemap without any setup. The gaps are meta descriptions, noindex controls, redirects and structured data, and one SEO plugin fills them. The bigger risk is a default setting left wrong, such as the search visibility box under Settings > Reading.
Do I need an SEO plugin for WordPress?
For most sites, yes. WordPress has no field for a meta description, no noindex switch for a single page or archive type and no redirect manager. A plugin such as Rank Math, Yoast SEO or SEOPress adds all 3. Our advice is to install one and only one, because 2 SEO plugins print duplicate tags.
Does WordPress create an XML sitemap automatically?
Yes, since version 5.5. The sitemap index sits at /wp-sitemap.xml and each sitemap file holds up to 2,000 URLs. WordPress turns the sitemap off when the Discourage search engines box is checked. An SEO plugin with its own sitemap usually switches the core one off as well.
Why is my WordPress site not showing up on Google?
We'd check 3 things in order. First, Settings > Reading, where the Discourage search engines box must be unchecked. Second, the URL Inspection tool in Google Search Console, which says whether Google knows the page and why it was left out. Third, the site's age. Google says some changes show within hours and others take several months, so a new site needs patience as well as a sitemap.
Should I noindex category and tag pages in WordPress?
Category pages should stay indexed, with a short description on each. Tag pages are different. A tag used on 1 or 2 posts creates an archive that repeats content already on the site, so we'd noindex tag archives until each tag groups several posts.
How many categories and tags should a WordPress post have?
Most posts need only 1 category, and 2 is the most we'd use. Tags are optional. A tag earns its place only when several posts already share that topic, and a tag that repeats a category name adds nothing.
Does site speed affect WordPress SEO?
Yes, as one factor among many. Google recommends that pages meet its Core Web Vitals targets: LCP within 2.5 seconds, INP under 200 milliseconds and CLS under 0.1. On WordPress, page caching, right-sized images and fewer front-end scripts do most of that work. Speed won't lift a page that doesn't answer the search, though.
How long does WordPress SEO take to show results?
A settings fix, such as removing a noindex tag, counts as soon as Google recrawls the page. Google's own guidance is to wait a few weeks before judging whether a change helped. New content on a new site takes longer, and no setting can shorten that part.
Where We'd Start
If the full list feels long, we'd do Step 1 and Step 6 today. Together they confirm that Google is allowed to index the site, and they show what it has indexed so far.
The plugin, archive and speed work can follow over the next few weeks, one step at a time. For a site that has already lost traffic, our guide to a technical SEO audit service explains what a full audit covers and what to ask a provider.



