Sitemap redirection to homepage

#54475
Viewing 8 replies - 1 through 8 (of 8 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math today.

    Usually it is due to some problems with cache plugins. Since Rank Math caches by itself the sitemaps, cache plugins shouldn’t but they do. So a lot of times you just need to exclude those sitemaps from the cache plugin and problem solved.

    But it is not necessary that the reason, there are many possible factors, that is why if that happens again for you, I recommend you to just contact us and we will be happy to help you to find the reason for your specific situation.

    Looking forward to helping you. Thank you.

    ​​​​​​

    • This reply was modified 4 years, 7 months ago by Alberto.

    Hello,

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

    Thank you.

    Actually, I’m still having redirection to homepage issues. I’ve tried saving changes on permalink settings as suggested in the other thread. Interestingly, redirection doesn’t happen when I’m logged in to my WP dashboard. What’s happening?

    Hello,

    Thank you for contacting Rank Math today.

    If this is not happening when you are logged in, it is likely you have a plugin limiting access to your sitemap to only admin. Could you please check. If you don’t find this issue​​, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

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

    Thank you.

    I understand it was weekend and Ramzan now. But can you please look at this on priority as this is a critical issue?

    I went ahead and removed the below code which you had suggested for NGINX servers. That seems to have fixed the redirection for now. But not sure if that can be the permanent fix.

    # 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
    Alberto
    Rank Math business

    Hello,

    If that fixed your issue, let it stay like that. If in the future you face the issue, we can check it again, but since now it works I don’t think it is a good idea to keep touching it.

    Looking forward to help 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 8 replies - 1 through 8 (of 8 total)

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