XML sitemaps in the Yoast SEO plugin

The XML sitemap feature

Follow these steps to enable the XML sitemaps feature:

  1. Log in to your WordPress website.When you’re logged in, you will be in your ‘Dashboard’.
  2. Click on ‘SEO’On the left-hand side, you will see a menu. In that menu, click on ‘SEO’
  3. Click on ‘General’.The ‘SEO’ settings will expand providing you additional options. Click on ‘General’.
  4. Click on the ‘Features’ tab.Admin SEO General Features
  5. Toggle the ‘XML Sitemaps’ switch.To enable the feature, toggle the switch to ‘On’.
    To disable the feature, toggle the switch to ‘Off’.
  6. Click ‘Save Changes’

View the sitemap

  1. Log in to your WordPress website.
    When you’re logged in, you will be in your ‘Dashboard’.
  2. Click on ‘SEO’.
    On the left-hand side, you will see a menu. In that menu, click on ‘SEO’
  3. Then, click on ‘General’.
    Clicking on General will open the General – Yoast SEO settings.
  4. In the Yoast SEO General settings, click on the ‘Features’ tab.
  5. Click the question mark for the XML Sitemap feature.
  6. Then, click ‘See the XML sitemap.’

Limit the number of sitemap entries

You can limit the number of sitemap entries by using the filter wpseo_sitemap_entries_per_page. Here follows example code to limit the max entries to 100. If you are not sure where it would go or how to add this code, we suggest working with a Yoast Partner here who can help.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.