Page Sitemap Not Working

#80752
Viewing 6 replies - 1 through 6 (of 6 total)
  • Alberto
    Rank Math business

    Hello,

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

    I excluded the sitemap files from being cached in WP Rocket and saved your permalinks. After that, it seems to be working fine now. Could you check it?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    Saving permalinks might work temporarily but since you are using NGINX, add this code to your NGINX configuration file if your Sitemap pages are not loading or you can ask your hosting support to add 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
    

    If you are not sure how to do it, please ask your web host to do it for you.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Uzair, the code was already added.

    Hello,

    I checked your site and it seems you have set all your pages to noindex. Rank math only adds pages set to index in the sitemap.

    If your wish to index your pages please head over to Rank math > Titles & Meta > Pages and set index under robots meta. Then head over to the individual pages and edit robots meta under advanced tab of rank math metabox. That should fix the issue.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Solved 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/#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 6 replies - 1 through 6 (of 6 total)

The ticket ‘Page Sitemap Not Working’ is closed to new replies.