SEO
WordPress SEO: how to set up and rank a WordPress site.
WordPress SEO step by step: settings to check first, your SEO plugin, speed, tags and attachment pages. Plus the signs that WordPress is starting to hold your site back.
I have built and optimised WordPress sites for years. Most of the time I see the same picture: the system is fine, but the site carries several years of added plugins, theme changes and archives nobody remembers. This guide will help you check whether your WordPress site is helping you in Google or holding you back.
Is WordPress good for SEO?
Yes. WordPress gives you clean URLs, a sitemap, full control over titles and content, and with an SEO plugin also structured data. Google does not judge a site by the system it runs on, but by what it gets: content, URLs, speed, links.
The problems start elsewhere:
- a heavy theme or page builder that loads lots of scripts and styles on every page,
- dozens of plugins, some doing the same job or no longer needed,
- automatically created archives: tags, authors, dates, attachment pages,
- settings left over from launch, such as an indexing block from the staging site.
Five settings to check first
| Where | What to set | Why |
|---|---|---|
| Settings → Reading | "Discourage search engines from indexing this site" unchecked | When checked, it asks Google not to index the site. It is often left on after launch. |
| Settings → Permalinks | "Post name" or another readable structure | Default URLs like ?p=123 tell nothing to people or Google. |
| Sitemap | One working sitemap submitted in Search Console | WordPress has its own sitemap since 5.5, SEO plugins often replace it. |
| Attachment pages | Disabled or redirected to the file | Every image can get its own near-empty page. |
| SEO plugin | Exactly one | Two at once duplicate canonicals, sitemaps and structured data. |
Search engine visibility
Under Settings → Reading there is a “Discourage search engines from indexing this site” box. It is often checked on purpose while the site is being built and nobody unchecks it later. According to the WordPress documentation it is only a request to search engines, not an access block, but Google honours it. WordPress also turns off its own sitemap while it is checked.
Permalinks
The default format is URLs like /?p=123. The “Post name” format, /post-name/, is better. If the site is already live and gets traffic, do not change the URL structure without redirects. Every old URL needs a 301 to its new equivalent.
Sitemap
Since version 5.5 WordPress creates a sitemap at /wp-sitemap.xml and adds it to robots.txt. It covers posts, pages, categories, tags and authors. SEO plugins usually turn it off and replace it with their own. Check which sitemap actually works and submit that one in Search Console. Look inside too: if it lists tags, authors or content types you do not want in Google, switch them off in the plugin settings.
Attachment pages
Every image added to the media library can get its own page showing just the image. On new installs since version 6.4 these pages are disabled by default. On sites created earlier they keep working after the update. Most SEO plugins have an option that redirects them to the file itself.
One SEO plugin
Yoast SEO, Rank Math and SEOPress handle the basics in a similar way. The trouble starts when two are active, for example after switching plugins without removing the old one. The page source can then contain two different titles, two canonicals and duplicated structured data.
Tags, authors and dates: archives that clutter the index
WordPress automatically creates post listings for every tag, category, author and month. On a blog with 50 posts and 200 tags that easily means several hundred pages, most of them with one or two posts.
What to do about it:
- Treat categories as landing pages. Add a short description, a proper title and links to the most important posts.
- Tags with one or two posts should be set to noindex or merged.
- The author archive on a single-author site is usually not needed in the index.
- Date archives almost never match what people search for.
Also make sure a category, a tag and a post do not compete for the same query. More on that in the keyword cannibalization entry.
Speed: theme and plugins
WordPress with a lightweight theme can be fast. It usually becomes slow because of page builders, sliders, fonts from several sources, chat scripts and plugins that load on every page even though they are needed on one.
Where to start:
- Count your plugins and remove those nobody uses. Each one is extra code and a risk during updates.
- Check what loads on the home page. Browser tools or PageSpeed Insights show which scripts and styles slow the page down most.
- Images in WebP and at the size they are displayed. A 4000 px photo placed in a 600 px column is a typical mistake.
- Caching and good hosting. A cache plugin helps, but it will not fix a heavy theme.
Measure speed on mobile and look at real-user data in the Core Web Vitals report in Search Console. More in the Core Web Vitals entry.
WooCommerce and multilingual sites
A WooCommerce store has extra problems: filters and sorting create thousands of URLs, product variants duplicate content and discontinued products leave 404 errors. I cover this in more detail in faceted navigation and SEO.
Language versions are usually built with plugins such as WPML or Polylang. The most common mistakes are missing hreflang between versions, unreviewed machine translation and incomplete versions where some pages stay in the original language. More on the international SEO page.
How to check WordPress SEO in 10 minutes
- Search Google for
site:yourdomain.comand look at what is indexed. Tags, attachments and test pages stand out immediately. - In Search Console open the Pages report and check how many URLs are excluded and why.
- View the home page source (Ctrl+U) and search for
noindex. It should not be there. - Test the site in PageSpeed Insights on mobile.
- Count the plugins in the dashboard and write down what each one is for.
When WordPress starts holding your site back
Not every site has to stay on WordPress forever. A migration is worth pricing when:
- the site stays slow on mobile despite optimisation,
- every new feature means another plugin,
- updates keep breaking things or nobody runs them,
- the site is a simple company website and maintenance keeps getting more expensive.
That was the case with my own site and with Domki Borsk. For Domki Borsk the mobile PageSpeed score went from 58 on WordPress to 98 after the move, and Google traffic did not drop because every URL was kept. The details are in the Domki Borsk migration case study.
A migration always carries a traffic risk, though. If your WordPress site is fast, easy to manage and growing, it is better to refine it than to move it. If you are not sure which way to go, start with an SEO audit: it will show whether the problem lies in the settings or in the system itself.
Sources
- Reading Settings Screen - WordPress.org Documentation
- Permalinks Settings Screen - WordPress.org Documentation
- New XML Sitemaps Functionality in WordPress 5.5 - Make WordPress Core
- Changes to attachment pages - Make WordPress Core
Was this article helpful?
Great, glad it helped!
Sorry to hear that. Tell me what was missing and I will improve it: info@outrank.pl
About the author. Maciek - SEO & GEO consultant with 10+ years of experience, formerly Head of SEO at companies including Gemini Polska and Staples Solutions. More about me