Getting “Page Not Found” for Video Sitemap

#1075210
  • Resolved NULL China
    Rank Math free

    Hi Rank Math Team,

    I’m experiencing an issue with my video sitemap. The URL continues to return a “Page Not Found” error, even after implementing the suggested solutions.

    Here’s what I’ve done so far:

    I’ve set up a page rule in Cloudflare to bypass the cache for all sitemap URLs, as per your documentation.

    I’ve purged the entire Cloudflare cache to ensure the changes take effect.

    I’ve also confirmed that the sitemap module is enabled in Rank Math.

    Despite these actions, the video sitemap still shows a 404 error.

    Could you please help me identify what might be wrong, or suggest additional steps to resolve the issue?

    Thanks in advance for your support.

    Best regards, Sam

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

    We apologize for the issue you are facing with your video sitemap returning a "Page Not Found" error. It sounds like you’ve already taken some great steps to troubleshoot the problem. Here are a few additional suggestions that might help resolve the issue:

    1. Check for Caching Issues: Since you mentioned using Cloudflare, ensure that there are no other caching plugins that might be interfering. You can also try excluding the video sitemap from caching by following this guide on excluding sitemaps from caching.

    2. Flush Permalinks: Sometimes, flushing permalinks can resolve issues with sitemaps. You can do this by going to your WordPress admin area, navigating to Settings → Permalinks, and clicking the “Save Changes” button without making any changes.
      Flush permalink settings

    3. Check for Plugin Conflicts: There might be a conflict with another plugin. You can use the Health Check plugin to identify any potential conflicts.

    4. Review Robots.txt: Ensure that your robots.txt file is not blocking access to the video sitemap. You can check this in Rank Math SEO → General Settings → robots.txt.

    5. Inspect Server Configuration: If you are using Nginx or Apache, ensure that your server configuration allows for the proper serving of XML files.

    If you have tried all these steps and are still encountering issues, please reply to this ticket with any additional details or error messages you may be seeing, and a human agent from our support team will assist you further.

    Thank you for raising this concern, and we look forward to helping you resolve it!

    NULL China
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Please note that you need to have a video schema in a post where a video is added or embedded for it to be included in the video sitemap.

    If you already have that checked, please follow the steps below:

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in 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/

    3. Apply the following filter code to your site.

    
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/

    If the issue persists, please share page/post URL where a video schema is present.

    Looking forward to helping 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.

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

The ticket ‘Getting “Page Not Found” for Video Sitemap’ is closed to new replies.