Sitemapp is not working

#601693
  • Resolved Anonymous
    Rank Math free

    I get an critical error if i open the sitemapp.

    I added this code because we use NGINX-server, but it is still not working.

    # START Nginx Rewrites for Rank Math Sitemaps
    rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
    rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
    # END Nginx Rewrites for Rank Math Sitemaps

    When i open the sitemapp i get this error: A critical error has occurred on this site.

    Learn more about troubleshooting in WordPress.

    https://imgur.com/a/zH1BFqD

Viewing 1 replies (of 1 total)
  • Hello,

    Thanks for contacting us and sorry for the inconvenience caused.

    Can you please share the error log with us?

    Having an error log will help us determine what is causing the error on your website.

    You can follow this guide to enable debugging in WordPress
    https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, they will help you locate the log file.

    Let us know how it goes. Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Sitemapp is not working’ is closed to new replies.