• Resolved Summer

    (@fpmsummer)


    I just noticed on one of my sites that the sitemap being automatically generated only contains about 700 items, when the previous sitemap from another plugin had over 12000 items… is this going to cause a problem with most of that site’s 10 years of content not being found because they aren’t in the sitemap for people or search engines to find?

    https://ww.wp.xz.cn/plugins/autodescription/

Viewing 1 replies (of 1 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi fpmsummer,

    The reason for this limited output is because I expected there to be cause for memory issues. These issues are only likely to occur on shared hosting websites.
    Also, once Google/Bing has found a page, it will only need to know when or if it has been updated; which can be seen through the sitemap’s lastmod tag or textual changes Google/Bing will eventually notice.

    Nevertheless, here’s the filter you’re looking for, you can set it as high as you wish.
    The filter changes the limit of Posts, Pages and Custom Post Types displayed within the sitemap individually. So it will be that number times three.

    add_filter( 'the_seo_framework_sitemap_post_limit', 'my_tsf_sitemap_limit' );
    function my_tsf_sitemap_limit() {
       // Default is 700.
       return 1400;
    }

    I hope this helps! Have a wonderful day :).

Viewing 1 replies (of 1 total)

The topic ‘Sitemap issues?’ is closed to new replies.