Assistance Required for Resolving 404 Errors in Sitemap Links Generated by Rank

#1090772
  • Resolved olivia olivia
    Rank Math free

    Hello Rank Math Support Team,

    I am experiencing an issue with the sitemap generated by Rank Math on a client’s website. Some of the links within the sitemap are returning 404 errors, which impacts the indexing and SEO performance.

    I have already followed the recommended troubleshooting steps such as flushing permalinks, checking noindex settings, verifying plugin conflicts, and validating the sitemap structure, but the issue persists.

    Could you please advise on further actions or advanced troubleshooting methods to resolve this problem?

    Thank you for your support and assistance.

    Best regards,
    FOSSO

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

    We apologize for the issue you are facing with the 404 errors in the sitemap links generated by Rank Math. Thank you for detailing the troubleshooting steps you’ve already taken.

    Here are some additional actions you can take to resolve the issue:

    1. Check Sitemap Location: Ensure that your sitemap is located in the root folder of your WordPress installation. The correct URL should look like this: https://yourdomainname.com/sitemap_index.xml.

    2. Validate Your Sitemap: Use the Validate XML Sitemap tool to confirm that your sitemap is correctly configured. If there are any issues detected, they will need to be addressed.
      An example displaying how to validate a sitemap

    3. Ensure Posts Are Set to Index: Check that your posts are set to index. Go to Rank Math SEO → Titles & Meta and ensure the Index checkbox is enabled for your posts.
      Index Titles and Meta settings

    4. Clear Cache: If you have caching enabled on your site, make sure to clear it after making changes. This includes both server-side caching and any caching plugins you may be using.
      Learn how to clear cache in WordPress.

    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 to allow Rank Math to generate them automatically.

    If these steps do not resolve the issue, we recommend considering our professional setup service, which can ensure your plugin setup is fully correct and adheres to the latest SEO standards. You can find more information about this service at Rank Math Professional Setup Service.

    Please reply to this ticket with your site URL if you would like further assistance, and a human agent from our support team will take over and help you directly.

    Thank you for your understanding, and we hope to resolve this issue for you soon!

    Hello Rank Math Support Team,

    I have carefully followed all the troubleshooting steps provided in your tutorial regarding the 404 errors in my sitemap links. Unfortunately, the issue still persists, and I continue to experience the same errors.

    Could you please assist me further in resolving this problem?

    Thank you for your help.

    Best regards,
    Fosso

    Hello,

    Please exclude the Sitemap files of the Rank Math plugin from your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    Once done, disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:

    /** 
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If you’re not sure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Also, head over to your website files /uploads/rankmath/, and delete any XML files from that path.

    Looking forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I followed the instructions carefully, but at the end I only see three sub-sitemaps. The product pages, articles, etc. are missing. Please, I need help because Google may penalize me.

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    We would like to debug this issue further. Can you add your website’s FTP login in the Sensitive Data section of this ticket?

    Looking forward to helping you with this one.

    olivia olivia
    Rank Math free

    Hello, sorry for the delay. Please, I don’t know where this information is located. Could you give me some guidance on how to find it so that I can send it to you?

    Hello,

    If you don’t have your FTP login details handy, you can ask your website’s host provider, and they will either share them with you or share documentation on how to retrieve them.

    We look forward to hearing back from you.

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello, I have already sent the requested information.

    Hello,

    The FTP login you shared isn’t working. Can you please verify this further from your side?

    Looking forward to helping you with this one.

    olivia olivia
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    olivia olivia
    Rank Math free

    I have updated the requested information; it should now be operational.

Viewing 15 replies - 1 through 15 (of 18 total)

The ticket ‘Assistance Required for Resolving 404 Errors in Sitemap Links Generated by Rank’ is closed to new replies.