Key takeaways
- The most damaging WordPress technical SEO mistakes are usually settings, not code: one ticked box or one plugin option can keep a whole site, or the wrong copy of it, out of search.
- Check the “Discourage search engines” setting after every launch, migration and restore, and keep staging copies behind a password rather than relying on robots.txt.
- Attachment pages, thin tag archives and single-author archives add URLs with little to offer. Redirect, noindex or remove them deliberately.
- Pick one plugin to own canonicals, robots meta tags and structured data. Two tools writing the same tags is a common source of conflicting signals.
- The Search Console URL Inspection tool shows whether Google may crawl and index a page and which canonical it chose. Use it on your key templates every month.
Most of the WordPress sites I am asked to look at after a fall in search traffic do not have exotic problems. They have ordinary settings that were left in the wrong position, and nobody noticed because the site still looks perfect to visitors. In my WordPress SEO consulting work, the first hour of an audit goes on exactly these WordPress technical SEO mistakes, because they are quick to check and they can undo everything else.
This article assumes the foundations are in place. If you are still setting up a site, start with my guide to WordPress SEO basics for small businesses and come back here once it is live.
I first published this article in 2025 under a much more alarming title, with figures I could not stand behind. I have rewritten it as a plain list of the mistakes I actually find, with a way to check each one yourself.
“Discourage search engines” left on after launch
WordPress has a checkbox under Settings, then Reading, called “Discourage search engines from indexing this site”. It is meant for sites under construction. The WordPress documentation for the Reading screen explains that since version 5.3 it adds a robots meta tag with “noindex,nofollow” to the head of every page. It also notes that “it is up to search engines to honor your request”, and Google does.
The box gets ticked on a development copy, the site is moved to the live domain with its database, and the setting travels with it. It can also come back when a backup is restored over the live site.
How to check it:
- Open Settings, then Reading, and confirm the box is unticked.
- View the source of your home page and search for “noindex”. On a page you want in search, it should not be there.
- In Search Console, inspect the home page and one important page. The URL Inspection tool reports whether indexing is allowed and, if it is not, explains the reason.
Staging and development copies that get indexed
The opposite problem is a staging site that is open to the world. Developers often create a copy on a subdomain or a temporary hosting address, and if search engines find it, you end up with a second, older version of your site competing with the real one. Search for your staging host name in Google with the site: operator to see whether any of it is already indexed.
A robots.txt file that blocks everything is the usual fix, and the wrong one. Google’s introduction to robots.txt says it “is not a mechanism for keeping a web page out of Google” and advises: “To keep a web page out of Google, block indexing with noindex or password-protect the page.” A blocked URL can still appear in results, just without a description.
My preference for staging is password protection at server level, so neither visitors nor crawlers can open it. Also make sure the live site never links to it.
Attachment pages and thin tag and author archives
WordPress creates pages that nobody plans. Every uploaded image can get its own attachment page, every tag gets an archive, and every author gets an author archive. On a small site, most of them repeat content found elsewhere.
Attachment pages changed in WordPress 6.4. The core developer note on attachment pages introduced a wp_attachment_pages_enabled option: “For new sites, the option is set to 0 by default”, which disables them, but “On existing sites, the option is set to 1 on upgrade, so that attachment pages continue to work as is.” In other words, an older site that was upgraded may still have them, unless an SEO plugin redirects them.
How to check and what I usually do:
| Page type | How to check | Usual fix |
|---|---|---|
| Attachment pages | Open an image’s attachment link from the media library and see whether it loads its own page | Disable them or redirect them to the file or parent post |
| Tag archives | List tags with one or two posts in Posts, then Tags | Merge or delete thin tags, or noindex tag archives |
| Author archives | On a one-author site, compare the author archive with the blog page | Noindex or redirect the duplicate archive |
Duplicate URLs from parameters, trailing slashes and protocols
The same WordPress page can often be reached at several addresses: with and without a trailing slash, with and without www, over http and https, and with tracking or sorting parameters added. Google’s guide on consolidating duplicate URLs uses a tracking parameter, alternative hostnames and HTTP versus HTTPS among its examples, and explains that choosing one canonical URL helps “consolidate signals for similar or duplicate pages”.
How to check it: type your important URLs into the browser in each variant (http, no www or with www, with and without the final slash) and confirm each one redirects in a single step to the version you use. Then add a test parameter such as ?test=1 and view the source to confirm the canonical tag points to the clean URL. Internal links should use that same format.
If you change your permalink structure to fix this, plan the redirects first. I explain the settings and the risks in my guide to WordPress permalinks.
Two plugins writing the same tags
WordPress itself prints a canonical tag on posts and pages. SEO plugins replace it with their own, and some themes, page builders, ecommerce extensions and schema plugins add canonicals, robots meta tags or structured data as well. When two of them are active, a page can end up with two canonical tags pointing to different URLs, two robots meta tags that disagree, or the same business described twice in structured data with different details.
Google’s duplicate URL guide is direct about this: “Don’t specify different URLs as canonical for the same page using different canonicalization techniques”. Conflicting tags leave Google to choose, and it may not choose the URL you wanted.
How to check it:
- View the source of your home page, one post, one page, one category and, if you sell online, one product. Search each for “canonical”, “robots” and “application/ld+json”, and count how many times each appears.
- In URL Inspection, compare the “User-declared canonical” with the “Google-selected canonical”. If they differ on important pages, find out why.
- Run the same templates through Google’s Rich Results Test to see which structured data items it finds.
The fix is a decision: one plugin owns canonicals, robots meta tags and sitemaps, one place owns structured data, and those features are switched off everywhere else.
robots.txt rules that hide the wrong things
WordPress serves a basic virtual robots.txt that keeps crawlers out of the admin area. The problems start when someone edits it by hand, often copying rules from an old tutorial that block folders such as wp-content or wp-includes. Those folders hold the theme’s stylesheets, scripts and images.
Google’s robots.txt introduction says that if the absence of resources makes “the page harder for Google’s crawler to understand the page, don’t block them”. There is a second trap too. If you block a page in robots.txt and also add noindex, Google’s guide on blocking indexing with noindex explains that the crawler “will never see the noindex rule”, so the page can stay in results.
How to check it: open yoursite.com/robots.txt and read every line. Question any Disallow rule you cannot explain. Then run a live test in URL Inspection on a key page, open the tested page and look at the screenshot and the page resources it loaded, to confirm Google can load the styles and scripts it needs.
A monthly routine that catches these early
None of these mistakes announce themselves. A short monthly routine catches most of them early:
- Confirm the Reading setting is unticked and robots.txt is unchanged.
- Inspect five key URLs in Search Console: the home page, a main service or product page, a category, a recent post and your contact page.
- Open the Page indexing report and look for sudden rises in excluded pages, especially “URL marked ‘noindex'” and “Duplicate, Google chose different canonical than user”.
- After any plugin or theme change, view the source of your main templates and count canonical, robots and structured data tags again.
- Check that the staging site still asks for a password.
For the wider list of fixes in priority order, see my guide to technical SEO services for WordPress.
FAQ
Is robots.txt enough to hide a staging site?
No. Google says robots.txt is not a way to keep a page out of Google, and a blocked URL can still appear in results without a description. Password protection or noindex are the right tools.
Not automatically. Noindex or remove the ones that are thin or duplicate other pages, such as tags with one post or the author archive on a one-author site. Keep archives that genuinely help visitors find related content.
Can I run two SEO plugins at the same time?
You can, but only if each tag has one owner. If both plugins output canonicals, robots meta tags or structured data, switch the feature off in one of them, then view the page source to confirm only one of each remains.