SEO

Sitemaps and crawling

Sitemaps and robots.txt files tell search engines which pages to crawl and which to ignore. Without them, search engines may miss important pages or waste time on irrelevant ones.

What is an XML sitemap

An XML sitemap is a file that lists every important page on your website. It gives search engines a roadmap of your content. Each entry includes the page URL, last modified date, change frequency, and priority relative to other pages.

Sitemaps are especially important for new websites, sites with few external links, and sites with deep or complex navigation. They do not guarantee every page will be indexed, but they significantly improve discovery.

What is robots.txt

Robots.txt is a text file placed in your website root that tells search engine crawlers which sections of your site to avoid. It uses Disallow directives to block specific paths.

Example: Disallow: /admin/ tells crawlers not to index admin pages. Use robots.txt to block duplicate content, staging environments, private files, and search result pages. Never use it to block content you want indexed.

Common mistakes

Missing sitemap � Search engines can still find your pages, but it takes longer and some may be missed entirely.

Outdated sitemaps � Sitemaps that include deleted pages or omit new ones confuse crawlers.

Blocking CSS and JS in robots.txt � Modern search engines need to render pages fully. Blocking CSS and JavaScript files prevents proper rendering and hurts rankings.

Using robots.txt for security � Robots.txt is a public file. Anyone can see what you have blocked. Do not rely on it to hide sensitive content.

How to submit your sitemap

Upload your sitemap.xml to the root of your site. Submit it to Google Search Console and Bing Webmaster Tools. Reference its URL in your robots.txt file and include it in your page footer.

Audit check: We verify sitemap presence, check its contents are valid and current, examine robots.txt for blocking issues, and flag any crawling problems.

Get your full site report

Our free audit covers security, SEO, performance, mobile, design, and content.

Get your free audit
Home Learn Get your free audit