How to Create Sitemap in WordPress
We have explained it completely in the sitemap article, yet in this article, we want to teach you how to create sitemap in WordPress with different methods. In any case, we should momentarily see what is an XML sitemap.
An XML sitemap is a file that rundowns all of your site’s substance in XML (machine-readable) format, so search engines like Google can easily find and index your substance.
In the early 2000s, government sites had a “Sitemap” link on their home pages. This page usually contains a rundown of all the pages on that site.
While certain sites actually have HTML sitemaps today, the overall use of sitemaps has advanced.
Today, sitemaps are distributed in XML format instead of HTML, and their audience is search engines, not individuals. Basically, an XML sitemap is a way for site proprietors to enlighten search engines regarding all the pages on their site.
It also tells search engines which links on your site are a higher priority than others and how frequently you update your site.
Although XML sitemaps won’t increase your search engine rankings, they will allow search engines to find your site better. This means that they can find more satisfaction and start showing it in search results, resulting in more search traffic and further developed SEO rankings.
For What Reason Do You Want an XML Sitemap?
Sitemaps are vital regarding search engine optimization (SEO).
Essentially adding a sitemap has no impact on search rankings. However, if a page on your site isn’t indexed, a sitemap gives you a way to enlighten search engines regarding that page.
The initial step to actually taking a look at SEO: page indexing issue
A sitemap is exceptionally useful for starting a blog or creating another site because most new sites don’t have any backlinks. This makes it difficult for search engines to find all of your substance.
For this reason, search engines like Google allow new site proprietors to present a sitemap in their webmaster tools. This allows their search engine bots to find and index your substance easily.
Sitemaps are equally important for deep-rooted sites. They allow you to determine what parts of your site are generally important, which are updated the most, and so forth, so search engines can visit your substance and rank accordingly. catalog
We should ponder how to create an XML sitemap in WordPress.
How to Create a Sitemap in WordPress?
There are several ways to create an XML sitemap in WordPress. We will show you three popular methods to create an XML sitemap in WordPress, and you can pick one that suits you.
Method 1. How to create an XML sitemap in WordPress without a plugin
This method is exceptionally basic and restricted regarding features. Until August 2020, WordPress didn’t have an inherent sitemap. However, in WordPress 5.5, they released a basic XML sitemap feature. With this, you can automatically generate an XML sitemap in WordPress without using a plugin. You can add wp-sitemap.xml to the furthest limit of your domain name, and WordPress will show you the default XML sitemap.
This XML sitemap feature was added to WordPress to guarantee that any new WordPress site doesn’t lose the SEO advantages of an XML sitemap.
However, it isn’t truly adaptable, and you cannot easily control what to add or eliminate from your XML sitemap.
Fortunately, almost all of the top WordPress plugins accompany their own sitemap feature. These sitemaps are better and you can handle which content to eliminate or add from your WordPress XML sitemap.
Method 2. Create an XML sitemap in WordPress using All in One SEO
The easiest way to create an XML sitemap in WordPress is to use the All in One SEO plugin for WordPress.
This is the best WordPress SEO plugin on the market that gives you many tools to enhance your blog entries for SEO.
In the first place, you want to install and activate the All in One SEO plugin.
Note: The sitemap feature is also available in the free form of AIOSEO. However, you want the Pro variant to get the advanced news sitemap and video sitemap.
Once activated, go to the All in One SEO » Sitemaps page to check your sitemap settings.
Enable sitemap in All in One SEO
Naturally, All in One SEO activates the sitemap feature for yourself and replaces the main WordPress sitemap.
To see, you can click on the “Open Sitemap” button. You can also see your sitemap by adding “sitemap.xml” to the URL, for example, www.example.com/sitemap.xml.
As a beginner, you don’t have to do anything because the default settings are useful for all kinds of sites, web journals, and online stores.
However, you can adjust the sitemap settings to control what you want to include in your XML sitemap. Just go to sitemap settings.
AIOSEO Sitemap Settings
In this segment, you will be given choices for managing sitemap indicators, including or removing sorts of posts and classifications (categories and tags). You can also enable XML sitemaps for date-based archives and author archives.
All-in-One SEO automatically includes all your WordPress content in XML sitemaps. However, what if you have standalone pages, for example, a contact structure, landing page, or Shopify store pages that aren’t part of WordPress?
Indeed, AIOSEO is the just plugin that allows you to add external pages to your WordPress sitemap. Basically, go to Advanced Pages and turn it on. This structure will show you where you can add the custom pages you want to add.
Adding additional pages to your WordPress XML sitemap
You essentially have to add the URL of the page you want and then put forth the boundary where 0.0 is the most reduced and 1.0 is the most elevated; if you don’t know, we suggest using 0.3.
Then, select the number of updates and the last modified date for the page.
You can click on the “Add New” button if you want to add more pages.
Remember to click the “Save Changes” button to save your settings.
Excluding specific posts/pages from your XML sitemap, All in One SEO allows you to eliminate any post or page from your XML sitemap. You can do this by clicking the Advanced Settings segment on the All in One SEO » Maps Sites page.
Eliminate things from your WordPress XML sitemap
You can also erase a post or page through your XML sitemap without creating an index or unfollowing.
By doing this, search engines cannot show that substance in search results. Essentially alter the post or page you want to eliminate and look down to the AIOSEO settings area under the editor.
Removing a post or page from an XML sitemap using robots.txt
From here, you really want to go to the Advanced tab and actually take a look at the cases close to the “No Index” and “No follow” choices.
Create additional sitemaps All in One SEO allows you to create additional sitemaps, for example, video sitemaps or news sitemaps.
You can construct a video sitemap if you regularly insert recordings into your blog entries or pages. Allows search engines to display posts in search results along with video thumbnails.
Video search results showing the video thumbnail
If you have a news site and want it to appear in Google News search results, you can create a News sitemap. Simply go to All in One SEO » Site Map and go to the Video Sitemap or News Sitemap tab to create these sitemaps.
Create video and news sitemaps in All in One SEO
AIOSEO is the best WordPress plugin because it gives you all the adaptable and strong features at an entirely affordable cost.
Method 3. Create an XML sitemap in WordPress using Yoast SEO
If you use Yoast SEO as your WordPress SEO plugin, it will automatically turn on the XML sitemap for you.
To begin with, you really want to install and activate the Yoast SEO plugin. Once activated, go to SEO » General and go to the “Features” tab. You’ll have to look down to the XML Sitemap choice and ensure it’s turned on.
Yoast SEO XML Sitemap Options
Click the Save Changes button to save your changes. To affirm that Yoast SEO has generated an XML sitemap, you can click the question mark symbol close to the XML Sitemap choice on the page.
View the XML sitemap generated by the Yoast SEO plugin
After that, click the “View XML Sitemap” link to see your XML sitemap generated by Yoast SEO.
You can also find your XML sitemap by adding sitemap_index.xml to the furthest limit of your site address. For example https://www.example.com/sitemap_index.xml
Yoast SEO sitemap
Yoast SEO creates different sitemaps for different sorts of content. Naturally, it creates a sitemap for posts, pages, authors, and categories.
How to present your XML sitemap to search engines
Search engines are very smart at finding sitemaps. At the point when you distribute newly satisfied, a ping is shipped off Google and Bing to notify them of changes to your sitemap.
However, we suggest submitting your sitemap manually to guarantee search engines find it.
Present your XML sitemap to Google Search Console, a free tool given by Google to help site proprietors manage and maintain their site’s presence in Google search results. Adding a sitemap to Google Search Console will assist your substance with being found rapidly, regardless of whether your site is brand new.
To start with, you really want to visit the Google Search Console site and sign in for an account. After that, you will be asked to choose the feature type. You can pick a domain or URL prefix. We suggest choosing the URL prefix because it’s easier to set up.
Enter your site URL and then click on the Continue button.
In the subsequent stage, you will be asked to verify the responsibility for the site. You will see several ways to do this; we suggest using the HTML tag method.
Google Search Console Verify site possession
Just copy the code on the page and then go to the admin part of your WordPress site.
If you use AIOSEO, it accompanies easy webmaster tools verification. Just sit back and relax, go to All in One SEO » General Settings and then click on the Webmaster Tools tab. After that, you can enter the code from Google there.
AIOSEO Site Verification
If you are not using AIOSEO, you want to install and activate the Insert Headers and Footers plugin. After activation, you want to go to Settings » Insert Headers and Footers page and add the code you duplicated earlier in the ‘Contents in Header’ box.
Add your verification code in the title area
Remember to click the save button to save the changes.
Now, return to the Google Search Console tab and click on the “Affirm” button. Google checks the verification code on your site and then adds it to your Google Search Console account.
Note: If verification fails, please make sure to clear your cache and attempt again.
Now that you’ve added your site, how about we add our XML sitemap? You want to click on “Sitemap” from your account dashboard from the left section.
Add a sitemap to Google Search Console
After that, you really want to add the last part of your sitemap URL in the “Add new sitemap” segment and click the submit button.
Google will now add your sitemap URL to your Google Search Console. It will require an investment to search your site. After some time, you can see the basic statistics of the sitemap.
This information includes the number of links Google has found in your sitemap, how many of them are indexed, the ratio of images to pages, and more.
How to use XML sitemaps to develop your site?
Now that you’ve presented your XML sitemap to Google in WordPress, we should take a glance at how to use it for your site.
To start with, recollect that an XML sitemap won’t further develop your search rankings. However, it assists search engines with finding content, adjusting crawl rates, and increasing your site’s search engine perceptibility.
You ought to pay attention to your sitemap statistics on the Google search map. It can show you crawl mistakes and pages rejected from search coverage.
Site map coverage
Underneath the graphs, you can click on the tables to see the actual URLs that Google has avoided or not indexed.
Report locales sitemap
Typically, Google may choose to avoid duplicate substance, pages with no or very little satisfaction, and pages that are barred by your robots.txt file or meta tags on your site.
However, if your number of rejected pages is unusually high, you may want to check your SEO plugin settings to ensure you’re not blocking any satisfied.