• Resolved groovice

    (@groovice)


    Hello,
    I am using the NGINX server and in the sitemap section rank math telling me to add some custom NGINX config to my server. is it necessary to add the config? because I am not getting any error/issue with my sitemap? what it does actually? does it make my sitemap better?

    here is it:

    # 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
Viewing 1 replies (of 1 total)
  • Plugin Author Rank Math SEO

    (@rankmath)

    Hello @groovice,

    Thank you for contacting the support.

    If you are not getting any error on your Sitemap, then you do not need to add the above-mentioned code. You can safely ignore the notice.

    Hope that helps. If you have any further questions, please let us know. We are here to assist.

Viewing 1 replies (of 1 total)
  • The topic ‘Sitemap Settings (NGINX)’ is closed to new replies.