Digital Marketing

Technical SEO Fundamentals: Robots, Sitemaps & More

A practical guide to technical SEO: configure robots.txt, XML sitemaps, canonical tags, and structured data so search engines crawl and index your site correctly.

Piküp Medya3 min readDigital Marketing
Üzerinde SEO yazısı bulunan metin temalı bir duvar kağıdı
Fotoğraf: Merakist · Unsplash

Why Technical SEO Matters

Great content and strong backlinks only work if search engines can actually reach, understand, and index your pages. That foundation is what technical SEO provides. It focuses on the infrastructure of your site rather than the words on the page.

When crawling and indexing are configured correctly, search bots spend their time on the pages that matter, avoid duplicate versions, and read your content the way you intend. This guide walks through four core building blocks: robots.txt, XML sitemaps, canonical tags, and structured data.

None of these require a full rebuild. Most are small, deliberate settings that prevent large problems later, especially as a site grows in size and complexity.

Configuring robots.txt Correctly

The robots.txt file lives at the root of your domain and tells crawlers which areas they may or may not access. It is one of the first things a bot checks, so a mistake here can quietly block important sections of your site.

Use it to keep crawlers away from low-value paths such as internal search results, admin areas, or duplicate parameter URLs. Be careful not to block resources like CSS and JavaScript that search engines need to render your pages properly.

A common error is using robots.txt to hide a page from search results. Blocking a URL only prevents crawling, not indexing. If a page must be kept out of the index, use a noindex directive instead and allow the page to be crawled so the directive can be read.

Building and Submitting XML Sitemaps

An XML sitemap is a structured list of the URLs you want search engines to know about. It helps crawlers discover pages efficiently, which is especially useful for large sites, new sites, or pages with few internal links.

Include only canonical, indexable URLs that return a 200 status. Leave out redirected pages, error pages, and anything marked noindex, since mixed signals reduce trust in the sitemap. Keep it updated automatically whenever content changes.

Once your sitemap is ready, reference it in robots.txt and submit it through your search engine's webmaster tools. This gives you visibility into how many submitted URLs are actually indexed and where issues arise.

Using Canonical Tags to Prevent Duplicates

Canonical tags tell search engines which version of a page is the preferred one when similar or identical content exists at multiple URLs. This is common with tracking parameters, filtered category pages, and printer-friendly versions.

Add a self-referencing canonical tag on your main pages, and point duplicate variations to that primary URL. This consolidates ranking signals onto a single address instead of splitting them across near-identical pages.

Keep canonical tags consistent with your other signals. If a page canonicalizes to another URL but is also included in the sitemap or linked as primary, you send conflicting instructions that search engines may ignore.

Adding Structured Data for Richer Results

Structured data uses a standardized vocabulary, most commonly Schema.org, to describe what your content represents: an article, product, business, event, or FAQ. It helps search engines interpret context beyond plain text.

Implementing it can make your pages eligible for enhanced search features such as review stars, breadcrumbs, or FAQ listings. These do not guarantee better rankings, but they can improve visibility and click-through when displayed.

Use the JSON-LD format, mark up only content that genuinely appears on the page, and validate your markup with a testing tool. Accurate, honest structured data protects you from manual actions tied to misleading markup.

Putting It All Together

These four elements work as a system. Robots.txt manages access, sitemaps aid discovery, canonical tags resolve duplication, and structured data adds meaning. Configured together, they give search engines a clear, consistent map of your site.

Start with an audit of your current setup, fix conflicting signals first, and monitor results in your search console over time. Technical SEO is not a one-time task; it needs periodic review as your site evolves.

If you want a professional review of your crawling and indexing setup, our team at Piküp Medya can help you audit and implement these fundamentals with a clear plan tailored to your site.

How did this land for you?

Be the first to react

Was it useful?

Found it useful? Share it:

Frequently asked questions

What does the robots.txt file do?

The robots.txt file lives at the root of your domain and tells crawlers which areas they may or may not access. It is one of the first things a bot checks, so it can be used to keep crawlers away from low-value paths like internal search results or admin areas. Be careful not to block resources like CSS and JavaScript that search engines need to render your pages.

Which pages should be included in an XML sitemap?

An XML sitemap should include only canonical, indexable URLs that return a 200 status. Leave out redirected pages, error pages, and anything marked noindex, since mixed signals reduce trust in the sitemap. Keep it updated automatically whenever content changes.

When should canonical tags be used?

Canonical tags are used when similar or identical content exists at multiple URLs, such as with tracking parameters, filtered category pages, and printer-friendly versions. Add a self-referencing canonical tag on your main pages and point duplicate variations to the primary URL to consolidate ranking signals onto a single address.

Which format is recommended for structured data?

The JSON-LD format is recommended for structured data. You should mark up only content that genuinely appears on the page and validate your markup with a testing tool. Accurate, honest structured data protects you from manual actions tied to misleading markup.

How can you verify that robots.txt is working?

Once your sitemap is referenced in robots.txt and submitted through your search engine's webmaster tools, you gain visibility into how many submitted URLs are actually indexed and where issues arise. You can also start with an audit of your current setup, fix conflicting signals first, and monitor results in your search console over time.

Related articles

Related services