Product Category Sitemap Returning a 404

#958602
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello, we apologize for the issue you are facing with the product category sitemap returning a 404 error. Here are some steps you can take to resolve this issue:

    1. Flush Permalinks

    Sometimes, a simple flush of the permalinks can resolve 404 errors. To do this:

    • Go to your WordPress admin area.
    • Navigate to Settings → Permalinks.
    • Click the Save Changes button without making any changes.

    Flush permalink settings

    2. Check Sitemap Settings

    Ensure that your product categories are enabled in the sitemap settings:

    • Go to Rank Math SEO → Sitemap Settings.
    • Make sure that the product categories are set to be included in the sitemap.

    3. Verify Sitemap URL

    Make sure that the sitemap URL is correct. The standard format for Rank Math sitemaps is usually `https://rankmath.com/wp-content/uploads/2021/09/Flush-Permalinks-Settings.jpg. You can check if your main sitemap index is accessible and if it includes links to your product category sitemap.

    4. Check for Plugin Conflicts

    If the above steps do not resolve the issue, there may be a plugin conflict. You can use the Health Check plugin to troubleshoot this.

    If you continue to experience issues after trying these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    1) I flushed permalinks
    2) I checked sitemap setting and product category is enabled
    3) I verified the sitemap URL and the sitemap URL I am referring to is correct
    4) All sitemap URLs are excluded from caching plugin
    5) Plugins have not changed since the last time that sitemap URL was working

    Hello,

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

    To investigate this issue further, we might need to take a closer look at your website and settings. Please follow these steps:

    • Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.
      Sensitive Data Section
    • Make sure you take a complete backup of your website before sharing the information with us.
    • If you prefer, you can use this 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 also use this plugin to monitor what changes our staff might make on your website (if any): https://wordpress.org/plugins/wp-security-audit-log/

    We appreciate your cooperation and patience.

    Thank you for choosing Rank Math.

    Isn’t there another way to figure this out?

    Hello,

    The two conditions where a page/post/CPT/taxonomy will be excluded from the sitemap automatically is if they are set to noindex or have custom canonical URLs. Also for taxonomy pages our plugin excludes them from the sitemap if they are empty.

    We have checked some product category pages on your site and can confirm that they are set to index, contain products, and have canonical URLs.

    Please confirm if you have entered the self-referencing canonical URLs manually and have not let Rank Math generate them by default. If you have, please remove the custom canonical URLs and flush your sitemap: https://i.rankmath.com/pipRDp

    If the issue persists we might need to take a closer look at your site.

    If you can not share your live site access, you can create a staging site and share its access with us instead.

    You can follow this guide to create a staging site: https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

    Looking forward to helping you.

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

You must be logged in to reply to this ticket.