Sitemap 404 Error

#6995
  • Resolved Chris
    Rank Math free

    I jus trealized my sitemap is not working. Resaving Permalinks and flushing cache did not help.

    • This topic was modified 5 years, 6 months ago by Chris.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Chris
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Your Nginx server is preventing the creation of the sitemap file. Please add the following rewrite rules to your Nginx config file to fix this:

    # 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

    I hope this info helps. Thank 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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Sitemap 404 Error’ is closed to new replies.