Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
You seem to have set your page(s) to noindex and which is causing the page sitemap to lead to 404.
Please make sure the post is not selected as ‘noindex’ in WP > Posts > Your Post > Advanced Tab in Rank Math.
Screenshot:
Also ensure that the noindex is not selected for Global or Posts meta:
If none of the above is set, please head over to Worpress Dashboard > Settings >Reading and ensure you ave not checked the option to discourage search engines from indexing your site
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
It was set to Index under “Global Meta” but No Index under “Posts”. However, after changing this setting the Pages sitemap is still not working.
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
If you have a caching plugin, please exclude your sitemap URLs from being cached then 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, then 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.
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,
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.