Support » Plugin: Yoast SEO » Sitemap suddenly not working

  • Resolved naijacenter

    (@naijacenter)


    Hello,

    I am having a problem with my sitemap. It was working days ago and suddenly showing empty and wrong format.

    Troubleshooting so far:

    1. Deactivated all plugins – Negative
    2. Clear site and external cache (cloudflare) – Negative
    3. Reinstall wordpress – Negative
    4. Resubmit Sitemap – Negative.

    I do not know what’s left to be done. Kindly help as my index pages are dropping drastically.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • MariusG

    (@marius_codeinwp)

    Hi @najiacenter,

    Have you fixed the issue in the meantime? We’ve just checked your XML Sitemap and it works as expected:

    naijacenter

    (@naijacenter)

    Hello,

    thanks for responding, no it is now working. here is a link https://www.naijacenter.com/post-sitemap7.xml and see what it shows.

    naijacenter

    (@naijacenter)

    Then this

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/content/83/10962283/html/wp-content/plugins/wordpress-seo-premium/premium/classes/redirect/redirect.php on line 152

    naijacenter

    (@naijacenter)

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    The maximum execution time fatal error occurs when your server is unable to handle the request within the 30 seconds. Therefore, we recommend you to lower the sitemap default URLs limitation 1000 to 500 and that will improve the performance of your sitemap.

    In order to do this, you’ll need to add the following code to your theme functions.php file and disable/enable the sitemap from Yoast SEO -> General -> Features (tab).

    add_filter( 'wpseo_sitemap_entries_per_page', 'max_entries_per_sitemap' );
    function max_entries_per_sitemap() {
        return 500;
    }
    

    Once you change the maximum limit of your sitemap, you’ll need to resubmit the sitemap to your Google Search Console property. It may take a while to see the update in the Google Search Console.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sitemap suddenly not working’ is closed to new replies.