The sitemap is one of the most important and crucial parts to rank a website in search engines like Google, Bing, Yandex, etc. For this, we need an XML sitemap, let’s generate one for WordPress and submit it.
In this tutorial, we’ll learn how to generate an XML sitemap for the WordPress website with and without a plugin.
Generate WordPress XML sitemap without using any plugin
WordPress version 5.5 started providing a sitemap for websites created using this platform. You can access this sitemap after adding wp-sitemap.xml after the Home URL of your website or blog. For example, for our website, it will be https://seoneurons.com/wp-sitemap.xml.
This sitemap is very simple and designed to enhance the SEO of WordPress CMS. It’s not very easy to make changes in this sitemap. Instead of using the default sitemap, generate an XML WordPress sitemap using plugins.
How to Generate a sitemap Using Plugins
You can easily generate a WordPress sitemap using SEO plugins like Yoast SEO, Rank Math SEO, All in One SEO, Jetpack, and many more. You can control these plugins very easily, that what to add or remove from it. So let’s begin with Yoast SEO.
You must use only one SEO plugin, don’t generate a sitemap using multiple plugins.
How to Generate an XML WordPress sitemap using Yoast SEO
Yoast SEO plugin is one of the famous plugins available for SEO. First, you’ve to set up this plugin for better SEO results for your website.
After successful setup of the plugin, you’ve to create a sitemap using this. For this, click on setting> sitemap >posts sitemap, and then pages sitemaps.
How to generate an XML sitemap using the Rank Math SEO.
You can scroll down to settings>title>sitemap. Now from here, you can enable a sitemap for posts and pages. You can also add media in this sitemap for free.
Configure the WordPress XML sitemap in rank math by scrolling to the sitemap settings.
- Generate an XML sitemap for images, include feature sitemap or not.
- WordPress sitemap settings for posts
- sitemap setting for pages
- Attachment to include or not in the sitemap
- Category to include or not in the sitemap
- Tags to include or not in the sitemap.
For the best SEO practice of WordPress sitemap, you can refer to the setup rank math article.
Using All in One SEO plugin
You can generate an XML sitemap for WordPress using the All in One SEO plugin. First, you’ve to set up the All in One SEO Plugin and then scroll to the sitemap and then enable sitemap.
If you don’t know how to properly configure the plugin for the best SEO practice, read set up All in One SEO plugin.
This article will help you in understanding the best possible SEO practice for WordPress CMS.
Using Jetpack Plugin
Jetpack is one of the recommended plugins from WordPress. It enables a lot of features to the website, learn how to set up Jetpack Plugin.
After completing the setup of Jetpack, scroll to the Traffic tab and then sitemaps.
Enalbe the sitemap feature to generate a sitemap for wordpress website.
Submit XML sitemap to the search engine.
First, you’ve to add your website to the search webmaster tool, and then you can submit the sitemap.
This sitemap will submit the structure of your website to the search engine. As a result, it will improve the SEO of your website.