Sitemap redirects to homepage

#67163
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Your site access seems to have an issue, I am getting the following error:
    img

    Could you please do the following:

    1. Head over to WordPress Dashboard > Settings > Permalinks

    Hit the save button once.

    2. Go to WordPress Dashboard > Rank Math > Sitemap Settings

    Hit the save button once.

    That should fix the issue.

    If it doesn’t, please do let us know so we can look at this further.

    Dani
    Rank Math free

    Hi, try to log in now, please, he has to let you log in.

    I tried to do the two steps you indicate (the permanent links and the sitemap settings) and it doesn’t work.

    Thanks.

    Hello,

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

    You seem to be using a Nginx server which is likely preventing the creation of the sitemap file.
    Please try 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.

    Dani
    Rank Math free

    Works fine! Thanks 🙂

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

The ticket ‘Sitemap redirects to homepage’ is closed to new replies.