Hello,
We apologize for the issue you are facing with your sitemap returning a 404 error. Since you’ve already disabled other plugins and followed the tutorial on excluding sitemaps from caching, we recommend trying to flush your permalinks as this often resolves sitemap issues.
Here’s how to do it:
- Go to your WordPress admin area.
- Navigate to Settings → Permalinks.
- Click the Save Changes button once, even if you didn’t make any changes on the page.

This should help in generating the sitemap correctly. If the issue persists after this step, please reply to this ticket with your site URL so that a human agent can assist you further.
Thank you for raising this concern, and we look forward to helping you resolve it!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Hello,
In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

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.
Hello,
We would like to debug this issue deeper by checking your website files but when we try to install a file manager plugin, your website doesn’t allow us.
Can you please share your website’s FTP login instead so we can debug this issue further?
Looking forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
We have conducted troubleshooting on your website and when we disable the plugin called “janse-custom-made”, the sitemap works perfectly fine as you can see from this screenshot:

It appears that this custom plugin is breaking the sitemap’s stylesheet, causing it to return a 404 page.
Please contact the developer of that plugin and insure its functionality doesn’t affect the generation of our sitemap.
Don’t hesitate to get in touch with us if you have any other questions.
Hi Jeremy,
Thanks for your investigation. We’ve tweaked the custom plugin and now the sitemap is being generated.
Your help is much appreciated. You may close this ticket.
Best regards,
Maarten
Hello,
Glad that everything has been sorted out.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.