i using NGINX server

#51781
  • Resolved Ignatios
    Rank Math free

    Hi, i use Nginx server. Ιs It necessary to add code on conf.file

    How important is this for my seo? Google & Yandex seems to crawl my website.

    I have the same result (pageindex) with non-pretty permalink version
    MYdomain.com?sitemap=1

    How i add this code? Its possible with a plugin?

    # 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

    Thanks a lot

    • This topic was modified 3 years, 11 months ago by Ignatios.
    • This topic was modified 3 years, 11 months ago by Ignatios.
    • This topic was modified 3 years, 11 months ago by Ignatios.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

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

    Thank you.

    Hello,

    Thank you for contacting Rank Math today.

    1). Your sitemap is loading okay when I check the URL and thus you don’t need to add the directives on your nginx config file. The sitemap file is essential for telling search engines the new posts that you have added and which ones you want indexed.

    2). The robots.txt file also seems to be working as expected and thus the Yandex diagnostic report could be a false positive. Please check by going to https://domain.com/robots.txt

    3). Rank Math generates a sitemap on this location domain.com/sitemap_index.xml and this is why the report says that you have a missing sitemap.xml since this is generated by other plugins.

    Looking forward to helping you. Thank you.

    ​​​​​​

    thank you so much for your response!

    • This reply was modified 3 years, 11 months ago by Ignatios.
    • This reply was modified 3 years, 11 months ago by Ignatios.
    • This reply was modified 3 years, 11 months ago by Ignatios.
    Alberto
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. Do you want I set it as resolved? 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.

    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 4 replies - 1 through 4 (of 4 total)

The ticket ‘i using NGINX server’ is closed to new replies.