Sitemap on Nginx Server WordPress Website

#723502
  • Hello Sir/Madam,
    Rank Math is awesome, thanks for your brilliant work! I’m using and facing sitemap problem, what I did:
    1. Add the code to nginx server, while I didn’t find wordpress website nginx server so I added the code in: /www/server/nginx/conf/nginx.conf
    2. Flush Sitemap Settings
    3. Flush Permalinks
    4. Exclude Sitemap from Caching
    Then, the sitemap is still 404 page. May I know what I can do to make it work?
    Regards

Viewing 1 replies (of 1 total)
  • Hello,

    We apologize for the inconvenience you’re facing with the sitemap on your Nginx server. It seems like you’ve taken several steps to resolve the issue, but the problem persists.

    To ensure that the sitemap is working correctly, please make sure that you have added the rewrite rules to the correct location in your Nginx server configuration. If you’re unsure about adding these rules, we recommend reaching out to your server administrator or hosting support for assistance.

    Additionally, after adding the rewrite rules, it’s essential to flush the sitemap cache for the changes to take effect. You can do this by navigating to Rank Math SEO โ†’ Sitemap Settings and changing the Links Per Sitemap as shown in the screenshot below:

    Links Per Sitemap

    After saving the settings, head over to your WordPress admin area and navigate to Settings โ†’ Permalinks and click on the Save Changes button, even if you didn’t make any changes on the page.

    If you’ve already completed these steps and the issue persists, please let us know, and we’ll be happy to assist you further.

    Regards

    Sources:
    Rank Math Sitemap Issues and Their Fixes ยป Rank Math
    Why the Sitemap_Index.xml is Throwing a 404 Error ยป Rank Math
    How To Exclude Rank Math Sitemaps from Caching ยป Rank Math

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.