/*-- New Custom Menu Style --*/

Create WordPress sitemap: Explained step-by-step

Manuel Kühn

18/11/2024

-

10 min

The most important facts in brief
  • Better findability in search engines: A sitemap is a structured overview of your website content that makes it easier for search engines to crawl and therefore improves the indexing of your content.
  • Easy creation with WordPress plugins: Tools such as Yoast SEO or Rank Math enable the automatic creation of an XML sitemap and its integration into search engines such as Google and Bing.
  • SEO optimization through regular updates: A well-maintained and up-to-date sitemap ensures that important content is quickly captured by search engines and taken into account when changes are made.

Rock your online store content!

Better rankings & more sales through perfect content for your target group

Download now for free

What is a sitemap and why is it important?

A sitemap is a structured file that lists all the important URLs of a website to make it easier for search engines and users to navigate and understand the content. It acts as a kind of "map" of your website and offers numerous advantages. The most common form is the XML sitemap, which was specially developed for search engines. It contains all relevant page URLs, information on the priority of individual pages and the date of the last changes. There are also HTML sitemaps, which are intended for users and enable better navigation on the website.

Sitemaps are particularly helpful as they facilitate crawling by search engines. Google and other search engines can find and index the content of your website more quickly, which improves the visibility and ranking of your pages. For users, an HTML sitemap can be a valuable guide to help them find relevant content on your website more quickly.

Sitemaps are particularly relevant for WordPress websites, as they often contain dynamic content and regular updates. A sitemap ensures that new posts, pages or changes are quickly recognized and included in the index. This makes it an indispensable tool for optimizing your website.

What types of sitemaps are available in WordPress?

Different types of sitemaps can be used in WordPress to meet different requirements. Each type has its own specific benefits, whether for search engines, users or special use cases. The most important types are explained below:

XML sitemaps

XML sitemaps are the most commonly used form. They are primarily aimed at search engines and contain a list of all important page URLs, supplemented by metadata such as modification dates, priorities and update frequency. This form helps search engines such as Google to crawl and index the structure and content of your website efficiently.

Screenshot of an XML sitemap listing various URLs of the website 'globalists.de', including categories such as 'case-studies', 'blog', 'jobs', and specific services such as 'social-media-advertising' and 'tiktok-ads-agency'.

HTML sitemaps

HTML sitemaps are intended for users and provide a clear presentation of all the content on your website. They are often integrated on a separate page and improve user-friendliness by enabling easy navigation. At the same time, they can strengthen internal linking, which also has a positive effect on SEO.

Screenshot of the Apple sitemap, which contains various categories such as 'About Apple', 'Apple Values', 'Where to Buy', 'Store Services', 'Account', 'For Education' and 'For Business', with corresponding links to relevant pages and services.

Special sitemaps

  1. News sitemaps: Particularly important for websites with current news. They enable search engines to recognize new content more quickly and include it in the news feeds.
  2. Video sitemaps: For websites with video content, they offer the option of transmitting metadata such as video title and running time.
  3. Image sitemaps: These focus on images and help search engines to better index visual content.

Why are different types of sitemaps useful?

The use of several sitemap types enables targeted optimization. XML sitemaps are primarily used for technical indexing, while HTML sitemaps improve the user experience. Special sitemaps ensure that specific content such as videos or images are also optimally captured.

Step-by-step guide: Create WordPress sitemap

There are two main ways to create a sitemap in WordPress: using plugins or manually. Here is a step-by-step explanation of how both approaches work.

Automatic creation with plugins

The easiest and most effective way to create a sitemap in WordPress is to use plugins. Here are the steps:

  1. Choose a sitemap plugin: Popular plugins such as Yoast SEO, Rank Math or Simple Sitemap offer user-friendly solutions for sitemap creation.
  2. Install and activate the plugin: Go to your WordPress dashboard, select "Plugins > Install" and search for the desired plugin.
Screenshot of the WordPress dashboard with the plugins section highlighted. The section shows the options 'Installed Plugins', 'Add New Plugin' and 'Plugin File Editor'.
  1. Activate sitemap: After installation, you will often find a "Sitemap" or "XML Sitemap" section in the plugin settings. Activate this function.
Screenshot of the Rank Math module settings with the options 'SEO Analyzer', 'Sitemap' and 'Video Sitemap'. The sitemap function is activated and supports the indexing of websites by search engines.
  1. Check sitemap: After activation, the plugin automatically generates a sitemap. You can usually view the URL of the sitemap under "/sitemap.xml".
Screenshot of a link to the XML sitemap of a website
  1. Make adjustments: Many plugins allow you to exclude certain pages or categories, set priorities or define the update frequency.

Manual creation of an XML sitemap

For advanced users or special requirements, it is possible to create a sitemap manually:

  1. Create a sitemap file: Use a text editor to create an XML file with the appropriate structure. It should contain all the important URLs of your website.
  2. Upload the file: Save the file as "sitemap.xml" and upload it to the root directory of your website using an FTP client.
  3. Submit sitemap: Follow the same steps as the plugin method to register the sitemap in Google Search Console or other search engine tools.

Which method is better?

Using a plugin is the better choice for most WordPress users as it is simple and saves time. The manual method is suitable for special requirements or if you need an individual sitemap structure.

How do I submit my sitemap to search engines?

To ensure that your sitemap is used optimally, you should submit it to the most important search engines. Google XML sitemaps in particular enable easy integration and ensure that your content is crawled more quickly. The following explains how to proceed:

Submit sitemap in the Google Search Console

  1. Access to the Search Console: Log in to the Google Search Console and select the relevant website.
  2. Enter sitemap URL: Navigate to the "Sitemaps" section in the menu. Enter the path of your sitemap here, e.g. https://ihre-webseite.de/sitemap.xml.
  3. Test and submit your sitemap: Use the "Test" feature to make sure the sitemap is correct and then click "Submit".
The screenshot shows the Google Search Console with two submitted sitemaps (https://www.globalists.de/sitemap.xml and https://globalists.de/sitemap.xml). Both have the status "Successful", contain 116 pages each and no videos. A field for adding new sitemaps is also visible.

Add sitemap in Bing Webmaster Tools

  1. Log in to the Bing Webmaster Tools.
  2. Navigate to the "Sitemaps" section and add your sitemap URL.
  3. Confirm the submission so that Bing can crawl your content.
 The screenshot shows the "Sitemaps" area in a webmaster tool. No sitemaps are currently available. A request to send a sitemap is displayed, accompanied by a blue button labeled "Send sitemap". On the left is a navigation menu with options such as "IndexNow" and "Backlinks".

Important notes for the use of sitemaps

  • SEO plugins such as Yoast SEO or Rank Math automatically create sitemaps in XML format, which is preferred by both Google and Bing.
  • Sitemap plugins such as Google XML Sitemaps offer additional functions that make it easier to submit special content such as videos or images.
  • Regularly check whether your sitemap contains all new pages and posts on your website.

Why is the submission important?

By submitting a standard sitemap to the search engine tools, you ensure that all relevant content on your website is crawled correctly. This not only improves the visibility of your site, but also promotes the crawling and indexing of new content.

Best practices for the use of sitemaps

A well-maintained sitemap is a central component of any SEO strategy. To realize the full potential of a sitemap, some best practices should be followed:

Optimization of the sitemap for search engines

  • Only include relevant pages: Make sure that only indexable and important pages (e.g. posts, products, categories) are included in the sitemap. Pages with "no-index" tags should be excluded.
  • Regular updates: Check your sitemap regularly, especially when making major changes to your website, to ensure that it remains up to date.
  • Avoid superfluous URLs: Duplicate or irrelevant pages, such as admin pages or archive pages, should be removed from the sitemap.

Use of SEO plugins

  • Yoast SEO and Rank Math: These popular plugins automatically create a sitemap in XML format and offer customization options. This allows you to exclude specific pages or content.
  • Google XML Sitemaps Plugin: For simple projects, this plugin is an excellent choice for creating a standard sitemap and submitting it to search engines.

Integration with the website structure

  • HTML sitemaps: In addition to the XML sitemap, an HTML sitemap on your website can improve the user experience by making navigation easier.
  • Strengthen internal linking: A well-designed sitemap not only helps search engines, but also directs visitors to relevant content.

Error analysis and monitoring

  • Fix crawling errors: You can use tools such as the Google Search Console to check whether all URLs in your sitemap can be crawled without any problems. Fix error messages immediately.
  • Monitor performance: Regularly check how effectively your sitemap is contributing to SEO success and adjust it if necessary.
The graphic shows best practices for sitemaps: Optimization through relevant pages and updates, use of SEO plugins, integration into the website structure and monitoring for troubleshooting.

Frequently asked questions

1. how do I create a sitemap in WordPress?

The easiest way to create a sitemap in WordPress is to use an SEO plugin such as Yoast SEO or Rank Math. These plugins automatically generate an XML sitemap that contains all the important pages of your website. Alternatively, you can use a special sitemap plugin such as Google XML Sitemaps. After activating the plugin, the sitemap is created automatically and can be accessed at a URL such as https://ihre-webseite.de/sitemap.xml .

2 What is an XML sitemap in WordPress?

An XML sitemap is a file that lists all relevant URLs of your website in a structured XML format. It has been specially developed for search engines to facilitate the crawling and indexing of your content. In WordPress, it is often generated automatically by SEO plugins and is essential for an efficient SEO strategy.

3. is a sitemap mandatory?

A sitemap is not mandatory, but it is highly recommended, especially for larger websites or those with frequently updated content. It improves findability in search engines by facilitating crawling and ensuring that all important content is indexed. Especially in combination with an SEO plugin, it helps to optimize the SEO performance of your website.


What is a sitemap and why is it important?

A sitemap is a structured file that lists all the important URLs of a website to make it easier for search engines and users to navigate and understand the content. It acts as a kind of "map" of your website and offers numerous advantages. The most common form is the XML sitemap, which was specially developed for search engines. It contains all relevant page URLs, information on the priority of individual pages and the date of the last changes. There are also HTML sitemaps, which are intended for users and enable better navigation on the website.

Sitemaps are particularly helpful as they facilitate crawling by search engines. Google and other search engines can find and index the content of your website more quickly, which improves the visibility and ranking of your pages. For users, an HTML sitemap can be a valuable guide to help them find relevant content on your website more quickly.

Sitemaps are particularly relevant for WordPress websites, as they often contain dynamic content and regular updates. A sitemap ensures that new posts, pages or changes are quickly recognized and included in the index. This makes it an indispensable tool for optimizing your website.

What types of sitemaps are available in WordPress?

Different types of sitemaps can be used in WordPress to meet different requirements. Each type has its own specific benefits, whether for search engines, users or special use cases. The most important types are explained below:

XML sitemaps

XML sitemaps are the most commonly used form. They are primarily aimed at search engines and contain a list of all important page URLs, supplemented by metadata such as modification dates, priorities and update frequency. This form helps search engines such as Google to crawl and index the structure and content of your website efficiently.

Screenshot of an XML sitemap listing various URLs of the website 'globalists.de', including categories such as 'case-studies', 'blog', 'jobs', and specific services such as 'social-media-advertising' and 'tiktok-ads-agency'.

HTML sitemaps

HTML sitemaps are intended for users and provide a clear presentation of all the content on your website. They are often integrated on a separate page and improve user-friendliness by enabling easy navigation. At the same time, they can strengthen internal linking, which also has a positive effect on SEO.

Screenshot of the Apple sitemap, which contains various categories such as 'About Apple', 'Apple Values', 'Where to Buy', 'Store Services', 'Account', 'For Education' and 'For Business', with corresponding links to relevant pages and services.

Special sitemaps

  1. News sitemaps: Particularly important for websites with current news. They enable search engines to recognize new content more quickly and include it in the news feeds.
  2. Video sitemaps: For websites with video content, they offer the option of transmitting metadata such as video title and running time.
  3. Image sitemaps: These focus on images and help search engines to better index visual content.

Why are different types of sitemaps useful?

The use of several sitemap types enables targeted optimization. XML sitemaps are primarily used for technical indexing, while HTML sitemaps improve the user experience. Special sitemaps ensure that specific content such as videos or images are also optimally captured.

Step-by-step guide: Create WordPress sitemap

There are two main ways to create a sitemap in WordPress: using plugins or manually. Here is a step-by-step explanation of how both approaches work.

Automatic creation with plugins

The easiest and most effective way to create a sitemap in WordPress is to use plugins. Here are the steps:

  1. Choose a sitemap plugin: Popular plugins such as Yoast SEO, Rank Math or Simple Sitemap offer user-friendly solutions for sitemap creation.
  2. Install and activate the plugin: Go to your WordPress dashboard, select "Plugins > Install" and search for the desired plugin.
Screenshot of the WordPress dashboard with the plugins section highlighted. The section shows the options 'Installed Plugins', 'Add New Plugin' and 'Plugin File Editor'.
  1. Activate sitemap: After installation, you will often find a "Sitemap" or "XML Sitemap" section in the plugin settings. Activate this function.
Screenshot of the Rank Math module settings with the options 'SEO Analyzer', 'Sitemap' and 'Video Sitemap'. The sitemap function is activated and supports the indexing of websites by search engines.
  1. Check sitemap: After activation, the plugin automatically generates a sitemap. You can usually view the URL of the sitemap under "/sitemap.xml".
Screenshot of a link to the XML sitemap of a website
  1. Make adjustments: Many plugins allow you to exclude certain pages or categories, set priorities or define the update frequency.

Manual creation of an XML sitemap

For advanced users or special requirements, it is possible to create a sitemap manually:

  1. Create a sitemap file: Use a text editor to create an XML file with the appropriate structure. It should contain all the important URLs of your website.
  2. Upload the file: Save the file as "sitemap.xml" and upload it to the root directory of your website using an FTP client.
  3. Submit sitemap: Follow the same steps as the plugin method to register the sitemap in Google Search Console or other search engine tools.

Which method is better?

Using a plugin is the better choice for most WordPress users as it is simple and saves time. The manual method is suitable for special requirements or if you need an individual sitemap structure.

How do I submit my sitemap to search engines?

To ensure that your sitemap is used optimally, you should submit it to the most important search engines. Google XML sitemaps in particular enable easy integration and ensure that your content is crawled more quickly. The following explains how to proceed:

Submit sitemap in the Google Search Console

  1. Access to the Search Console: Log in to the Google Search Console and select the relevant website.
  2. Enter sitemap URL: Navigate to the "Sitemaps" section in the menu. Enter the path of your sitemap here, e.g. https://ihre-webseite.de/sitemap.xml.
  3. Test and submit your sitemap: Use the "Test" feature to make sure the sitemap is correct and then click "Submit".
The screenshot shows the Google Search Console with two submitted sitemaps (https://www.globalists.de/sitemap.xml and https://globalists.de/sitemap.xml). Both have the status "Successful", contain 116 pages each and no videos. A field for adding new sitemaps is also visible.

Add sitemap in Bing Webmaster Tools

  1. Log in to the Bing Webmaster Tools.
  2. Navigate to the "Sitemaps" section and add your sitemap URL.
  3. Confirm the submission so that Bing can crawl your content.
 The screenshot shows the "Sitemaps" area in a webmaster tool. No sitemaps are currently available. A request to send a sitemap is displayed, accompanied by a blue button labeled "Send sitemap". On the left is a navigation menu with options such as "IndexNow" and "Backlinks".

Important notes for the use of sitemaps

  • SEO plugins such as Yoast SEO or Rank Math automatically create sitemaps in XML format, which is preferred by both Google and Bing.
  • Sitemap plugins such as Google XML Sitemaps offer additional functions that make it easier to submit special content such as videos or images.
  • Regularly check whether your sitemap contains all new pages and posts on your website.

Why is the submission important?

By submitting a standard sitemap to the search engine tools, you ensure that all relevant content on your website is crawled correctly. This not only improves the visibility of your site, but also promotes the crawling and indexing of new content.

Best practices for the use of sitemaps

A well-maintained sitemap is a central component of any SEO strategy. To realize the full potential of a sitemap, some best practices should be followed:

Optimization of the sitemap for search engines

  • Only include relevant pages: Make sure that only indexable and important pages (e.g. posts, products, categories) are included in the sitemap. Pages with "no-index" tags should be excluded.
  • Regular updates: Check your sitemap regularly, especially when making major changes to your website, to ensure that it remains up to date.
  • Avoid superfluous URLs: Duplicate or irrelevant pages, such as admin pages or archive pages, should be removed from the sitemap.

Use of SEO plugins

  • Yoast SEO and Rank Math: These popular plugins automatically create a sitemap in XML format and offer customization options. This allows you to exclude specific pages or content.
  • Google XML Sitemaps Plugin: For simple projects, this plugin is an excellent choice for creating a standard sitemap and submitting it to search engines.

Integration with the website structure

  • HTML sitemaps: In addition to the XML sitemap, an HTML sitemap on your website can improve the user experience by making navigation easier.
  • Strengthen internal linking: A well-designed sitemap not only helps search engines, but also directs visitors to relevant content.

Error analysis and monitoring

  • Fix crawling errors: You can use tools such as the Google Search Console to check whether all URLs in your sitemap can be crawled without any problems. Fix error messages immediately.
  • Monitor performance: Regularly check how effectively your sitemap is contributing to SEO success and adjust it if necessary.
The graphic shows best practices for sitemaps: Optimization through relevant pages and updates, use of SEO plugins, integration into the website structure and monitoring for troubleshooting.

Frequently asked questions

1. how do I create a sitemap in WordPress?

The easiest way to create a sitemap in WordPress is to use an SEO plugin such as Yoast SEO or Rank Math. These plugins automatically generate an XML sitemap that contains all the important pages of your website. Alternatively, you can use a special sitemap plugin such as Google XML Sitemaps. After activating the plugin, the sitemap is created automatically and can be accessed at a URL such as https://ihre-webseite.de/sitemap.xml .

2 What is an XML sitemap in WordPress?

An XML sitemap is a file that lists all relevant URLs of your website in a structured XML format. It has been specially developed for search engines to facilitate the crawling and indexing of your content. In WordPress, it is often generated automatically by SEO plugins and is essential for an efficient SEO strategy.

3. is a sitemap mandatory?

A sitemap is not mandatory, but it is highly recommended, especially for larger websites or those with frequently updated content. It improves findability in search engines by facilitating crawling and ensuring that all important content is indexed. Especially in combination with an SEO plugin, it helps to optimize the SEO performance of your website.


About the author
Manuel Kühn

When he's not working out at the gym, he's probably writing new content and implementing SEO strategies.

Rock your online store content!

Better rankings & more sales through perfect content for your target group

Download now for free
Manuel Kühn

When he's not working out at the gym, he's probably writing new content and implementing SEO strategies.

BEST CASES

Performance Marketing Insights