i have problem in the sitemap of my webite

#844493
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    We apologize for the issue you are facing with your sitemap. It seems that the sitemap generated by the Rank Math plugin is not functioning correctly, which can indeed affect the indexing of your product links.

    Here are a few steps you can take to troubleshoot and potentially fix the issue:

    1. Check if the Sitemap Loads: First, ensure that your sitemap URL is accessible. You can do this by visiting `https://rankmath.com/kb/fix-sitemap-issues/#sitemap-blocked-robots-txt in your browser. If it shows a blank page or an error, we need to investigate further.

    2. Validate Your Sitemap: Use the Validate XML Sitemap tool to check if your sitemap is correctly configured. This tool will help identify any issues with the sitemap structure.
      An example displaying how to validate a sitemap

    3. Ensure Posts Are Set to Index: Make sure that your products are set to index. Go to Rank Math SEO → Titles & Meta and check the Robots Meta settings. Ensure that the Index checkbox is enabled for your product posts.
      Index Titles and Meta settings

    4. Check Server Configuration: If you are using an Apache or Nginx server, ensure that the appropriate rewrite rules are added to your server configuration as mentioned in our documentation:

      • For Apache:
        # 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:
        # 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
    5. 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 these steps do not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further.

    Thank you for raising this concern! We’re here to help you get your sitemap working properly.

    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 us and we are sorry for any inconvenience that might have been caused due to that.

    We can see the /aps-products-sitemap.xml is returning a critical error. In this case, can you please share the error log with us?

    Having the error log file will give a clear idea of why this might be happening.

    You can follow this guide to enable debugging in WordPress https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, and they will help you locate the log file.

    Looking forward to helping you.

    Thank you.

    sorry i didn’t see your reply

    how i get the error log to show you

    Hello,

    You may get in touch with your web host to retrieve the error log of your site.

    Looking forward to helping you.

    Hello,

    From the error log you shared, it appears the issue might be PHP memory-related.

    Please check the PHP values of your site by going to WordPress dashboard > Tools > Site Health > Info tab > Server. These values affect the performance of your site and they should be set atleast to the following recommendations:

    PHP Memory Limit: 512M
    Max input time: 150
    PHP time limit: 120
    PHP max input variables: 1000

    If any of these values are lower than the recommended ones, please contact your hosting provider and ask them to increase them for you.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    ok i will check it

    Youssef Sideek
    Rank Math free

    the values are lower than the recommended ones

    Hello,

    In that case, you should get in touch with your web host to increase the memory limit and PHP values on your site.

    Looking forward to helping you.

    Youssef Sideek
    Rank Math free

    I will get in touch with them and tell you

    Hello,

    Sure, let us know how this goes.

    Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further.

    Looking forward to helping you.

    Thank you.

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

You must be logged in to reply to this ticket.