sitemap issue

#961713
Viewing 1 replies (of 1 total)
  • Hello, we apologize for the issue you are facing with your sitemap. To assist you better, could you please provide more details about the specific problem you’re encountering?

    Here are some common sitemap issues and their potential fixes:

    1. Blank or White Page: If your sitemap shows a blank page, check the source code. If the source code is empty, there may be a conflict with another plugin or theme. You can use the Health Check plugin to identify conflicts.
      Blank Sitemap

    2. 404 Error: If Google can’t access your sitemap, try flushing permalinks by going to the Permalinks page in your WordPress dashboard and clicking Save Changes.

    3. Sitemap Not Working on Apache/Nginx: You may need to add specific rewrite rules to your server configuration. 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
    4. Sitemap URL Blocked by robots.txt: Check your robots.txt file for any rules that might be blocking access to your sitemap.

    If these suggestions do not resolve your issue, please reply to this ticket with more details about the specific error or behavior you’re experiencing, and a human agent from the Rank Math Support team will assist you further.

    This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘sitemap issue’ is closed to new replies.