Sitemap: wat het is en waarom je site er een nodig heeft

Wat is een sitemap en waarom heb je er een nodig? XML sitemap maken, indienen bij Google en optimaliseren voor SEO.

Door Bijgewerkt 8 min lezen

Een sitemap is een bestand dat Google vertelt welke paginas op je website bestaan. Het is je inhoudsopgave voor zoekmachines. Zonder sitemap kan Google belangrijke content missen.

Dit artikel legt uit wat een sitemap is, waarom je er één nodig hebt, en hoe je een XML sitemap maakt en optimaliseert. Dit is waarom sitemaps cruciaal zijn voor grotere sites.

Wat is een XML sitemap?

Een XML sitemap is een gestructureerd bestand met alle URLs van je website. Het bevat metadata zoals laatst bijgewerkt, wijzigingsfrequentie, en prioriteit. Google gebruikt dit om je site efficter te crawlen.

Het verschilt van een HTML sitemap die bedoeld is voor bezoekers. XML sitemaps zijn specifiek voor zoekmachines. Ze volgen het sitemap protocol van sitemaps.org.

Een sitemap lijkt op dit:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/page</loc>
    <lastmod>2024-01-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Elke URL krijgt een entry met optionele metadata. Google gebruikt deze info om crawl priorities te bepalen. Fresh content krijgt sneller aandacht.

Waarom je een sitemap nodig hebt

Technisch kan Google je site crawlen zonder sitemap. Het volgt links van pagina naar pagina. Maar dit heeft beperkingen. Hier is waarom sitemaps helpen.

Snellere indexering: Nieuwe paginas worden sneller ontdekt. Zonder sitemap kan het weken duren. Met sitemap vaak binnen dagen. Dit is vooral belangrijk voor content sites die frequent publiceren.

Complete coverage: Paginas zonder interne links (orphan pages) blijven onzichtbaar. Sitemap zorgt dat alle paginas ontdekt worden. Geen content blijft achter.

Grote sites: Sites met duizenden paginas zijn moeilijk te crawlen. Crawl budget is beperkt. Sitemap helpt Google prioriteren. Efficient crawling maximaliseert indexering.

Nieuwe sites: Sites zonder backlinks zijn moeilijk te ontdekken. Sitemap geeft Google een startpunt. Je eerste paginas komen sneller in de index.

Rich media: Voor sites met veel images of videos helpt sitemap Google om multimedia content te indexeren. Video sitemaps specifically helpen met video SEO.

Internationaal: Voor sites met meerdere talen helpt sitemap Google begrijpen welke paginas bij welke regio horen. Especially met hreflang implementation.

Soorten sitemaps

XML sitemap (standaard): Voor reguliere webpaginas. Meest gebruikt. Support door alle grote zoekmachines. Dit is wat je basis nodig hebt.

Image sitemap: Specifiek voor afbeeldingen. Helpt images ranken in Google Images. Bevat extra metadata zoals image caption, geo-location, license. Nuttig voor fotografie sites, e-commerce met veel product images.

Video sitemap: Voor video content. Bevat video titel, beschrijving, thumbnail URL, duration. Helpt videos verschijnen in video search results. Essential voor video-heavy sites.

News sitemap: Voor nieuws sites. Special format voor Google News. Bevat publicatiedatum, keywords, genres. Moet Google News Publisher Center configuratie.

Sitemap index: Combineert meerdere sitemaps. Use als je site meer dan 50.000 URLs heeft of sitemap groter dan 50MB. Index file wijst naar individual sitemaps.

Hoe maak je een sitemap?

De makkelijkste manier hangt af van je CMS of platform. Hier zijn de gängigste opties.

WordPress: Use Yoast SEO, Rank Math, of All in One SEO plugin. Deze genereren automatisch sitemaps. Enable in plugin settings en je bent klaar. Sitemap update automatisch bij nieuwe content.

Yoast SEO sitemap URL: yoursite.com/sitemap_index.xml. Rank Math: yoursite.com/sitemap.xml. Check je plugin documentatie voor exact URL.

Shopify: Genereert automatisch een sitemap. Geen setup nodig. Find at yourstore.com/sitemap.xml. Updates automatisch bij nieuwe products. Can’t customize much but works for most stores.

Wix: Ook automatisch. Available at yoursite.com/sitemap.xml. Wix handles it in background. Limited control maar sufficient voor meeste users.

Custom sites: Use sitemap generator tools zoals Screaming Frog, XML-sitemaps.com, of build programmatically. If site is dynamic, generate sitemap dynamically via script.

Programmeren: For developers – PHP, Python, Node.js hebben libraries om sitemaps te genereren. Integrate in build process. Regenerate bij deployments.

Wat moet je sitemap bevatten?

Niet alle paginas horen in je sitemap. Quality over quantity. Include alleen indexable, valuable content. Hier is wat wel en niet.

Include:

  • Homepage (altijd)
  • Main category en service paginas
  • Product paginas (e-commerce)
  • Blog posts en artikelen
  • Landing pages voor marketing
  • Important resource paginas

Exclude:

  • Paginas met noindex meta tag
  • Thank you paginas en confirmation pages
  • Login en account paginas
  • Admin en dashboard paginas
  • Duplicate content (use canonical)
  • Low quality thin content
  • Paginas blocked by robots.txt
  • 404 en error paginas

Your sitemap should reflect wat je wilt dat Google indexeert. It’s your curated list van valuable content. Think of it as recommendation to Google.

Sitemap optimalisatie best practices

Size limits: Max 50.000 URLs per sitemap file. Max 50MB uncompressed. If je exceed dit, split in multiple sitemaps met een sitemap index. Google crawlers kunnen large files moeilijk verwerken.

URL format: Use absolute URLs altijd (https://example.com/page niet /page). Include protocol (https). Escape special characters properly. Wrong format kan sitemap parsing errors veroorzaken.

Lastmod accuracy: Only include lastmod als het accuraat is. Wrong dates confuseren Google. Better om weg te laten dan fake dates te gebruiken. Google heeft trust issues met inaccurate lastmod.

Priority en changefreq: These zijn largely ignored door Google now. Focus op content quality, niet deze tags. Google determines own priorities. Save effort, skip these.

Update frequency: Sitemap moet actueel blijven. For content sites: update bij elke nieuwe post. For static sites: update monthly. Auto-generation plugins handle this automatically.

Compression: Gzip je sitemap om bandbreedte te sparen. Google supports .xml.gz format. File size reduction can be 70-80%. Especially relevant voor large sitemaps.

Multiple sitemaps: For large sites, split by content type. Separate sitemaps voor products, blog posts, pages. Makes management easier. Combine met sitemap index.

Sitemap indienen bij Google

Sitemap maken is stap één. Indienen bij Google is stap twee. Dit zorgt dat Google je sitemap echt gebruikt.

Via Google Search Console: Ga naar Sitemaps in left menu. Enter je sitemap URL (meestal /sitemap.xml). Click Submit. Google crawlt sitemap en start indexing URLs.

Check status na 24-48 uur. Coverage report toont hoeveel URLs ontdekt en geïndexeerd. Errors appear hier ook.

Via robots.txt: Add deze regel aan je robots.txt file: Sitemap: https://yoursite.com/sitemap.xml. Google finds this automatically during crawl. Backup method naast Search Console.

Monitoring: Check Search Console sitemap status monthly. Look for errors zoals 404s, server errors, format issues. Fix promptly. Healthy sitemap = healthy indexing.

Common sitemap errors en fixes

Sitemap not found (404): Verify sitemap URL is correct. Check server configuration. Ensure file exists en is publicly accessible. Test in browser first.

URLs blocked by robots.txt: Sitemap contains URLs dat robots.txt blocked. This is contradiction. Fix robots.txt of remove URLs from sitemap. Pick one strategy.

Incorrect namespace: XML sitemap moet correct namespace declaration hebben. Use xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″ exactly. Typos break parsing.

Invalid URLs: URLs met special characters niet properly escaped. Use URL encoding. & becomes &. Google requires valid XML.

Too many URLs: Sitemap exceeds 50.000 URL limit. Split into multiple files. Create sitemap index. Paginate properly.

Noindex in sitemap: URLs with noindex meta tag shouldn’t be in sitemap. Contradictory signals. Remove from sitemap or remove noindex.

HTML sitemaps (bonus)

Naast XML sitemap kun je HTML sitemap maken voor users. Dit is andere purpose maar also valuable. Vooral for user experience en internal linking.

Wanneer gebruiken: Large e-commerce sites with categorieën. Content sites met veel artikelen. Help users navigate complex structure. Especially handig als site navigation complex is.

Hoe maken: Create dedicated page /sitemap/ with hierarchical list van all important pages. Group by category. Use descriptive link text. Update when site structure changes.

SEO value: Provides internal links naar alle pages. Spreads link equity. Helps with crawlability. Bonus indexing help bovenop XML sitemap.

Sitemap voor verschillende site types

E-commerce: Include all product en category pages. Use separate sitemap voor products. Update frequently with new products. Consider image sitemap voor product photos.

Blog: All posts in sitemap. Order by recency. Consider splitting by year for large blogs. Update automatically with new posts.

Local business: Include all service paginas en location pages. Keep sitemap lean. Quality over quantity. Focus on money pages.

News sites: Use Google News sitemap voor recent articles. Standard XML sitemap voor older content. Update multiple times daily.

SaaS: Include marketing pages, blog, help center. Exclude app pages behind login. Focus sitemap on public-facing content only.

Veelgestelde vragen

Is een sitemap verplicht voor SEO?

Niet verplicht maar highly recommended. Google kan sites crawlen zonder sitemap via links. Maar sitemap maakt het makkelijker en sneller. Especially crucial voor grote sites, nieuwe sites, of sites met poor internal linking. Risk vs benefit analysis says always use one.

Hoe vaak moet ik mijn sitemap updaten?

Automatisch bij nieuwe content is ideaal. WordPress plugins doen dit automatic. For static sites minimaal monthly. If je daily publiceert, daily updates. Google re-crawls sitemaps periodically based on change frequency.

Moet ik alle paginas in mijn sitemap zetten?

Nee. Only indexable, valuable content. Exclude utility pages, duplicates, no-indexed pages. Your sitemap is curated recommendation lijst. Think quality over quantity. Average sitemap contains 20-60% van total site pages.

Kan één sitemap schaden mijn SEO?

Alleen als het errors bevat. Broken URLs, inconsistent signals (noindex in sitemap), of format errors kunnen indexing problemen veroorzaken. Test je sitemap voordat je submit. Use validators. Monitor Search Console voor errors.

Wat is verschil tussen sitemap.xml en sitemap_index.xml?

sitemap.xml is single sitemap file. sitemap_index.xml is index dat wijst naar multiple sitemap files. Use index when je multiple sitemaps hebt (products, blog, pages separate). Index consolidates them for Google.

Helpt sitemap met rankings?

Indirect ja. Sitemap helpt niet direct met rankings maar zorgt dat content indexed wordt. Unindexed content can’t rank. Better indexing = more opportunities to rank. It’s foundation, not ranking factor itself.

Hulp nodig met sitemaps?

Sitemap configuratie is vaak straightforward maar kan complex worden voor large sites of custom implementations. Ik help met sitemap setup, optimization, en troubleshooting indexation issues.

Neem contact op voor advies over je sitemap strategie.

Erwin Verbeek is SEO- en GEO-specialist en oprichter van Online Ambition. Meer over Erwin