Yoast SEO Tutorial: Hands-On Guide to Making the Perfect XML Sitemaps

When doing SEO optimization of your website, theSite Map(XML Sitemap) It is an important tool for search engines to quickly understand the structure of your site, to help you make your new content can be found in a timely manner, Google and Baidu faster inclusion of pages. For WordPress users, theYoast SEO Plugin It is the easiest and most efficient way to generate sitemaps. This article will show you step by step how to use it to create and optimize sitemaps to make your website more visible to search engines.

Image[1]-Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!

First, why do you need XML sitemaps?

An XML sitemap is a file that lists all the important pages of a website. For search engines, it serves three main purposes:

  • Improve the efficiency of inclusion: search engines can find new pages or update content faster.
  • Optimize website structure: help search engines understand the hierarchical relationship between pages.
  • Reduce missed pages: even pages without external links can be indexed.

For large websites, content-based websites, or new websites that have just gone live, XML sitemaps are a great way to accelerateSEOAn important tool to see results.

Second, install and enable Yoast SEO plugin

  • Log in to your WordPress backend.
  • Click "Plug-ins → Install Plug-ins" in the left menu.
  • Type "Yoast SEO" in the search box.
  • Click "Install Now" and enable the plugin.
  • After successful installation, the "SEO" item will appear on the left menu.
Image [2] - Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!

Yoast SEO plugin comes with sitemap feature, no need to install any additional extension plugins.

Third, how to enable Yoast SEO sitemap function

  • Open "SEO → General → Features" in the background menu.
Image [3] - Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!
  • Find the "XML Sitemap" option.
  • Toggle the switch to "Enable".
Image [4] - Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!
  • Click the "Save Changes" button at the bottom of the page.

Once enabled, you can view your sitemap by visiting the following link:https://你的域名.com/sitemap_index.xml

If the page successfully opens and displays multiple sub-site maps for categories, articles, pages, etc., it is successfully enabled.

IV. Checking and verifying that the site map is normal

1. Inspection through browser access

Enter the sitemap address directly into your browser (e.g. /sitemap_index.xml), to see if it can be loaded properly, whether the content contains "post-sitemap.xml" "page-sitemap.xml" and other words.

Image [5] - Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!

2. Verified by Google Search Console

  • log in Google Search ConsoleThe
  • Select your website properties.
  • Click on "Site Map" in the left menu.
  • Fill in the input box sitemap_index.xml and submitted.
  • Check if the status is "Successful".
Image [6] - Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!

3. Baidu search resource platform submission

If the site for Chinese users, you can also submit a site map in Baidu webmaster platform (submission method is divided into API submission, sitemap, manual submission), select the site map to submit, the path to fill in the sitemap_index.xmlThis allows Baidu to crawl your website pages faster.

Image [7] - Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!

V. How to customize site map content

Yoast SEOAllows you to customize which content types need to appear in the sitemap, such as pages, articles, categories, or custom post types.
The procedure is as follows:

  • Open "SEO → Search Appearance".
  • Switch to tabs such as "Content Types", "Taxonomy", etc.
  • Find "Show this in search results?" in each item.
Image [8] - Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!
  • If you select "No", this type of page will not appear in the XML sitemap.

Example:

  • If you don't want your tabs to be indexed, you can turn off the "Tabs" display option;
  • If your site doesn't use author pages, you can also turn off indexing of author archives.

Six, advanced optimization techniques: make the site map more efficient

  • Keep your website structure simple: avoid meaningless categorized and tagged pages.
  • Regularly clean up the 404 page: remove invalid links to prevent search engines from crawling and reporting errors.
Image [9] - Yoast SEO Tutorial: 3 minutes to create the perfect sitemap, a must for newbies!
  • Updates are moderately frequent: the sitemap is automatically updated without the need to manually refresh it, but keeping the content up-to-date is key.
  • Avoid duplicate pages: disable indexing of duplicate content (e.g. pagination, attachment pages).
  • Use with robots.txt: Make sure the sitemap is properly referenced in the robots.txt file, for example: Sitemap: https://yourdomain.com/sitemap_index.xml

VII. Common problems and solutions

1. Open the site map with a 404 error?
Resave the fixed link (Settings → Fixed Link → Save Changes) and Yoast will automatically refresh the route.

2. Articles or pages are missing from the sitemap?
Check if the corresponding content type is enabled for display in the search results.

3. Google does not recognize the site map?
Verify that the submission path is correct, or wait 24 hours for a recrawl.

4. Website not updated after using cache plugin?
Clear the cache and Yoast SEO will regenerate the latest sitemap.

VIII. Conclusion: let the search engine more understand your site

pass (a bill or inspection etc)Yoast SEOGenerated XML sitemaps can help search engines quickly discover your content, and can improve the clarity and SEO performance of your site's overall structure. A well-maintained site map, equivalent to the search engine to open up a high-speed channel to the site content.

If you want your website to be indexed faster and ranked more easily for keywords, create your own perfect sitemap with Yoast SEO starting today!


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: [email protected]
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by WoW
THE END
If you like it, support it.
kudos1048 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments