Sitemap don’t work

#883325
  • Resolved PUREVELVET.DESIGN
    Rank Math free

    Hi,

    I am getting an error here.
    Can you help please?

    I already checked this site and others for fixes but dont’ work.

    Best regards
    André

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    We apologize for the issue you are facing with your sitemap. There are several common reasons why a sitemap might not work, and we can help you troubleshoot this. Here are some steps you can take:

    1. Flush Permalinks: Sometimes, simply flushing the permalinks can resolve the issue. Go to your WordPress admin area, navigate to Settings → Permalinks, and click the Save Changes button, even if you didn’t make any changes. This can often fix 404 errors related to the sitemap.
      Flush permalink settings

    2. Check for Server Configuration: If you are using an Apache or Nginx server, you may need to add specific rewrite rules to your configuration files. For Apache, add the following to your .htaccess file:

      # 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 Rules

      For Nginx, add this 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
    3. Check for Plugin Conflicts: Sometimes, other plugins can interfere with the sitemap functionality. You can use the Health Check plugin to identify any conflicts.

    4. Check Robots.txt: Ensure that your sitemap URL is not blocked by your robots.txt file. You can check this in Rank Math SEO → General Settings → robots.txt.

    5. Check for Custom Canonicals: If you have set custom canonical URLs for your posts, they may not appear in the sitemap. Consider removing these custom canonicals if you want all posts to be included in the sitemap.

    If you’ve tried these steps and are still experiencing 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!

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    We checked your sitemap and we can see it is working properly without any issues. Please check the screenshot in the sensitive data section for reference.

    If you’re still facing any other issues, please share a screenshot with us by using a tool like https://imgur.com/upload so that we can check this further for you.

    Looking forward to helping you.

    Thank you.

    Hi there,

    Yes the sitemap can be opened now, but GSC reports “could not be received.”
    I inserted the htaccess code for APACHE, excluded by cache etc. .

    It works now. Thank you very much!

    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.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.