Sitemap, also known as site map or website map, is a very important tool in website SEO. This article introduces how to
generate a sitemap.xml site map for a WordPress website, and which
sitemap pluginsare worth
Recommendedusing.
What is a sitemap and what is its use
SiteMap Terminology ExplanationThe Chinese name for sitemap is site map, also called website map. It generates all the pages of your website into an XML format web file. For example, the sitemap address of Naibabiji is as follows:

The sitemap contains the addresses of all pages on your website that allow search engine crawling. Through this file, you can find every crawlable webpage on your site, hence it is called a site map.
The role of sitemapThe main function of a sitemap is to guide search engines. After all, search engines are machines and cannot click links on your website like ordinary people do with a mouse; they can only discover URLs by crawling webpage code. Therefore, we submit a file containing all URLs on the website that allow search engine crawling to the search engines, making it easier for them to crawl these pages.
Why are they called URLs that allow search engine crawling?Some pages on the website are not recommended for search engine crawling, so they will not appear in the sitemap. The links included in the sitemap are pages we are willing to let search engines crawl. You can also learn about it here.
robots.txt, which is also a tool related to search engine crawling.
Sitemap plugin recommendations and generation methods
The sitemap file sitemap.xml is basically automatically generated using plugins. It is recommended that every
build my own websitewebsite owner generates a sitemap file. Usually, the sitemap is a virtual file at sitemap.xml in your website's root directory. You cannot see it in the server space, but you can open it by visiting the URL. Below, we introduce 4 commonly used
sitemap generation plugins。

Searching for sitemap from the WordPress Admin Dashboard will yield many results. Naibabiji introduces the following 4 plugins here.
Methods for generating sitemaps。
- Yoast SEO
- Google XML Sitemaps
- All in One SEO Pack
- Rank Math
Yoast SEO
Yoast SEO is a WordPress SEO plugin. The sitemap is a feature of the premium version. If you installed the free version from WordPress, the sitemap function will not work properly. You can download a premium version:
WordPress's #1 SEO Plugin Yoast SEO Chinese Premium Version Download and Tutorial 
If you are using the Yoast SEO premium version, the XML sitemap function is enabled by default. You can directly access the website's sitemap file via
你网址/sitemap.xml.
Google XML Sitemaps
If you are using the Yoast SEO free version, Yoast SEO will remind you that two sitemap plugins may conflict. However, the Google XML Sitemaps plugin can still generate an XML sitemap file.

After installing and activating the plugin, it will automatically generate an XML format sitemap. If it is not generated, save the settings once yourself.
All in One SEO Pack
All in One SEO Pack is the second most popular SEO plugin on WordPress. Its sitemap function can be used for free. The method is as follows:

After successful activation, a setting link for XML Sitemap will appear in the All in One SEO Pack menu. Keep the default settings. It will automatically generate the sitemap, and the URL is also:
你网址/sitemap.xmlIf your sitemap returns a 404 error, please refer to this article:
Solution for All in One SEO Pack Plugin sitemap.xml 404 ErrorRank Math
Rank MathIt is also a WordPress SEO plugin, completely free, with more features than the two SEO plugins mentioned above. Unfortunately, it currently does not include Chinese language support (Naiba has personally localized a version; those who need it can join QQ group 774633089 to download).

After enabling the plugin, it will automatically create a sitemap file for you. Accessing via sitemap.xml will automatically redirect to sitemap_index.xml. That's all for
Plugins and methods for adding a sitemap to WordPress. Once you have the sitemap file, you can submit it to search engines to improve website indexing.
Search Engine Sitemap Submission Addresses
Almost every search engine supports sitemap submission. You can submit your sitemap to the search engine's webmaster Admin Dashboard, or add it to the robots.txt file. Of course, you can also choose not to do it; search engines will still index your website.

Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.