{"id":839,"date":"2026-02-19T11:51:00","date_gmt":"2026-02-19T11:51:00","guid":{"rendered":"https:\/\/www.linkauthority.eu\/?p=839"},"modified":"2025-08-08T19:55:10","modified_gmt":"2025-08-08T19:55:10","slug":"sitemap","status":"publish","type":"post","link":"https:\/\/www.linkauthority.eu\/en\/sitemap\/","title":{"rendered":"XML Sitemap: complete guide, templates and errors"},"content":{"rendered":"<ul>\n<li>Let me explain, in simple terms, what an XML sitemap is for and when it really helps your SEO.<\/li>\n<li>I\u2019ll show you how to create it, segment it, compress it, and then host it properly.<\/li>\n<li>I\u2019ll explain how to submit your site to Google and Bing, and the role of robots.txt.<\/li>\n<li>I share my best practices, my strong opinions, and mistakes you should definitely avoid.<\/li>\n<li>I\u2019m providing you with ready-to-use templates, checklists, and a practical FAQ.<\/li>\n<\/ul>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Contents\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Sitemap_XML_definition_utilite_et_mise_en_place\" >XML Sitemap: Definition, Purpose, and Implementation<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Quest-ce_quun_sitemap_XML\" >What is an XML sitemap?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Limites_et_notion_de_sitemap_index\" >Limitations and the concept of a sitemap index<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Types_de_sitemaps_et_quand_les_utiliser\" >Types of sitemaps and when to use them<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Sitemap_principal\" >Main Sitemap<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Sitemap_index_multi-fichiers\" >Sitemap index (multi-file)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Sitemaps_specialises\" >Specialized sitemaps<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Comment_creer_un_sitemap_XML_pas_a_pas\" >How to Create an XML Sitemap (Step-by-Step)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Ou_et_comment_soumettre_votre_sitemap\" >Where and how to submit your sitemap<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Bonnes_pratiques_et_recommandations\" >Best practices and recommendations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Erreurs_frequentes_et_comment_les_corriger\" >Common Mistakes and How to Fix Them<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#URL_404500_dans_le_sitemap\" >404\/500 URLs in the sitemap<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Pages_%E2%80%9Cnoindex%E2%80%9D_ou_canonicals_incoherents\" >\u201cnoindex\u201d pages or inconsistent canonicals<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Dates_lastmod_erronees\" >Incorrect last-modified dates<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Fichier_trop_lourd_ou_trop_long\" >File is too large or too long<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Protocoles_ou_domaines_melanges\" >Mixed protocols or domains<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Cas_avances\" >Advanced cases<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Sitemap_images\" >Image Sitemap<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Sitemap_videos\" >Video Sitemap<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#International_et_hreflang\" >International and hreflang<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Sites_e-commerce_volumineux\" >Large-scale e-commerce sites<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Outils_utiles\" >Useful tools<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#FAQ_breve\" >Quick FAQ<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#A_quoi_sert_un_sitemap_XML\" >What is an XML sitemap used for?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Faut-il_un_sitemap_pour_un_petit_site\" >Does a small website need a sitemap?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Quelle_est_la_difference_entre_sitemap_HTML_et_XML\" >What is the difference between an HTML sitemap and an XML sitemap?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Comment_corriger_%E2%80%9CURL_non_dans_le_sitemap%E2%80%9D\" >How do I fix the \u201cURL not in the sitemap\u201d error?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Comment_mettre_a_jour_automatiquement_le_sitemap\" >How do I automatically update the sitemap?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Modele_pret_a_copier\" >Ready-to-copy template<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/www.linkauthority.eu\/en\/sitemap\/#Checklist_express_avant_soumission\" >Quick checklist before submission<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Sitemap_XML_definition_utilite_et_mise_en_place\"><\/span>XML Sitemap: Definition, Purpose, and Implementation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>I start with a simple principle: a <strong>XML sitemap<\/strong> is a file that lists the URLs you want search engines to crawl, along with metadata such as <i>lastmod<\/i>. In my opinion, it\u2019s a tool that speeds up exploration, not a magic wand for indexing\u2014and that alone is huge.<\/p>\n<p><strong>When is this useful?<\/strong> Whether it\u2019s a large website, a bustling e-commerce site, a media platform with fresh content, or a site with weak internal linking, you\u2019ll benefit from faster indexing, better coverage, and fewer \u201c404\u201d errors in search engine tools.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Quest-ce_quun_sitemap_XML\"><\/span>What is an XML sitemap?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A UTF-8 text file listing your indexable canonical URLs, served with a 200 status code. It may include tags for images, videos, or international content. Not to be confused with a <i>HTML sitemap<\/i>, designed with the user in mind.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Limites_et_notion_de_sitemap_index\"><\/span>Limitations and the concept of a sitemap index<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A file is limited to <strong>50,000 URLs<\/strong> or <strong>50 MB<\/strong> uncompressed. Beyond that, I recommend using a <strong>sitemap index<\/strong> which references several segmented sitemaps\u2014clean, readable, and robust.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Types_de_sitemaps_et_quand_les_utiliser\"><\/span>Types of sitemaps and when to use them<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Sitemap_principal\"><\/span>Main Sitemap<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Include only canonical, indexable pages with a 200 status code.<\/li>\n<li>Exclude \u201cnoindex\u201d pages, duplicate variants, and noisy parameters.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Sitemap_index_multi-fichiers\"><\/span>Sitemap index (multi-file)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Segment by section: <i>pages<\/i>, <i>articles<\/i>, <i>categories<\/i>, <i>products<\/i>.<\/li>\n<li>Useful for monitoring freshness by silo and making precise assessments.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Sitemaps_specialises\"><\/span>Specialized sitemaps<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Images<\/strong> : Highlight the key visuals on the strategic pages.<\/li>\n<li><strong>Videos<\/strong> : Provide title, description, thumbnail, and duration.<\/li>\n<li><strong>News<\/strong> : for very recent content, posted frequently.<\/li>\n<li><strong>International<\/strong> : declare variants using <i>hreflang<\/i> (xhtml:link).<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Comment_creer_un_sitemap_XML_pas_a_pas\"><\/span>How to Create an XML Sitemap (Step-by-Step)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>I'm only listing canonical, indexable URLs that return a 200 status code.<\/li>\n<li>I am including <i>&lt;loc&gt;<\/i>, <i>&lt;lastmod&gt;<\/i>, and I avoid <i>&lt;changefreq&gt;<\/i>, <i>&lt;priority&gt;<\/i> which are optional and often misleading.<\/li>\n<li>I split the data if it exceeds 50,000 URLs or 50 MB, then I compress it into <i>.gz<\/i>.<\/li>\n<li>My site is hosted over HTTPS at a stable, clean URL.<\/li>\n<li>I am registering the location in <i>robots.txt<\/i> and I submit it to the search engines.<\/li>\n<li>I automate updates using my CMS, a cron job, or a CI\/CD pipeline.<\/li>\n<\/ul>\n<p><strong>Example of a minimal sitemap<\/strong> (ready to copy\u2014just edit the URLs and dates):<\/p>\n<p>&lt;? version=\u00a0\u00bb1.0&Prime; encoding=\u00a0\u00bbUTF-8&Prime;?&gt;<br \/> &lt;urlset ns=\u00a0\u00bbhttp:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9&Prime;&gt;<br \/> &nbsp;&nbsp;&lt;url&gt;<br \/> &nbsp;&nbsp;&nbsp;&nbsp;https:\/\/www.exemple.com\/<br \/> &nbsp;&nbsp;&nbsp;&nbsp;2025-08-01<br \/> &nbsp;&nbsp;&lt;\/url&gt;<br \/> &nbsp;&nbsp;&lt;url&gt;<br \/> &nbsp;&nbsp;&nbsp;&nbsp;https:\/\/www.exemple.com\/produit\/123<br \/> &nbsp;&nbsp;&nbsp;&nbsp;2025-07-15<br \/> &nbsp;&nbsp;&lt;\/url&gt;<br \/> &lt;\/urlset&gt;<\/p>\n<p><strong>Example of a sitemap index<\/strong> :<\/p>\n<p>&lt;? version=\u00a0\u00bb1.0&Prime; encoding=\u00a0\u00bbUTF-8&Prime;?&gt;<br \/> &lt;sitemapindex ns=\u00a0\u00bbhttp:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9&Prime;&gt;<br \/> &nbsp;&nbsp;&lt;sitemap&gt;<br \/> &nbsp;&nbsp;&nbsp;&nbsp;https:\/\/www.exemple.com\/sitemaps\/sitemap-pages..gz<br \/> &nbsp;&nbsp;&nbsp;&nbsp;2025-08-01<br \/> &nbsp;&nbsp;&lt;\/sitemap&gt;<br \/> &nbsp;&nbsp;&lt;sitemap&gt;<br \/> &nbsp;&nbsp;&nbsp;&nbsp;https:\/\/www.exemple.com\/sitemaps\/sitemap-articles..gz<br \/> &nbsp;&nbsp;&nbsp;&nbsp;2025-08-01<br \/> &nbsp;&nbsp;&lt;\/sitemap&gt;<br \/> &lt;\/sitemapindex&gt;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Ou_et_comment_soumettre_votre_sitemap\"><\/span>Where and how to submit your sitemap<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Declare in robots.txt<\/strong> : write <i>Sitemap: https:\/\/www.exemple.com\/sitemap.<\/i> (or the URL of your homepage).<\/li>\n<li><strong>Submit explicitly<\/strong> in the search engines' webmaster tools.<\/li>\n<li><strong>Monitor coverage<\/strong>, and then correct the reported issues.<\/li>\n<\/ul>\n<p>The reference in <i>robots.txt<\/i> It\u2019s not required, but it helps. In my opinion, direct submission often speeds up the indexing process, especially for new websites.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Bonnes_pratiques_et_recommandations\"><\/span>Best practices and recommendations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Include only URLs with a 200 status code, canonical URLs, and URLs that are not marked as \u201cnoindex\u201d.<\/li>\n<li>Refresh <i>&lt;lastmod&gt;<\/i> only when there are actual changes to the content.<\/li>\n<li>Always use absolute paths, UTF-8, and HTTPS everywhere.<\/li>\n<li>Segmenting by content type for tracking is a more elegant and clearer approach.<\/li>\n<li>Automate generation and publication to prevent human error.<\/li>\n<li>Regularly validate the syntax using an XML validator\u2014a simple yet essential step.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Erreurs_frequentes_et_comment_les_corriger\"><\/span>Common Mistakes and How to Fix Them<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"URL_404500_dans_le_sitemap\"><\/span>404\/500 URLs in the sitemap<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I clean up the list, set up monitoring, and never include broken URLs.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Pages_%E2%80%9Cnoindex%E2%80%9D_ou_canonicals_incoherents\"><\/span>\u201cnoindex\u201d pages or inconsistent canonicals<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I align the canonical tag with the listed URL and confidently exclude \u201cnoindex\u201d pages.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Dates_lastmod_erronees\"><\/span>Incorrect last-modified dates<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I avoid using future dates or dates copied from elsewhere; I only update the information when there\u2019s an actual change.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Fichier_trop_lourd_ou_trop_long\"><\/span>File is too large or too long<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I cut out and use a <strong>sitemap index<\/strong>, ...that is the most sustainable approach.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Protocoles_ou_domaines_melanges\"><\/span>Mixed protocols or domains<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I standardize everything to HTTPS and separate multi-domain sites using distinct sitemaps, without any approximations.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cas_avances\"><\/span>Advanced cases<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Sitemap_images\"><\/span>Image Sitemap<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I\u2019m adding image tags via URL to display key visuals, which is useful for exploring rich media.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Sitemap_videos\"><\/span>Video Sitemap<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I include the title, description, thumbnail, and duration, and I focus on pages where the video is the main feature, not just a secondary element.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"International_et_hreflang\"><\/span>International and hreflang<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I declare the language variants via <i>xhtml:link rel=\u00bbalternate\u00bb hreflang<\/i>, to avoid regional ambiguities.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Sites_e-commerce_volumineux\"><\/span>Large-scale e-commerce sites<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I prioritize strategic categories and active products; I exclude filtered pages that cannot be indexed; I maintain a clear scope.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Outils_utiles\"><\/span>Useful tools<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>CMS Plugins<\/strong> : automatically generated, updated with each post.<\/li>\n<li><strong>CLI scripts<\/strong> : Generate sitemaps from your build, with quality control.<\/li>\n<li><strong>Static generators<\/strong> : Sitemaps generated at compile time, stable and fast.<\/li>\n<li><strong>Validators<\/strong> : XML linters and HTTP status checkers.<\/li>\n<li><strong>Scheduled jobs<\/strong> : cron or CI\/CD pipeline, for scheduled updates.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"FAQ_breve\"><\/span>Quick FAQ<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"A_quoi_sert_un_sitemap_XML\"><\/span>What is an XML sitemap used for?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To quickly direct robots to your important URLs. I see it as a flight plan\u2014concise and reliable.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Faut-il_un_sitemap_pour_un_petit_site\"><\/span>Does a small website need a sitemap?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Often, yes\u2014it\u2019s even simple. For a fully optimized microsite, it\u2019s optional, but I recommend it; it\u2019s inexpensive.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Quelle_est_la_difference_entre_sitemap_HTML_et_XML\"><\/span>What is the difference between an HTML sitemap and an XML sitemap?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>HTML helps your visitors; XML helps search engines. Two audiences, two goals, a useful synergy.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Comment_corriger_%E2%80%9CURL_non_dans_le_sitemap%E2%80%9D\"><\/span>How do I fix the \u201cURL not in the sitemap\u201d error?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I add the canonical URL to the correct file, regenerate it, submit it, and then check the coverage, taking my time.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Comment_mettre_a_jour_automatiquement_le_sitemap\"><\/span>How do I automatically update the sitemap?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I set up the CMS or deployment to regenerate content every time it goes live, with a daily cron job as a backup.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Modele_pret_a_copier\"><\/span>Ready-to-copy template<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&lt;? version=\u00a0\u00bb1.0&Prime; encoding=\u00a0\u00bbUTF-8&Prime;?&gt;<br \/> &lt;urlset ns=\u00a0\u00bbhttp:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9&Prime;&gt;<br \/> &nbsp;&nbsp;https:\/\/www.votresite.com\/2025-08-01<br \/> &nbsp;&nbsp;https:\/\/www.votresite.com\/article\/exemple2025-07-30<br \/> &lt;\/urlset&gt;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Checklist_express_avant_soumission\"><\/span>Quick checklist before submission<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>200 status codes, canonical tags, no \u201cnoindex\u201d tags.<\/li>\n<li>realistic, updated when actual changes occur.<\/li>\n<li>Files with fewer than 50,000 URLs or 50 MB; otherwise, index.<\/li>\n<li>.gz compression enabled, HTTPS hosting.<\/li>\n<li>Line <i>Sitemap:<\/i> added to robots.txt.<\/li>\n<li>Submission completed, coverage verified, issues resolved.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>I\u2019ll explain, in simple terms, what an XML sitemap is for and when it really helps your SEO. I\u2019ll show you how to create it, segment it, compress it, and then host it properly. I\u2019ll walk you through submitting it to Google and Bing, and explain the role of robots.txt. I\u2019ll share my best practices, my strong opinions, and mistakes to avoid\u2026<\/p>","protected":false},"author":1,"featured_media":841,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","saswp_custom_schema_field":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-839","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/posts\/839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/comments?post=839"}],"version-history":[{"count":0,"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/posts\/839\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/media\/841"}],"wp:attachment":[{"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/media?parent=839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/categories?post=839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linkauthority.eu\/en\/wp-json\/wp\/v2\/tags?post=839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}