Sitemap not working

#9734
  • Resolved Lifetimo
    Rank Math free

    I have generated sitemap using RankMatgh. Recently I started using Indexing API console for indexing. But today when I was checking my Yandex Webmaster page, it was showing in index.xml file not working.

    When I checked it directly. It was giving error “404 Not Found”

    Does it mean that if I am using Google’s instant indexing API method, the traditional index.xml won’t work? But if it’s so, what sitemap URL will I submit under Bing, Yandex etc. search engines. Kindly resolve this issue if there is something else which I am not aware of.

    Thank you.

    • This topic was modified 4 years, 9 months ago by Lifetimo.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Just for the record,

    I have already tried following things –

    1. Flushing the permalink setting by clicking ‘save’ repeatedly.
    2. Tried disabling and enabling the sitemap option from the RankMath Dashboard.
    3. As per this-
    https://support.rankmath.com/ticket/delete-sitemap-url/
    Tried looking for cache file under wp-content\plugins\seo-by-rank-math\sitemap-cache but didn’t find any such file there.

    I am also sharing my login credentials under the sensitive data area for you to look at this issue closely.

    Thank you.

    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 blocking the redirects required by RankMath to create the virtual sitemap file. Please check your Nginx config file and add the following manual rewrite rules:

    # 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

    Please take a look at the following resource page for more info on this:

    Sitemap Issues

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Yes. The solution worked.

    Thank you. 🙂

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?rate=5#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

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