Hello,
We apologize for the issue you are facing with accessing your sitemap at apps365.com/sitemap_index.xml. The error you are encountering could be due to several reasons. Here are some steps you can take to resolve the issue:
-
Flush Permalinks: Sometimes, simply flushing the permalinks can resolve sitemap issues. To do this, go to your WordPress admin area, navigate to Settings → Permalinks, and click the Save Changes button without making any changes. This can help refresh the permalink structure.

-
Check for White Spaces: Ensure there are no white spaces or blank lines before the XML declaration in your sitemap file. This can cause errors when Google tries to fetch the sitemap.

-
Validate Your Sitemap: Use a sitemap validation tool to check if your sitemap is correctly configured. You can use the Validate XML Sitemap tool for this purpose.

-
Ensure Correct Sitemap URL: Make sure that you are submitting the correct sitemap URL to Google Search Console. The correct URL should be `https://rankmath.com/kb/fix-sitemap-issues/.
-
Check Robots.txt: Ensure that your robots.txt file is not blocking access to your sitemap. You can check this in the Rank Math settings under Rank Math SEO → General Settings → robots.txt.
-
Plugin Conflicts: Sometimes, other plugins may conflict with Rank Math. You can check for conflicts using the Health Check plugin.
If you have tried all these steps and are still facing issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Hello,
Thank you for contacting Rank Math support and we apologize for any trouble you are facing with your sitemap.
The issue you are seeing is caused by an XML declaration error on your sitemap. This means that there is some extra content or whitespace before the XML declaration in your sitemap file. This can make your sitemap invalid and unreadable by search engines.
The most common reason for this error is a whitespace in your theme code, such as a blank line or space in your wp-config.php file or your theme’s functions.php file. This can happen when you edit these files manually or use a plugin or theme that modifies them.
To fix this error, you need to find and remove the whitespace from your theme code. You can follow this guide to troubleshoot and resolve this issue: https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration
If you are not comfortable editing your theme code, you can also contact your hosting provider and ask them to check your website files for you. They should be able to locate and remove the whitespace for you.
Alternatively, if you have some technical skills, you can also use this script to automatically fix this error: https://wejn.org/stuff/wejnswpwhitespacefix.php.html
Please let us know if this helps you fix the XML declaration error on your sitemap. If you have any questions or issues, please don’t hesitate to contact us again. We are always here to assist you.
Thank you for choosing Rank Math for your SEO needs.
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.