-
https://nextnow.ca/sitemap_index.xml
Sitemap not working with non-www version and getting a general http error in GSC
-
Hello, we apologize for the issue you are facing with your sitemap not working. Here are some steps you can take to troubleshoot the problem:
-
Check Your Sitemap URL: Ensure that you are submitting the correct sitemap URL to Google Search Console. It should be `https://rankmath.com/kb/fix-sitemap-issues/#unsupported.
-
Flush Permalinks: Sometimes, flushing permalinks can resolve issues with sitemaps. To do this, go to your WordPress dashboard, navigate to Settings → Permalinks, and simply click Save Changes without making any modifications.
-
Validate Your Sitemap: Use the Validate XML Sitemap tool to check if your sitemap is correctly configured. Enter your sitemap URL and click VALIDATE SITEMAP. If there are any issues, the tool will provide feedback.

-
Check for Server Configuration: If you are using an Apache or Nginx server, ensure that the appropriate rewrite rules are added to your server configuration. For Apache, you can add the following to your
.htaccessfile:# START of Rank Math Sitemap Rewrite Rules RewriteEngine On RewriteBase / RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L] RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L] RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L] # END of Rank Math Sitemap Rewrite RulesFor Nginx, add the following to your config file:
# 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; rewrite ^/([a-z]+)?-sitemap.xsl$ /index.php?xsl=$1 last; # END Nginx Rewrites for Rank Math Sitemaps -
Check Robots.txt: Ensure that your sitemap is not blocked by any rules in your
robots.txtfile. You can check this in the Rank Math settings under Rank Math SEO → General Settings → robots.txt. -
Check for Plugin Conflicts: Sometimes, other plugins can conflict with Rank Math. You can use the Health Check plugin to identify any potential conflicts.
If you continue to experience issues after trying these steps, 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 MathTried everything, its not working
Hello,
We checked your sitemap and we can see all the versions of your sitemap are returning a 200 status code:
Please note that only one version of your sitemap should return a 200 status code and the other versions should redirect to that correct version.
Since these redirections are controlled from your server, we suggest you get in touch with your hosting provider and make sure to redirect other versions of your sitemap.
Once done, clear your website cache, remove all the submitted sitemap, and resubmit only the
/sitemap_index.xmlin the Search Console.Let us know how it goes. Looking forward to helping you.
Thank 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.
-
The ticket ‘Sitemap not working’ is closed to new replies.