🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Several Methods for Generating Sitemaps in WordPress_Recommended sitemap plugins

Sitemap, also known as a site map or website map, is a very important tool in website SEO. This article introduces how togenerate a sitemap.xml site map for a WordPress website, and whichsitemap pluginsare worthRecommendedusing.

What is a sitemap and what is its use?

Explanation of the term SiteMapSitemap, called site map or website map in Chinese, is a file that generates all the pages of your website into an XML format webpage file. For example, the sitemap address of Naibabiji is as follows: 奶爸建站笔记站点地图The sitemap contains the addresses of all pages on your website that are allowed to be crawled by search engines. Through this file, every crawlable webpage on your site can be found, hence it is called a site map.The Role of SitemapThe main role of a sitemap is to guide search engines. After all, search engines are machines and cannot click links on your website like ordinary people using a mouse; they can only discover URLs by crawling webpage code. Therefore, we submit a file containing all URLs on the website that are allowed to be crawled by search engines, making it convenient for search engines to crawl these webpages.Why are they called URLs allowed to be crawled by search engines?Some pages on a website are not recommended for search engines to crawl, so they will not appear in the sitemap. The links contained in the sitemap site map are all pages we are willing to let search engines crawl. Here, you can also learn aboutrobots.txt, which is also a tool related to search engine crawling.

Sitemap Plugin Recommendations and Generation Methods

The sitemap.xml file is basically automatically generated using plugins. It is recommended that everybuilding your own websiteWebsite owners typically generate a sitemap file. Usually, the sitemap is a virtual file at sitemap.xml in your website's root directory. You cannot see it in your server space, but you can access it via the URL. Below, we introduce four commonly usedsitemap generation plugins站点地图插件Searching for sitemap in the WordPress admin will yield many results. Naibabiji here introduces the following four plugins.Methods for generating a sitemap
  1. Yoast SEO
  2. Google XML Sitemaps
  3. All in One SEO Pack
  4. Rank Math

Yoast SEO

Yoast SEO is a WordPress SEO plugin. The sitemap feature is part 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 Yoast-SEO-sitemapIf you are using the Yoast SEO premium version, the XML sitemap feature is enabled by default. You can directly access it via你网址/sitemap.xmlto access your website's sitemap file.

Google XML Sitemaps

If you are using the free version of Yoast SEO, Yoast SEO will warn you that two sitemap plugins may conflict. However, the Google XML Sitemaps plugin can still generate an XML sitemap file. Google Sitemap Generator Plugin站点地图插件After installing and activating the plugin, it will automatically generate an XML format sitemap. If it doesn't generate, save the settings once manually.

All in One SEO Pack

All in One SEO Pack is the second most popular SEO plugin on WordPress. Its sitemap feature is free to use. The method is as follows:All in One SEO Pack站点地图功能After successful activation, a link for XML Sitemap settings will appear in the All in One SEO Pack menu. Keep the default settings. It will automatically generate the sitemap. The URL is also:你网址/sitemap.xmlIf your sitemap returns a 404 error, refer to this article:Solution for All in One SEO Pack plugin sitemap.xml 404 error

Rank Math

Rank MathThis is also a WordPress SEO plugin. It is completely free and has more features than the two SEO plugins mentioned above. Unfortunately, it currently does not include Chinese language support (Naiba has localized a version himself; those who need it can join QQ group 774633089 to download).Rank Math 站点地图设置After activating the plugin, it will automatically create a sitemap file for you. Accessing sitemap.xml will automatically redirect to sitemap_index.xml. The above are theplugins and methods for adding a sitemap to WordPress. After having 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 backend 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. 关注二维码

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the Website Building Coaching Service
🔒

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.

×
二维码

Scan QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: