{"id":648,"date":"2025-01-26T08:23:13","date_gmt":"2025-01-26T08:23:13","guid":{"rendered":"https:\/\/himanshu-verma.com\/blog\/?p=648"},"modified":"2025-04-19T16:23:48","modified_gmt":"2025-04-19T16:23:48","slug":"xml-sitemaps-for-wordpress","status":"publish","type":"post","link":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/","title":{"rendered":"XML Sitemaps for WordPress"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What is Sitemap<\/h2>\n\n\n\n<p>A sitemap is an XML file where you provide information about your webpages, videos, and other files on your site, and the link between them.<br>Search engines like Google, Bing, etc read this file to crawl your site more efficiently.<\/p>\n\n\n\n<p>A sitemap tells the search engines which pages and files you think are important in your site and also provides valuable information about these files. For example, when the page was last updated and any alternate language versions of the page.<\/p>\n\n\n\n<p>XML sitemaps are used by search engine bots to more efficiently \u2018crawl\u2019 your site\u2019s content. By creating one for your website, you can potentially make your content more visible on SERP \u2013 Search Engine Result Page<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Create a Sitemap in WordPress?<\/h2>\n\n\n\n<p>There are several ways to create a <strong>sitemap.xml in WordPress<\/strong>. We will show you three popular methods to create an XML sitemap in WordPress, and you can choose one that suits you.<\/p>\n\n\n\n<p>How to create an XML sitemap in WordPress without a plugin<br>Creating an XML sitemap in WordPress using All in One SEO<br>Creating an XML sitemap in WordPress using Yoast SEO<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. How to Create an XML Sitemap in WordPress without a Plugin<\/h2>\n\n\n\n<p>This allows you to automatically create an XML sitemap in WordPress without using a plugin. You can simply add <strong>wp-sitemap.xml<\/strong> at the end of your domain name, and WordPress will show you the default XML sitemap.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Creating an XML Sitemap in WordPress using All in One SEO<\/h2>\n\n\n\n<p>The easiest and fastest way to create an XML sitemap in WordPress is by using the&nbsp;<strong>All in One SEO plugin<\/strong>&nbsp;for WordPress.<br>It is the best WordPress SEO plugin on the market offering you a comprehensive set of tools to optimize your blog posts for SEO.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Find the Plugin option in your WordPress dashboard and click on it<\/li>\n\n\n\n<li>After that click on Add new plugin button search All in one SEO plugin in the search box<\/li>\n\n\n\n<li>Click on the Install now button<\/li>\n\n\n\n<li>and then click on the Active button<\/li>\n<\/ol>\n\n\n\n<p>After activation, go to the All in one SEO sitemap page to review the sitemap setting<\/p>\n\n\n\n<p>By default, All in One SEO will enable the Sitemap feature for you and replace the basic WordPress sitemaps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Creating an XML Sitemap in WordPress using Yoast SEO<\/h2>\n\n\n\n<p>If you are using Yoast SEO as your WordPress SEO plugin, then it also automatically turns on XML sitemaps for you.<\/p>\n\n\n\n<p>First, you need to install and activate the Yoast SEO plugin. (plugin installation process always be same)<\/p>\n\n\n\n<p>Upon activation, go to the SEO \u00bb General page and switch to the \u2018Features\u2019 tab. From here, you need to scroll down to the \u2018XML Sitemap\u2019 option and make sure that it is turned on.<\/p>\n\n\n\n<p>Next, click on the save changes button to store your changes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Sitemap A sitemap is an XML file where you provide information about your webpages, videos, and other files on your site,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":651,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_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,"footnotes":""},"categories":[16],"tags":[51,50,52],"class_list":["post-648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo","tag-all-in-one-seo","tag-sitemap","tag-yoast-seo"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>XML Sitemaps for WordPress - Himanshu Verma<\/title>\n<meta name=\"description\" content=\"A complete guide that explains what is an XML sitemap is, How to create an XML sitemap for WordPress and more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"XML Sitemaps for WordPress - Himanshu Verma\" \/>\n<meta property=\"og:description\" content=\"A complete guide that explains what is an XML sitemap is, How to create an XML sitemap for WordPress and more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Himanshu Verma\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/himanshu.verma.return\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/himanshu.verma.return\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-26T08:23:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-19T16:23:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png\" \/>\n\t<meta property=\"og:image:width\" content=\"819\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Himanshu Verma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/x.com\/Himanshu_return\" \/>\n<meta name=\"twitter:site\" content=\"@Himanshu_return\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Himanshu Verma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/\"},\"author\":{\"name\":\"Himanshu Verma\",\"@id\":\"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/6798d7c1f2db520ef45527f10f8d0c0f\"},\"headline\":\"XML Sitemaps for WordPress\",\"datePublished\":\"2025-01-26T08:23:13+00:00\",\"dateModified\":\"2025-04-19T16:23:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/\"},\"wordCount\":471,\"publisher\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/6798d7c1f2db520ef45527f10f8d0c0f\"},\"image\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png\",\"keywords\":[\"All in One SEO\",\"sitemap\",\"Yoast SEO\"],\"articleSection\":[\"SEO\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/\",\"url\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/\",\"name\":\"XML Sitemaps for WordPress - Himanshu Verma\",\"isPartOf\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png\",\"datePublished\":\"2025-01-26T08:23:13+00:00\",\"dateModified\":\"2025-04-19T16:23:48+00:00\",\"description\":\"A complete guide that explains what is an XML sitemap is, How to create an XML sitemap for WordPress and more.\",\"breadcrumb\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#primaryimage\",\"url\":\"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png\",\"contentUrl\":\"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png\",\"width\":819,\"height\":410},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/himanshu-verma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"XML Sitemaps for WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/himanshu-verma.com\/blog\/#website\",\"url\":\"https:\/\/himanshu-verma.com\/blog\/\",\"name\":\"Himanshu Verma\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/6798d7c1f2db520ef45527f10f8d0c0f\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/himanshu-verma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/6798d7c1f2db520ef45527f10f8d0c0f\",\"name\":\"Himanshu Verma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2024\/12\/himanshu-verma.png\",\"contentUrl\":\"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2024\/12\/himanshu-verma.png\",\"width\":2308,\"height\":2575,\"caption\":\"Himanshu Verma\"},\"logo\":{\"@id\":\"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Experienced Digital Marketer and SEO Specialist with a proven track record spanning 5 years. Crafting impactful online strategies to enhance brand visibility and drive results. Proficient in SEO techniques, content optimization, and analytics-driven decision-making. Let's connect and explore opportunities to elevate your digital presence together! \ud83d\ude80 #DigitalMarketing #SEOExpert #ResultsDriven Also a good experience in frontend website development, handling server(AWS and cPanel) and DNS Configuration.\",\"sameAs\":[\"https:\/\/himanshu-verma.com\/blog\",\"https:\/\/www.facebook.com\/himanshu.verma.return\",\"https:\/\/www.instagram.com\/himanshuverma_2001\/\",\"https:\/\/www.linkedin.com\/in\/himanshu-verma-964276141\/\",\"https:\/\/x.com\/https:\/\/x.com\/Himanshu_return\"],\"url\":\"https:\/\/himanshu-verma.com\/blog\/author\/himanshu_verma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"XML Sitemaps for WordPress - Himanshu Verma","description":"A complete guide that explains what is an XML sitemap is, How to create an XML sitemap for WordPress and more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"XML Sitemaps for WordPress - Himanshu Verma","og_description":"A complete guide that explains what is an XML sitemap is, How to create an XML sitemap for WordPress and more.","og_url":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/","og_site_name":"Himanshu Verma","article_publisher":"https:\/\/www.facebook.com\/himanshu.verma.return","article_author":"https:\/\/www.facebook.com\/himanshu.verma.return","article_published_time":"2025-01-26T08:23:13+00:00","article_modified_time":"2025-04-19T16:23:48+00:00","og_image":[{"width":819,"height":410,"url":"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png","type":"image\/png"}],"author":"Himanshu Verma","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/x.com\/Himanshu_return","twitter_site":"@Himanshu_return","twitter_misc":{"Written by":"Himanshu Verma","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#article","isPartOf":{"@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/"},"author":{"name":"Himanshu Verma","@id":"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/6798d7c1f2db520ef45527f10f8d0c0f"},"headline":"XML Sitemaps for WordPress","datePublished":"2025-01-26T08:23:13+00:00","dateModified":"2025-04-19T16:23:48+00:00","mainEntityOfPage":{"@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/"},"wordCount":471,"publisher":{"@id":"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/6798d7c1f2db520ef45527f10f8d0c0f"},"image":{"@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png","keywords":["All in One SEO","sitemap","Yoast SEO"],"articleSection":["SEO"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/","url":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/","name":"XML Sitemaps for WordPress - Himanshu Verma","isPartOf":{"@id":"https:\/\/himanshu-verma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png","datePublished":"2025-01-26T08:23:13+00:00","dateModified":"2025-04-19T16:23:48+00:00","description":"A complete guide that explains what is an XML sitemap is, How to create an XML sitemap for WordPress and more.","breadcrumb":{"@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#primaryimage","url":"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png","contentUrl":"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2025\/01\/XML_Sitemaps_WordPress_819x410.png","width":819,"height":410},{"@type":"BreadcrumbList","@id":"https:\/\/himanshu-verma.com\/blog\/xml-sitemaps-for-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/himanshu-verma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"XML Sitemaps for WordPress"}]},{"@type":"WebSite","@id":"https:\/\/himanshu-verma.com\/blog\/#website","url":"https:\/\/himanshu-verma.com\/blog\/","name":"Himanshu Verma","description":"","publisher":{"@id":"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/6798d7c1f2db520ef45527f10f8d0c0f"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/himanshu-verma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/6798d7c1f2db520ef45527f10f8d0c0f","name":"Himanshu Verma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2024\/12\/himanshu-verma.png","contentUrl":"https:\/\/himanshu-verma.com\/blog\/wp-content\/uploads\/2024\/12\/himanshu-verma.png","width":2308,"height":2575,"caption":"Himanshu Verma"},"logo":{"@id":"https:\/\/himanshu-verma.com\/blog\/#\/schema\/person\/image\/"},"description":"Experienced Digital Marketer and SEO Specialist with a proven track record spanning 5 years. Crafting impactful online strategies to enhance brand visibility and drive results. Proficient in SEO techniques, content optimization, and analytics-driven decision-making. Let's connect and explore opportunities to elevate your digital presence together! \ud83d\ude80 #DigitalMarketing #SEOExpert #ResultsDriven Also a good experience in frontend website development, handling server(AWS and cPanel) and DNS Configuration.","sameAs":["https:\/\/himanshu-verma.com\/blog","https:\/\/www.facebook.com\/himanshu.verma.return","https:\/\/www.instagram.com\/himanshuverma_2001\/","https:\/\/www.linkedin.com\/in\/himanshu-verma-964276141\/","https:\/\/x.com\/https:\/\/x.com\/Himanshu_return"],"url":"https:\/\/himanshu-verma.com\/blog\/author\/himanshu_verma\/"}]}},"_links":{"self":[{"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/posts\/648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/comments?post=648"}],"version-history":[{"count":1,"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/posts\/648\/revisions"}],"predecessor-version":[{"id":649,"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/posts\/648\/revisions\/649"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/media\/651"}],"wp:attachment":[{"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/media?parent=648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/categories?post=648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himanshu-verma.com\/blog\/wp-json\/wp\/v2\/tags?post=648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}