{"id":763,"date":"2021-09-01T10:00:00","date_gmt":"2021-09-01T10:00:00","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/how-to-create-wordpress-sitemap\/"},"modified":"2025-12-02T15:29:55","modified_gmt":"2025-12-02T15:29:55","slug":"how-to-create-wordpress-sitemap","status":"publish","type":"post","link":"\/ca\/tutorials\/how-to-create-wordpress-sitemap","title":{"rendered":"WordPress sitemap: what it is and how to create one"},"content":{"rendered":"<p>Creating a WordPress sitemap is one of the many ways to optimize a WordPress website for SEO. By using a WordPress sitemap, website visitors and search engine bots can see the structure of a site better. <\/p><p>When you&rsquo;re familiar with WordPress basics, understanding sitemaps can help develop your website further. WordPress sitemaps create a better user experience for visitors and provide accurate information for search engines to crawl.<\/p><p>This article will provide more details on the benefits of generating sitemaps for WordPress websites. We will also explain the differences between an XML and HTML sitemap and how both of them help optimize a site.<\/p><p>In addition, you will learn how to generate both sitemaps for your WordPress site and submit a sitemap to Google and Bing.<\/p><p>Without further ado, let&rsquo;s get started.<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-is-a-wordpress-sitemap-and-why-do-you-need-it\">What Is a WordPress Sitemap and Why Do You Need It?<\/h2><p>A WordPress sitemap is a list of all the public URLs on a WordPress website. Sitemaps help visitors and search engines navigate through all of the URLs in a site faster and easier. They can also show the relationship between different pages and the importance of each page.  Read our guide if you want to learn more about <a href=\"\/ca\/tutorials\/what-is-a-sitemap\">what is sitemap<\/a> in general.<\/p><p>A WordPress sitemap helps website owners by:<\/p><ul class=\"wp-block-list\">\n<li><strong>Notifying search engines <\/strong>&ndash; alerts search engine crawlers and shows visitors when there are new posts on a website. WordPress sitemaps also inform search engines about pages on a site that they have not indexed before.<\/li>\n\n\n\n<li><strong>Easy navigation <\/strong>&ndash; shows the structure and hierarchy of web pages by providing a complete list of custom URLs.<\/li>\n\n\n\n<li><strong><a href=\"\/ca\/tutorials\/what-is-seo\/\">Search engine optimization<\/a> <\/strong>&ndash; helps optimize a website by notifying search engines that the website does not have duplicate content. Sitemaps also make a website more user-friendly, which improves its ranking on search engine page results (SERPs).<\/li>\n<\/ul><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-wordpress-hosting\" href=\"\/ca\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner-1024x300.png\" alt=\"\" class=\"wp-image-111781\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-differences-between-an-xml-and-html-wordpress-sitemap\">Differences Between an XML and HTML WordPress Sitemap<\/h2><p>There are two different types of WordPress sitemap: an <strong>XML sitemap<\/strong> and an <strong>HTML sitemap<\/strong>. Each type plays a significant role in optimizing a website in its own different ways.<\/p><p>When submitting a WordPress sitemap to search engines, use an Extensible Markup Language (XML) sitemap. With this language, search engine bots will find content and information easier. XML sitemaps also provide additional metadata and context of each URL.<\/p><p>Meanwhile, HTML sitemaps provide links representing all web pages using <a href=\"\/ca\/tutorials\/what-is-html\">HTML format<\/a>. This functionality presents all public pages on a site in a more user-friendly way, making it easier to navigate.<\/p><p>The main difference between the two sitemaps is that an XML sitemap is located in a separate URL and focuses on <strong>search engines<\/strong>. Meanwhile, an HTML sitemap can be included in the web pages for <strong>website visitors<\/strong>.<\/p><p>We recommend having both WordPress sitemaps to guarantee an optimal user experience, which will increase your search engine ranking as a result.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-generate-a-wordpress-xml-sitemap-manually\">How to Generate a WordPress XML Sitemap Manually?<\/h2><p>Generating a WordPress XML sitemap manually will help to specify the exact information search engine crawlers will learn. However, it will take more time to create a WordPress sitemap manually, especially for websites with more than 10 URLs.<\/p><p>To create WordPress sitemaps manually, open a text editor, such as Windows Notepad, or Nano for Linux and macOS users. Keep note that the file needs to be in XML format. In it, include the URL of your website, and all the necessary information search engines should know.<\/p><p>Here is an example of an XML sitemap:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;urlset xmlns=\"http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\"&gt;\n   &lt;url&gt;\n      &lt;loc&gt;http:\/\/www.example.com\/&lt;\/loc&gt;\n      &lt;lastmod&gt;2021-07-18&lt;\/lastmod&gt;\n      &lt;changefreq&gt;monthly&lt;\/changefreq&gt;\n      &lt;priority&gt;0.5&lt;\/priority&gt;\n   &lt;\/url&gt;\n&lt;\/urlset&gt;\n<\/pre><p>In this sitemap, there are both required and optional tags. Below is an explanation of the required tags:<\/p><ul class=\"wp-block-list\">\n<li><strong>&lt;urlset&gt;<\/strong> &ndash; reference the current protocol standard. Keep the URL in the example for your XML sitemap file.<\/li>\n\n\n\n<li><strong>&lt;url&gt;<\/strong> &ndash; parent tag for the URL. The rest of the tags are included inside this tag.<\/li>\n\n\n\n<li><strong>&lt;loc&gt;<\/strong> &ndash; URL of the website. It must start with the protocol, such as HTTP, and end with a trailing slash if your web server uses it. The value for this tag must be under 2,048 characters.<\/li>\n<\/ul><p>In addition, some of the optional tags to consider are:<\/p><ul class=\"wp-block-list\">\n<li><strong>&lt;lastmod&gt; <\/strong>&ndash; shows the last modification time of the website. Use the YYYY-MM-DD format for this tag.<\/li>\n\n\n\n<li><strong>&lt;changefreq&gt;<\/strong> &ndash; reveals how frequently the website makes changes. The valid values are: always, hourly, daily, weekly, monthly, yearly, and never.<\/li>\n\n\n\n<li><strong>&lt;priority&gt;<\/strong> &ndash; let search engines know which URLs are most important for the crawlers. The valid values range from 0.0 to 1.0, with the default 0.5.<\/li>\n<\/ul><p>Once you have created an XML sitemap file, upload it to your WordPress root folder. Then, access the sitemap URL to check the WordPress sitemap. Usually, the URL follows this format:<\/p><p><code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">http:\/\/example.com\/sitemap.xml<\/code><\/p><p>After finding the sitemap URL, validate it with the <a href=\"https:\/\/www.xml-sitemaps.com\/validate-xml-sitemap.html\" target=\"_blank\" rel=\"noopener\">sitemap validator<\/a>. Invalid sitemap files might hamper WordPress websites. So, it is essential to check first with a validator before submitting XML sitemaps to search engines.<\/p><p>To use the sitemap validator, enter the sitemap URL on the validator and click on the <strong>VALIDATE SITEMAP<\/strong> button.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemap-validator.png\"><img loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"462\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemap-validator.png\" alt=\"Clicking Validate Sitemap in the XML Sitemap Validator.\" class=\"wp-image-35710\"  sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/a><\/figure><\/div><p>If the WordPress sitemap is valid, it will show a <strong>No issues detected<\/strong> banner.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-validation-results.png\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"480\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-validation-results.png\" alt=\"The XML validation results window informing that no issues were detected.\" class=\"wp-image-35711\"  sizes=\"auto, (max-width: 767px) 100vw, 767px\" \/><\/a><\/figure><\/div><p>However, if the WordPress sitemap is invalid, it will show a <strong>Problem detected<\/strong> warning message.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-validation-results-problem.png\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"494\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-validation-results-problem.png\" alt=\"The XML validation results window informing that a problem was detected.\" class=\"wp-image-35713\"  sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-how-to-generate-a-wordpress-xml-sitemap-using-a-plugin\">How to Generate a WordPress XML Sitemap Using a Plugin?<\/h2><p>To automatically create a sitemap in WordPress, use sitemap plugins. It is a faster and more reliable way to generate a WordPress sitemap.<\/p><p>By <a href=\"\/ca\/tutorials\/wordpress\/how-to-install-wordpress-plugins\">installing a WordPress plugin<\/a>, users will receive additional features and functionalities to help optimize their website. The plugins also help to update WordPress sitemaps when any changes are made automatically.<\/p><p>Below you&rsquo;ll find guides on how to generate a WordPress XML sitemap with two of the best WordPress plugins for the job.<\/p><h3 class=\"wp-block-heading\" id=\"h-generate-a-wordpress-sitemap-using-yoast-seo\">Generate a WordPress Sitemap Using <a href=\"https:\/\/wordpress.org\/plugins\/wordpress-seo\/\" target=\"_blank\" rel=\"noopener\">Yoast SEO<\/a><\/h3><p>Yoast plugin is one of the most <a href=\"\/ca\/tutorials\/best-seo-plugins-wordpress\">popular SEO plugins<\/a> for WordPress. This SEO plugin takes care of all the technical aspects related to optimizing WordPress content, including the creation of XML sitemaps.<\/p><p>Follow these steps to create your own WordPress sitemap:<\/p><ol class=\"wp-block-list\">\n<li>Head to WordPress <strong>Dashboard -&gt; Plugins -&gt; Add New<\/strong> and look for the Yoast SEO plugin. Click on <strong>Install Now<\/strong> and <strong>Activate<\/strong> the plugin&rsquo;s free version.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Yoast-SEO.png\"><img loading=\"lazy\" decoding=\"async\" width=\"578\" height=\"283\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Yoast-SEO.png\" alt=\"Clicking on the Install Now button to get the Yoast SEO plugin.\" class=\"wp-image-35714\"  sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>Go to the <strong>SEO<\/strong> menu on the dashboard, and select <strong>General<\/strong>. Then, enter the <strong>Features<\/strong> tab to see the settings.<\/li>\n<\/ol><figure class=\"wp-block-image size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/SEO-general.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"759\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/SEO-general-1024x759.png\" alt=\"Enetering the Features tab in the General settings of Yoast SEO.\" class=\"wp-image-35715\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><ol class=\"wp-block-list\" start=\"3\">\n<li>Under the features tab, select the <strong>On <\/strong>button below <strong>XML sitemaps<\/strong> and click on the <strong>Save changes<\/strong> button.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemaps-on.png\"><img loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"546\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemaps-on.png\" alt=\"Selecting On below the XML sitemaps and clicking on the save changes button.\" class=\"wp-image-35716\"  sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"4\">\n<li>To check the XML sitemap link, click on the <strong>question mark icon<\/strong> and select the <strong>See the XML Sitemap<\/strong> option. <\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/check-XML-sitemaps.png\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"234\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/check-XML-sitemaps.png\" alt=\"Clicking on the question mark icon to check the XML sitemap link,\" class=\"wp-image-35717\"  sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"5\">\n<li>Yoast SEO will redirect you to the XML sitemap URL. There, you will see more information about each URL on your site.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemap-url.png\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"280\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemap-url.png\" alt=\"More information about each XML sitemap's URL,\" class=\"wp-image-35718\"  sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/a><\/figure><\/div><p>In addition, Yoast SEO has the <strong>Webmaster Tools<\/strong> setting which can connect a WordPress website to different search engines right away. By doing so, it will be easier to submit and notify of updates to various search engines.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Yoast-SEO-webmaster-tools.png\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"629\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Yoast-SEO-webmaster-tools.png\" alt=\"Clicking on the Webmaster Tools tab in the general settings of the Yoast SEO plugin,\" class=\"wp-image-35719\"  sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/a><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-google-xml-sitemaps\"><a href=\"https:\/\/wordpress.org\/plugins\/google-sitemap-generator\/installation\/\" target=\"_blank\" rel=\"noopener\">Google XML Sitemaps<\/a><\/h3><p>The Google XML Sitemaps plugin is great for those who prefer advanced sitemap settings and the option to submit one to search engines right away.<\/p><p>Another notable XML sitemap feature is its automatic notifications to major search engines when new content is posted or published. Follow the steps below to use the plugin:<\/p><ol class=\"wp-block-list\">\n<li>Install the XML Sitemaps plugin from the WordPress plugin directory.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemaps-install.png\"><img loading=\"lazy\" decoding=\"async\" width=\"567\" height=\"251\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemaps-install.png\" alt=\"Clicking on the Install Now button to get the XML Sitemaps plugin,\" class=\"wp-image-35720\"  sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>Open the configuration page by going to <strong>Settings<\/strong> -&gt; <strong>XML-Sitemap<\/strong>. As the plugin automatically generates an XML sitemap for a WordPress site, you will see the sitemap URL there.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemaps-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"369\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemaps-settings-1024x369.png\" alt=\"Going to the XML Sitemaps plugin's setting to see the sitemap URL,\" class=\"wp-image-35721\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>Click on the URL to see the <strong>XML Sitemap Index<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemap-index.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"295\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemap-index-1024x295.png\" alt=\"The XML Sitemap Index,\" class=\"wp-image-35722\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>To notify search engines, head to <strong>Settings<\/strong> -&gt; <strong>XML-Sitemap <\/strong>and find the <strong>Basic Options<\/strong> section. Check off the first two boxes to notify both Google and Bing, and click on the <strong>Update options<\/strong> button at the bottom of the page.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemap-basic-options.png\"><img loading=\"lazy\" decoding=\"async\" width=\"642\" height=\"253\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/XML-sitemap-basic-options.png\" alt=\"The Basic Options section where we check off the first two boxes,\" class=\"wp-image-35723\"  sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/a><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-how-to-submit-a-wordpress-xml-sitemap-to-search-engines\">How to Submit a WordPress XML Sitemap to Search Engines?<\/h2><p>After generating a WordPress sitemap, submit it to search engines like Google and Bing to get indexed. Note that while search engines will still crawl websites without manual submission, submitting WordPress XML sitemaps to search engines will still provide additional benefits:<\/p><ul class=\"wp-block-list\">\n<li><strong>SEO <\/strong>&ndash; sitemaps notify search engines when there are changes or new content, which helps your page remain updated in the search engine results.<\/li>\n\n\n\n<li><strong>Accuracy <\/strong>&ndash; with the help of a WordPress sitemap, a search engine will only index the most accurate and relevant information of a site.<\/li>\n\n\n\n<li><strong>Free <\/strong>&ndash; there is no cost to generate a WordPress sitemap, no matter the method.<\/li>\n\n\n\n<li><strong>Organic traffic<\/strong> &ndash; generate more visits by ranking higher on SERPs.<\/li>\n<\/ul><p><div><p class=\"important\"><strong>Important!<\/strong> Before submitting a WordPress site to search engines, you need an XML sitemap URL.<\/p><\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-submit-an-xml-sitemap-to-google\">Submit an XML Sitemap to Google<\/h3><p>Submitting a WordPress sitemap to Google will <a href=\"\/ca\/tutorials\/drive-traffic-to-your-website\">drive higher traffic<\/a> and increase awareness of a website. Website owners can do so by using <a href=\"https:\/\/search.google.com\/search-console\/\" target=\"_blank\" rel=\"noopener\">Google Search Console<\/a>.<\/p><p>Log into your Google account and follow the steps below:<\/p><ol class=\"wp-block-list\">\n<li>Select the property type to start. To get information on all URLs across the domain, select the <strong>Domain<\/strong> option. Enter your domain name and click on the <strong>CONTINUE<\/strong> button.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Google-search-console.png\"><img loading=\"lazy\" decoding=\"async\" width=\"787\" height=\"646\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Google-search-console.png\" alt=\"The Welcome to Google Search Console window where we select the Domain option.\" class=\"wp-image-35724\"  sizes=\"auto, (max-width: 787px) 100vw, 787px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>Verify the domain by adding the <strong>TXT record<\/strong> from the Google Search Console to your domain name system (DNS) server. With Hostinger, head to <strong>hPanel -&gt; <a href=\"\/ca\/tutorials\/how-to-use-hostinger-dns-zone-editor\">DNS Zone Editor<\/a><\/strong> and add the record under the <strong>Manage DNS records <\/strong>box.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/DNS-zone-editor.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"341\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/DNS-zone-editor-1024x341.png\" alt=\"Screenshot from DNS Zone Editor showing where to add record.\" class=\"wp-image-35725\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>Head back to the Google Search Console account and select <strong>Sitemaps<\/strong> on the left sidebar menu. There, insert your sitemap URL under the <strong>Add a new sitemap <\/strong>section and click <strong>SUBMIT<\/strong> to finalize the process.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Google-search-console-sitemaps.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"392\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Google-search-console-sitemaps-1024x392.png\" alt=\"Screenshot from Google Search Console showing where to add a new sitemap.\" class=\"wp-image-35726\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>To check the status, head to <strong>Sitemaps -&gt; Submitted sitemaps<\/strong>. Google Search Console will share the status and give feedback on optimizing your site using <a href=\"https:\/\/developers.google.com\/search\" target=\"_blank\" rel=\"noopener\">documentation<\/a> and resources.<\/p><h3 class=\"wp-block-heading\" id=\"h-submit-a-wordpress-xml-sitemap-to-bing\">Submit a WordPress XML Sitemap to Bing<\/h3><p>Bing is <a href=\"https:\/\/financesonline.com\/bing-statistics\/\" target=\"_blank\" rel=\"noopener\">another popular search engine<\/a> to submit a website to since other search engines, such as Yahoo and DuckDuckGo, also use its search index for rankings. Website owners can use the Bing Webmaster Tools for immediate crawling and indexing.<\/p><p>Follow the steps below to submit WordPress XML sitemaps to Bing:<\/p><ol class=\"wp-block-list\">\n<li>Use Microsoft, Google, or Facebook accounts to sign in to <a href=\"https:\/\/www.bing.com\/webmasters\/about\" target=\"_blank\" rel=\"noopener\">Bing Webmaster Tools<\/a>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Bing-webmaster-tools.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"517\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/Bing-webmaster-tools-1024x517.png\" alt=\"Choosing an account to sign in to Bing Webmaster Tools\" class=\"wp-image-35727\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>Under the <strong>Add your site manually<\/strong> section, add your website&rsquo;s URL. If the URL has been verified on Google Search Console, sign in using your Google account and click the <strong>Import<\/strong> button.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/welcome-bing-webmaster-tool.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"541\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/welcome-bing-webmaster-tool-1024x541.png\" alt=\"Welcome to Bing Webmaster Tools window where we click on the import button,\" class=\"wp-image-35728\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>Select <strong>Sitemaps -&gt; Submit Sitemaps<\/strong> and add the sitemap URL to notify the tool to index your site.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/submit-sitemap.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"391\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/submit-sitemap-1024x391.png\" alt=\"Clicking on the Submit sitemap button.\" class=\"wp-image-35729\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><p>To explore the status of the indexing, click<strong> Site Explorer<\/strong> on the left sidebar menu.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-create-an-html-sitemap-page-for-wordpress\">How to Create an HTML Sitemap Page for WordPress?<\/h2><p>As mentioned before, the WordPress HTML sitemap is an essential part of SEO. It provides user-friendly navigation for website visitors and establishes a clear structure for the web pages.<\/p><p>The easiest way to create an HTML sitemap for a WordPress site is by installing a plugin. We recommend using the <a href=\"https:\/\/wordpress.org\/plugins\/wp-sitemap-page\/\" target=\"_blank\" rel=\"noopener\">WP Sitemap Page<\/a>:<\/p><ol class=\"wp-block-list\">\n<li>Install WP Sitemap Page and activate the plugin.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/WP-sitemap-page.png\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"259\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/WP-sitemap-page.png\" alt=\"Clicking on the Install Now button to get the WP Sitemap Page plugin.\" class=\"wp-image-35730\"  sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>Head to <strong>Dashboard -&gt; Pages -&gt; Add New<\/strong> to create a new page on a WordPress site. To add the WordPress sitemap to an existing page, select the page under the <strong>Pages <\/strong>section. That said, we do recommend creating a new page instead.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/pages-add-new.png\"><img loading=\"lazy\" decoding=\"async\" width=\"652\" height=\"256\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/pages-add-new.png\" alt=\"Screenshot from the WordPress dashboard showing where to find Pages in the menu and click on Add New.\" class=\"wp-image-35731\"  sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>Insert the following <a href=\"\/ca\/tutorials\/create-a-shortcode-in-wordpress\">WordPress shortcode<\/a> to add the HTML sitemap:<\/li>\n<\/ol><p><code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">[wp_sitemap_page]<\/code><\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/HTML-sitemap.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"465\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/HTML-sitemap-1024x465.png\" alt=\"Inserting the shortcode to add the HTML sitemap.\" class=\"wp-image-35732\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"4\">\n<li>Click <strong>Publish,<\/strong> and the WordPress HTML sitemap will be available on your website.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/HTML-sitemap-example.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/09\/HTML-sitemap-example-1024x504.png\" alt=\"How the HTML sitemap looks on a website.\" class=\"wp-image-35733\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>This article has shared two different ways to generate WordPress sitemaps: manually and by using plugins. If you choose to do so manually, you will be able to choose the exact information to include in your sitemap. However, doing so takes more effort and involves an extra step of using a validator tool to test your sitemap.<\/p><p>Instead, we recommend using one of the plugins to create both the HTML and XML sitemaps. We have also shared the steps to submit a WordPress sitemap to Google and Bing.<\/p><p>Don&rsquo;t hesitate to share your experience in generating and submitting a WordPress sitemap in the comment section below.<\/p><p><div class=\"protip\">\n                    <h4 class=\"title\">Learn More About WordPress SEO<\/h4>\n                    <p><a href=\"\/ca\/tutorials\/wordpress-robots-txt\">WordPress Robots.txt Guide<\/a><br>\n<a href=\"\/ca\/tutorials\/wordpress-schema-markup\/\">How to Add WordPress Schema Markup<\/a><br>\n<a href=\"\/ca\/tutorials\/wordpress-meta-description\">How to Add Meta Description and Meta Title in WordPress<\/a><br>\n<a href=\"\/ca\/tutorials\/wordpress-amp\/\">How to Setup AMP (Accelerated Mobile Pages) in WordPress<\/a><br>\n<a href=\"\/ca\/tutorials\/prevent-search-engines-from-indexing-wordpress\">How to Prevent Search Engines from Indexing Your WordPress Site<\/a><a><br>\n<\/a><a href=\"\/ca\/tutorials\/add-breadcrumbs-wordpress\">How to Add Breadcrumbs in WordPress<\/a> <\/p>\n                <\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating a WordPress sitemap is one of the many ways to optimize a WordPress website for SEO. By using a WordPress sitemap, website visitors and search engine bots can see the structure of a site better. When you&rsquo;re familiar with WordPress basics, understanding sitemaps can help develop your website further. WordPress sitemaps create a better [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ca\/tutorials\/how-to-create-wordpress-sitemap\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":139694,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to Create a WordPress Sitemap: A Beginner's Guide","rank_math_description":"Want to enhance your website's search engine visibility? In this article, you'll learn how to create a WordPress sitemap.","rank_math_focus_keyword":"wordpress sitemap","footnotes":""},"categories":[22694,22692],"tags":[],"class_list":["post-763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website-management","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-create-wordpress-sitemap","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/como-criar-sitemap-para-wordpress","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/sitemap-wordpress","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/sitemap-en-wordpress","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/cara-membuat-sitemap-wordpress\/","default":0},{"locale":"de-DE","link":"https:\/\/www.hostinger.com\/de\/tutorials\/wordpress-sitemap-erstellen","default":0},{"locale":"nl-NL","link":"https:\/\/www.hostinger.com\/nl\/tutorials\/wordpress-sitemap","default":0},{"locale":"ja-JP","link":"https:\/\/www.hostinger.com\/jp\/tutorials\/how-to-create-wordpress-sitemap\/","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-create-wordpress-sitemap","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/create-wordpress-sitemap","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/create-wordpress-sitemap","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/como-criar-sitemap-para-wordpress","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-create-wordpress-sitemap","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-create-wordpress-sitemap","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/sitemap-en-wordpress","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/sitemap-en-wordpress","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/sitemap-en-wordpress","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-create-wordpress-sitemap","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-create-wordpress-sitemap","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/comments?post=763"}],"version-history":[{"count":32,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":138612,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/763\/revisions\/138612"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media\/139694"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media?parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/categories?post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/tags?post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}