Technical SEO basics: sitemaps, redirects and canonical tags
Good content but poor visibility on Google? Learn how sitemaps, redirects and canonical tags help search engines understand your website correctly.
Your service pages are ready, your products are carefully presented, maybe you have even started a blog. Yet when you search for your brand on Google, an old page shows up while your new pages are nowhere to be seen. Or the same product page appears in search results under two different addresses.
Most of these problems come not from your content but from the "infrastructure language" of your site. Search engines do not read a website the way people do: they follow links, compare addresses and make their own decision about which page is the main one. Technical SEO is about sending them clear signals.
In this post we look at three cornerstones of technical SEO: sitemaps, redirects and canonical tags. We approach it through WIFT, "What's In It For Them?": every clear signal ultimately helps show the right page to someone looking for it.
Sitemaps: a table of contents for search engines
A sitemap is a file, usually published as sitemap.xml, that lists the important pages on your website. Search engines can also discover pages through links, but a sitemap helps, especially on new, large or weakly linked sites.
According to Google's sitemap guide, a sitemap is a hint rather than a guarantee: being listed does not mean every page will be indexed. Still, a well-prepared sitemap is the tidiest way to tell a search engine, "These pages matter to me."
What makes a good sitemap:
- Include only the pages you actually want to appear. Redirected, deleted, login-only or noindex pages do not belong in it.
- Use the main address of every page. The URL in your sitemap should match the one in your canonical tag. Mixing addresses with and without
wwwonly creates confusion. - Keep it updated automatically. A sitemap that refreshes itself whenever you publish a post or add a product is far more reliable than a hand-maintained list.
- Submit it to Google Search Console. That way you can see whether Google can read the file and how many pages it has discovered.
On multilingual sites, each language version should be in the sitemap and the language versions should reference each other. Otherwise, someone searching in Turkish may be shown your English page.
Redirects: a bridge from the old address to the new one
Pages get renamed, categories are merged, products are retired, yet the old address lives on in other websites, social posts and search results. A redirect carries both visitors and search engines from that old address to the right place.
The two types you will meet most often:
- Permanent redirects (301 or 308): used when a page has moved for good. Google's redirect documentation describes a permanent redirect as a strong signal that the new address should be shown in search results.
- Temporary redirects (302 or 307): used when a page is somewhere else for a short time. In that case search engines usually keep the old address.
In our experience, these are the most common mistakes:
- Using a temporary redirect for a permanent move. The signal becomes unclear.
- Sending everything to the homepage. Redirecting a discontinued product to the homepage pulls visitors away from what they wanted. Where possible, point to the closest relevant page, such as the product's category.
- Redirect chains. If A goes to B and B goes to C, pages get slower. Redirect straight to the final address.
- Forgetting internal links. A redirect is a safety net. Links in your menus and body text should point directly to the new address.
If you are planning a site migration or a major redesign, preparing a list that maps old addresses to new ones before launch helps protect the visibility you have worked hard to build.
Canonical tags: saying "this is the main page"
The same content can often be reached through several addresses: filtered product lists, links with campaign tracking codes, versions with and without www, or URLs with and without a trailing slash. For visitors it is one page; for search engines, several addresses.
A canonical tag is a line in a page's HTML that says, "This is the main address for this content." Google's guide to duplicate URLs explains that it treats the canonical tag as a strong hint but makes the final call together with other signals. In other words, a canonical tag is not enough on its own: your sitemap, internal links and redirects should all point to the same address.
Practical advice for canonical tags:
- Give every page a canonical that points to its own main address. This self-referencing canonical helps tie parameter-based copies back to the main page.
- Use absolute URLs. A full address starting with
https://and including your domain reduces the risk of misinterpretation. - Do not merge pages that are similar but different. If two different products have very similar pages, pointing one to the other with a canonical can make that product disappear from search. The fix is to make the content distinct.
- Avoid combining canonical and noindex on the same page. The signals contradict each other.
Thinking about all three together
Sitemaps, redirects and canonical tags may look like separate tools, but they answer the same question: "What is the correct address for this content?" The healthiest result comes when all three point to the same URL. If your sitemap lists one address, your canonical another and your internal links a third, the search engine is left to guess.
A simple checklist to get started on your own site:
- Make sure your site is verified in Google Search Console and your sitemap has been submitted.
- Review the page indexing report in Search Console for warnings such as "page with redirect", "duplicate" or "not found".
- Check the source code of a few key pages to confirm the canonical tag shows the correct address.
- Confirm that the
httpand non-wwwversions of your site permanently redirect to a single main version.
Conclusion
Technical SEO is mostly invisible, yet it decides whether the content you worked on reaches the right people. Your sitemap tells search engines what matters, redirects tell them where things have moved, and canonical tags tell them which address is the real one. When all three point in the same direction, search engines understand your site more easily and visitors find what they are looking for.
If you are not sure whether your site's technical foundations are sending the right signals, we can take a look together.