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.

A settings panel with one switch left in the blocked position while a row of finished web pages sits behind a closed barrier
Figure 1. One setting left on after launch can keep every page of a finished site out of search.

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.

Free tool · SEO ROI Calculator

Wondering what a page kept out of search was costing you? Estimate what its main keywords could be worth.

Enter search volume, CPC and your current ranking to estimate traffic, revenue and value for a keyword. Free.

Calculate your SEO ROI →

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”.

Several slightly different address bars with arrows that all lead into one single web page
Figure 2. Every variant address of a page should lead to one canonical URL.

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.

Free tool · Ping My URL

Fixed a noindex, redirect or canonical problem on key pages? Let search engines know they changed.

Notify Google and other search engines about up to 5 new or updated URLs at once. Free, no sign-up.

Ping your URLs →

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.

Two plugin blocks each pushing a different tag into the same page header slot, beside a single block filling the slot cleanly
Figure 3. When two plugins write the same tags, signals conflict. One tool should own each job.

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:

  1. 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.
  2. In URL Inspection, compare the “User-declared canonical” with the “Google-selected canonical”. If they differ on important pages, find out why.
  3. 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:

  1. Confirm the Reading setting is unticked and robots.txt is unchanged.
  2. 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.
  3. 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”.
  4. After any plugin or theme change, view the source of your main templates and count canonical, robots and structured data tags again.
  5. 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.

Rank Check Reports

Fixing technical mistakes on your WordPress site? Record where your key pages rank before and after.

A live Google check of your keywords on desktop and mobile · from $14.99 per check · no subscription · report within one working day

Order a rank check report →

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.

Should I noindex all tag and author archives?

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.

Eugen Platon

Eugen Platon

Director of SEO & Web Analytics at onwardSEO
Eugen Platon is a highly experienced SEO expert with 16+ years of experience propelling organizations to the summit of digital popularity. Eugen, who holds a Master's Certification in SEO and is well-known as a digital marketing expert, has a track record of using analytical skills to maximize return on investment through smart SEO operations. His passion is not simply increasing visibility, but also creating meaningful interaction, leads, and conversions via organic search channels. Eugen's knowledge goes far beyond traditional limits, embracing a wide range of businesses where competition is severe and the stakes are great. He has shown remarkable talent in achieving top keyword ranks in the highly competitive industries of gambling, car insurance, and events, demonstrating his ability to traverse the complexities of SEO in markets where every click matters. In addition to his success in these areas, Eugen improved rankings and dominated organic search in competitive niches like "event hire" and "tool hire" industries in the UK market, confirming his status as an SEO expert. His strategic approach and innovative strategies have been successful in these many domains, demonstrating his versatility and adaptability. Eugen's path through the digital marketing landscape has been distinguished by an unwavering pursuit of excellence in some of the most competitive businesses, such as antivirus and internet protection, dating, travel, R&D credits, and stock images. His SEO expertise goes beyond merely obtaining top keyword rankings; it also includes building long-term growth and optimizing visibility in markets where being noticed is key. Eugen's extensive SEO knowledge and experience make him an ideal asset to any project, whether navigating the complexity of the event hiring sector, revolutionizing tool hire business methods, or managing campaigns in online gambling and car insurance. With Eugen in charge of your SEO strategy, expect to see dramatic growth and unprecedented digital success.
Eugen Platon
Check my Online CV page here: Eugen Platon SEO Expert - Online CV.