WordPress SEO: What to Configure Before You Publish a Single Post
Configure WordPress for SEO before you publish: permalinks, archive duplicates, the discourage search engines setting and other defaults to fix.

W WORDPRESS SEO GUIDE Configure Before You Publish Anything Permalinks · SEO plugins · Schema · Canonicals · Speed Updated June 2026
WordPress is the most SEO-friendly CMS on the market. That’s true. But “SEO-friendly” doesn’t mean “SEO-ready out of the box.” Fresh installs ship with settings that actively hurt your rankings: duplicate content from category and tag archives, permalink structures built for database engineers instead of humans, and a “Discourage search engines” checkbox that can silently hide your entire site from Google.
I’ve audited hundreds of WordPress sites where the owner had published 50 posts, built backlinks, and written solid content, and then discovered their tag archives were cannibalizing rankings or their site was still on HTTP after six months. Small configuration mistakes compound over time.
This guide covers every setting you need to configure before publishing post one. In the right order. No filler.
Step 1: Fix Your Permalink Structure First
Default WordPress permalinks look like this: yourdomain.com/?p=123. That URL tells Google nothing about the content. More importantly, it tells humans nothing, and humans clicking from search results make decisions about whether to visit in about 400 milliseconds.
Go to Settings → Permalinks and switch to Post name. Your URLs become yourdomain.com/your-post-title/. Clean, descriptive, and SEO-friendly by default.
One critical warning: if your site is already live with existing content on the old permalink structure, set up 301 redirects before switching. Every external link you’ve earned points to the old URLs. Without redirects, those links break, Googlebot hits 404 errors, and you lose the link equity you built. Use the Redirection plugin (free) or Rank Math’s built-in redirect manager to map old URLs to new ones before making the switch.
For most sites, Post name is the right call. The only exception: high-volume news sites that publish multiple articles on the same topic over time sometimes use /category/post-name/ to differentiate content. For everyone else, Post name wins.
Step 2: Choose an SEO Plugin, And Install Only One
Three plugins dominate this space: Rank Math, Yoast SEO, and All in One SEO. Here’s the honest breakdown:
Rank Math (free): My recommendation for most sites starting from scratch in 2026. The free tier includes schema markup for 20+ content types, a redirects manager, keyword rank tracking for up to 5 keywords per post, and Google Search Console integration, features Yoast puts behind its €99/year paywall. The interface is more complex than Yoast, but manageable after an hour of setup.
Yoast SEO (free and premium): The veteran at 13M+ active installs. Its traffic-light content analysis is the most intuitive on-page feedback in the category. The free version covers the basics, meta titles, descriptions, XML sitemaps, basic Article schema. For teams where non-SEO writers need guided feedback in the editor, Yoast’s editorial workflow features are genuinely useful. Premium runs €99/year per site.
All in One SEO: Solid. The oldest of the three. Strong local business features in its free tier (LocalBusiness schema included). Good choice for brick-and-mortar businesses that find Rank Math’s interface overwhelming.
Install exactly one. Running two SEO plugins simultaneously creates duplicate meta tags, conflicting XML sitemaps, and competing canonical instructions. Google has to guess which to follow, and it doesn’t always guess right.
Not Sure How Your WordPress SEO Stacks Up?Our free audit checks your plugin configuration, duplicate content issues, schema setup, and Core Web Vitals, then tells you exactly what to fix first.Run Free Audit Now →
Step 3: Configure Meta Title Templates
Both Rank Math and Yoast let you set site-wide title templates. This matters more than most people realize, the title tag is the single highest-impact on-page SEO element, and getting your templates right from the start saves you from rewriting hundreds of pages later.
Set these templates in your SEO plugin’s settings:
- Homepage: Site Tagline | Site Name (or write a custom title for your homepage directly)
- Posts: %post_title% | %site_name%
- Pages: %page_title% | %site_name%
- Category pages: %category_title% - %site_name%
The “| Site Name” suffix helps with brand recognition and gives Google context when multiple pages from your domain appear in results. Keep total title length under 60 characters, titles beyond that get truncated in SERPs.
For meta descriptions: don’t set a global default. Duplicate descriptions across hundreds of pages are a wasted opportunity. Write unique descriptions for every page that matters. 150–160 characters, with a clear benefit statement and a reason to click.
Step 4: Check Your Canonical URL Configuration
A canonical tag tells Google which version of a page is the “real” one when multiple URLs show the same content. WordPress creates this problem constantly, your homepage might be accessible at yourdomain.com, www.yourdomain.com, yourdomain.com/index.php, and yourdomain.com/?. Without canonicals, Google has to pick one version, and it sometimes picks wrong.
Rank Math and Yoast both add canonical tags automatically. Two things to verify after installation:
First, view the source code of your homepage (Ctrl+U in Chrome) and search for canonical. You should see: <link rel="canonical" href="https://yourdomain.com/" />. Note the HTTPS prefix, if it shows HTTP, your plugin is outputting the wrong protocol. Fix this in the plugin’s general settings by confirming your preferred domain URL uses https://.
Second, go to Settings → General in WordPress and confirm both the WordPress Address and Site Address use https://. These settings feed into your SEO plugin’s canonical output.
Step 5: Kill Duplicate Content From Archives
WordPress automatically creates archive pages for categories, tags, dates, and authors. On a site with 100 posts, you might have 400+ archive pages serving thin or duplicate content. Google has to crawl all of them. Most of them compete with your actual posts for the same keywords.
Here’s how to handle each type:
Tag archives: Set to noindex. In Rank Math, go to Titles & Meta → Tags and turn off indexing. In Yoast, go to Search Appearance → Taxonomies → Tags and set to noindex. Tags almost never have browsing value, they just create URL variations of content that already exists on your posts.
Date archives: Always noindex. No visitor navigates your site by publishing date. These exist purely as WordPress artifacts.
Author archives: Noindex unless you run a multi-author publication where author pages genuinely aggregate valuable content. For single-author sites, author pages duplicate your post index.
Category archives: This one requires judgment. If your categories are well-organized, distinct, and users would actually browse them to find content, keep them indexed. If your categories are a mess, overlapping, inconsistently assigned, or covering the same topics in different words, noindex them. An indexed category page for “SEO Tips” that contains 3 posts competes with those posts for the same keywords and usually ranks below them anyway.
Step 6: Set Up Your XML Sitemap
An XML sitemap is a file that lists every important URL on your site, making it easy for Google to discover and crawl your pages. Both Rank Math and Yoast generate sitemaps automatically on install.
The default location is usually yourdomain.com/sitemap.xml or yourdomain.com/sitemap_index.xml. Visit that URL to confirm it exists and is generating correctly. You should see a structured XML file listing your pages and posts, not a 404 error.
Two things to configure:
- Exclude noindexed pages from your sitemap. Both plugins do this automatically, but verify by checking whether your tag and date archives appear in the sitemap. They shouldn’t.
- Submit the sitemap to Google Search Console (Sitemaps section) and Bing Webmaster Tools. This doesn’t guarantee faster indexing, but it gives Google a direct line to your content structure and helps surface crawl errors.
See our Google Search Console setup guide for step-by-step verification instructions.
Step 7: Configure Schema Markup
Schema markup is code that tells Google explicitly what your content is, an article, a local business, a FAQ, a product. Without it, Google infers content type from context and sometimes guesses wrong. With it, you’re eligible for rich results: FAQ dropdowns, star ratings, recipe cards, event listings. Rich results typically get 2–3x higher click-through rates than standard blue links, according to SEMrush’s 2024 rich results analysis.
What Rank Math (free) handles automatically:
- Article schema on every blog post
- WebSite and Organization/Person schema on your homepage
- Breadcrumb schema throughout your site
- FAQPage schema via the FAQ block in the block editor
That last one matters. If you write posts with FAQ sections, which you should, because they target conversational queries and show up in Google’s “People Also Ask” boxes, Rank Math’s FAQ block outputs valid FAQPage schema automatically. No manual JSON-LD required.
For LocalBusiness schema (name, address, phone, hours, geo-coordinates), Rank Math’s free Schema Generator handles this in a visual, field-by-field interface under Rank Math → Titles & Meta → Local SEO.
Yoast’s free version handles Article, WebSite, Organization, and Breadcrumb schema automatically. For FAQPage and HowTo schema, you need either Yoast Premium or to add the schema manually. For LocalBusiness, you need Yoast’s Local SEO add-on (€79/year on top of the base premium price) or a separate plugin like Schema Pro.
For more on structured data strategy, see our guide to structured data for AI search.
Step 8: Optimize Images Before They’re Uploaded
Uncompressed images are the single most common cause of slow WordPress sites. A single hero image uploaded at 4MB can push your Largest Contentful Paint (LCP), a Core Web Vitals metric and ranking factor, over 4 seconds. The target is under 2.5 seconds.
Two plugin options:
Smush (free): Compresses images on upload and bulk-compresses existing images. Good for most sites. The free version handles lossless compression (smaller files, identical quality). The paid version ($7.50/month) adds WebP conversion and CDN delivery.
ShortPixel (paid, from $3.99/month): Better compression ratios than Smush free, particularly for photography-heavy sites. Also converts to WebP and AVIF formats automatically, which deliver 25–35% smaller files than JPEG at equivalent quality.
Separately, enable lazy loading in WordPress (built into core since WordPress 5.5) or through your caching plugin. Lazy loading defers off-screen images until the user scrolls to them, reducing initial page load time.
Step 9: Install a Caching Plugin
WordPress is a dynamic CMS, by default, every page request triggers PHP execution and database queries. Caching saves the output of those requests and serves the cached version to subsequent visitors, dramatically reducing load times and server load.
WP Rocket ($59/year): The best WordPress caching plugin, full stop. Handles page caching, CSS/JS minification, lazy loading, CDN integration, and database optimization through a single interface designed for non-developers. If you’re serious about site performance, this is the one.
Free alternatives that are genuinely good:
- W3 Total Cache: The most configurable free caching plugin, with a complex interface to match. Good for developers; overwhelming for beginners.
- LiteSpeed Cache: The best free option if your host runs LiteSpeed servers (many budget hosts do). Server-level integration means better performance than PHP-level caching.
- WP Super Cache: Simple and reliable. Not as feature-rich as W3 Total Cache, but it won’t break things.
Target: Time to First Byte (TTFB) under 200ms, LCP under 2.5 seconds. Check both with Google PageSpeed Insights (free) after caching is configured. See our Core Web Vitals guide for the full optimization framework.
Step 10: Make Sure HTTPS Is Actually Working
This sounds basic. You’d be surprised how many sites are technically on HTTPS but have HTTP mixed content errors (some resources still loading over HTTP), or HTTP URLs still hardcoded in the database, or the WordPress URL settings still pointing to http://.
The full checklist:
- Install an SSL certificate. Most hosts provide this for free through Let’s Encrypt, look for “SSL” in your hosting control panel. One-click installation is standard on cPanel, Plesk, and most managed WordPress hosts.
- Go to Settings → General in WordPress and change both the WordPress Address and Site Address to https://.
- Run a search-and-replace in your database to update hardcoded HTTP URLs. The Better Search Replace plugin does this safely. Replace
http://yourdomain.comwithhttps://yourdomain.com. - Set up 301 redirects from HTTP to HTTPS at the server level (in your .htaccess file or hosting panel).
- Update your Google Search Console property to the HTTPS version and resubmit your sitemap.
After completing these steps, use Why No Padlock to scan for mixed content issues, it shows exactly which resources are still loading over HTTP.
Step 11: Check Your robots.txt File
WordPress auto-generates a virtual robots.txt file at yourdomain.com/robots.txt. Visit that URL in your browser right now. What you should see:
User-agent: *
Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php
Sitemap: https://yourdomain.com/sitemap_index.xml
What you don’t want to see: Disallow: /. That single line blocks every crawler from your entire site. If it’s there, check Settings → Reading in WordPress. There’s a checkbox labeled “Discourage search engines from indexing this site.” If that’s checked, uncheck it immediately. WordPress adds Disallow: / to robots.txt when that box is checked, and it’s common for it to get enabled accidentally during site development and never turned off at launch.
Also check that your CSS and JavaScript files aren’t blocked. Google needs to render your pages to understand their content and design. Blocking /wp-content/ or /wp-includes/ prevents this. See our full robots.txt guide for a complete breakdown of what to block and what to leave open.
Step 12: Set Up Google Search Console
Everything else you configure benefits from this. Google Search Console is Google’s direct communication channel with you, it shows which pages are indexed, which have errors, which keywords drive traffic, and when something breaks.
Four verification methods: DNS record (most reliable, done at your domain registrar), HTML tag (add a meta tag to your homepage, Rank Math and Yoast both have a field for this), Google Analytics connection (if GA4 is already installed), or HTML file upload.
After verifying, do three things immediately:
- Submit your XML sitemap under Sitemaps
- Check the Pages report for any URLs Google is struggling to index
- Check the Core Web Vitals report for performance issues across your site
Check Search Console at minimum once a week during your first three months. Crawl errors, manual penalties, and indexing issues show up here, and they all have solutions that are a lot easier to fix early than after they’ve persisted for six months.
Related GuidesWhat Is E-E-A-T and Why Google CaresAI SEO for Business Owners
Find Out What’s Slowing Your Site DownOur free audit checks your technical SEO, Core Web Vitals, and site structure, and tells you exactly what to fix first.Run Free Audit Now →
The Configuration Order That Matters
People ask which of these settings is most important. The honest answer: the order matters as much as the settings themselves. Fix things in the wrong sequence and you create new problems while solving old ones.
Here’s the right order:
- HTTPS, everything else builds on a secure foundation
- Permalinks, set once, before any content is published
- SEO plugin, install, configure, verify; don’t publish until this is done
- Canonical URLs, verify your plugin is outputting HTTPS canonicals
- Archive noindex settings, stop duplicate content before it accumulates
- XML sitemap, submit to Search Console after noindex settings are correct
- Schema markup, configure your site-wide schema defaults
- robots.txt check, 5 minutes; potentially saves months of lost rankings
- Search Console setup, your ongoing monitoring layer
- Caching and images, performance optimization, ongoing
These settings take 2–4 hours on a fresh install. On an existing site, add time for URL migration and database search-and-replace. Either way, this is time you spend once rather than spending it later diagnosing why your 6-month-old site isn’t ranking.
Related Reading
- Technical SEO: What It Is and Why It Matters
- Google Search Console Setup and Monitoring Guide
- Core Web Vitals: LCP, INP, and CLS Explained
- Structured Data for AI Search
- What Is Robots.txt? How One Wrong Line Can Block Google From Your Entire Site
Frequently Asked Questions
Which is the best SEO plugin for WordPress?For most new WordPress sites in 2026, Rank Math’s free tier is the strongest starting point. It includes schema markup for 20+ content types, a redirects manager, and keyword rank tracking, features Yoast SEO puts behind its €99/year premium plan. Yoast is the better choice if you run a content team that needs guided editorial feedback or if your team is already trained on it and switching costs outweigh the gains. Install only one, running multiple SEO plugins creates duplicate meta tags and conflicting schema output.
Do I need to change WordPress permalinks before publishing content?Yes, change permalinks before publishing anything. If you switch from the default /?p=123 structure to Post name after content is live, every existing URL changes. External links pointing to the old URLs break unless you set up 301 redirects for each one. Changing permalinks before any content is published means there are no existing URLs to break.
Should I noindex WordPress category and tag pages?Tag archives: always noindex. They create URL variations of content that already exists on your posts, with no additional browsing value. Date archives: always noindex. Author archives: noindex for single-author sites. Category archives: it depends, well-organized categories with real browsing value can stay indexed; poorly organized overlapping categories should be noindexed to concentrate crawl budget on your actual content pages.
How do I know if WordPress is blocking Google from indexing my site?Check two places. First, go to Settings → Reading in WordPress and confirm the “Discourage search engines from indexing this site” checkbox is unchecked. Second, visit yourdomain.com/robots.txt in your browser and look for Disallow: /, that single line blocks all crawlers from your entire site. If either of those is wrong, fix it immediately and request a Google recrawl via the URL Inspection tool in Google Search Console.
Do WordPress SEO plugins improve search rankings?Indirectly, yes. SEO plugins don’t push you up the rankings directly, they remove the technical barriers that prevent Google from properly understanding and indexing your content. Correct meta titles improve click-through rates. Schema markup makes you eligible for rich results that get higher CTRs than standard links. XML sitemaps ensure Google discovers all your pages. Canonical tags prevent duplicate content from splitting ranking signals. These are ranking prerequisites, not ranking guarantees.
