Most SEO advice focuses on content, and rightly so. But underneath every page are a few technical signals that tell search engines what exists on your site, what to crawl and which version of a page counts. Three of the most important are the XML sitemap, the robots.txt file and the canonical tag. You do not need to write any of them by hand to understand what they do.
XML sitemaps: a list of what matters
An XML sitemap is a file, usually found at an address like yoursite.com/sitemap.xml, that lists the pages you want search engines to know about. It can also include information like when a page was last updated. Search engines can find pages by following links, but a sitemap helps them discover content more reliably, especially new pages or pages that are not well linked.
Most modern platforms generate a sitemap automatically. On WordPress, the core software creates a basic one, and SEO plugins typically provide more control. A few tips:
- Include only pages you actually want to appear in search
- Leave out thank-you pages, admin pages and duplicates
- Submit the sitemap address in Google Search Console and Bing Webmaster Tools
Robots.txt: directions for crawlers
The robots.txt file lives at the root of your site, at yoursite.com/robots.txt. It gives instructions to automated crawlers about which areas they should not crawl. For example, it might ask crawlers to skip an admin area or internal search results.
Two important points often cause confusion. First, robots.txt is a request that well-behaved crawlers follow, not a security measure. Never rely on it to hide private information. Second, blocking a page in robots.txt does not reliably keep it out of search results. If you want a page excluded from search, a noindex instruction on the page itself is the appropriate tool, and the page must remain crawlable so search engines can see that instruction.
The most damaging robots.txt mistake is accidentally blocking the entire site, which sometimes happens when a development site setting is carried over at launch. Checking this file is a standard step after any launch or migration.
Canonical tags: choosing the main version
The same content can sometimes be reached at several addresses. A product might appear under two categories. Tracking codes might be added to links. Both the www and non-www versions of a site might load. To search engines, these can look like duplicate pages.
A canonical tag is a line of code in a page’s header that points to the preferred address for that content. It tells search engines which version to treat as the main one. Search engines treat it as a strong hint rather than an absolute rule, so it works best alongside consistent internal linking and proper redirects.
Most platforms and SEO plugins add self-referencing canonical tags by default, which is a sensible baseline.
How to keep an eye on all three
Google Search Console is the easiest place to watch for problems. Its indexing reports show which pages are indexed, which are excluded and why. If important pages are missing, the cause is often one of these three signals. A quick review after any significant site change can catch issues before they affect your traffic.
Putting It Into Practice: A Quick Technical Health Check
You do not need to be a developer to confirm these three signals are working. A short check, done after launch and a few times a year, catches most problems early. Here is a simple routine.
- Open your sitemap by visiting the sitemap address in your browser. Confirm it loads and lists your important pages. Look for pages that should not be there, such as test pages or thank-you pages.
- Open your robots.txt file. Read the lines that begin with “Disallow.” Make sure none of them block your whole site or important sections.
- Check a few canonical tags. Using your browser’s “view page source” option on key pages, search for the word “canonical” and confirm the address listed is the correct, preferred version of that page.
- Review Search Console’s indexing report. Look for important pages listed as excluded and read the reason given.
- Test your preferred domain. Visit your site with and without “www” and with “http” instead of “https.” All versions should redirect to the one preferred address.
Common Scenarios and What They Usually Mean
- A new page is not indexed after several weeks: check whether it is linked from other pages, listed in the sitemap and free of a noindex setting.
- Search Console reports duplicate pages: look at canonical tags and whether multiple addresses load the same content without redirecting.
- Traffic dropped suddenly after a site update: check robots.txt and noindex settings first, since development settings sometimes carry over.
- Old pages still appear in search after a redesign: confirm redirects from old addresses point to the most relevant new pages.
- Filtered or sorted product pages are being crawled heavily: discuss with a developer whether crawl directions or canonical tags should be adjusted.
Common Technical SEO Mistakes
- Blocking pages in robots.txt and also marking them noindex. If crawlers cannot reach the page, they cannot see the noindex instruction.
- Canonical tags pointing to the wrong page, such as every page pointing to the homepage, which can cause pages to drop out of search.
- Sitemaps full of redirected or missing pages. Keep the sitemap clean so it lists live pages you want indexed.
- Installing two SEO plugins. Overlapping tools can create conflicting tags and duplicate sitemaps.
- Never checking after changes. Theme updates, migrations and new plugins can alter these settings without notice.
Questions Readers Ask
Do small sites even need a sitemap?
Small, well-linked sites can be crawled without one, but a sitemap is easy to provide and helps search engines find new pages reliably.
Can robots.txt protect private pages?
No. Use passwords or proper access controls for anything private. Robots.txt is publicly readable and only a request to crawlers.
Should every page have a canonical tag?
A self-referencing canonical on each page is a sensible default that most platforms handle automatically.
When should I call in a developer?
If important pages remain excluded after you have checked the basics, if a migration is planned, or if your site generates many similar pages through filters or search, an experienced developer can review the setup. Technical issues are usually straightforward to fix once they are correctly identified.




