Sitemap Issue

  • Resolved Magnus

    Hi Michael,

    I experience a similar problem as the autohor of this thread.

    My sitemaps are not fetched by Google Search Console and when looking into it I see that my sitemap URLs are all redirected to 404-error pages.

    I setup WP Super Cache earlier today so when I noticed the flaw with the sitemaps I thought the problem was in the cache. I excluded the sitemaps from being cached following the procedure you outlined above, but the problem is still there.

    Do you have any suggestions? Maybe it is a matter of time (I put sitemaps as excluded only 15 minutes ago).

    Please let me know,

    Magnus

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello

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

    Can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/xXXhDt

    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.

    That should fix the issue. Please let us know if that does not. We are here to assist.

    Hi,

    Thanks, that seemed to partially have sold my issue. 2 questions here;

    1. All sitemaps except for the attachment sitemap are now working properly. The URL https://klassparmesan.se/attachment-sitemap.xml is still going to a 404 page. Do you know why?

    2. Should I leave “Links per sitemap” at 201 as I changed it to or should I change it back to 200?

    Best regards,
    Magnus

    Hello,

    1. You should not be indexing your attachment pages as those are thin content pages.

    2. Sure, you can revert to 200.

    Hope that helps. Thank you.

    OK, thanks. I switch the button then saying I dont want to include attachments in my sitemap.

    1. I see another issue now. My POST sitemap is not working (gets a 404-error and is not included in my sitemap index.

    URL: https://klassparmesan.se/post-sitemap.xml

    2. Another question; Should I upload only the https://klassparmesan.se/sitemap_index.xml inside Google Search Console or should I upload all sitemaps (posts, pages, products, product categories) one by one?

    Best regards and thanks for all your great help!

    Magnus

    Hello,

    1. Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Please let us know if you find the culprit.

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    2. You need to submit only the main Sitemap and Google will find the rest of it from the main Sitemap.

    Looking forward to helping you. Thank you.

    Hi,

    1. Thanks for your input. I actually solved the issue in another way. I figured that maybe the issue was that I didnt have any posts and thus the sitemap wasnt found. So I made a dummy post and after testing the sitemap URL again evrerything was working just fine. Thanks anyway for your great help.

    2. Thanks you. Is it a problem that I already added the other sitemaps to Google Search Console in the past? I couldnt find anywhere where I could delete sitemaps… Now I have all sitemaps inside my GSC account.

    Best regards,
    Magnus

    Hello,

    We are glad your issue is resolved.

    You can remove any sitemap on your GSC by simply clicking on it then on your the top right corner there should be three dots for options. Click there and you will see an option to remove the sitemap, here is a screenshot for reference: https://i.rankmath.com/sei6zE

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Hi,

    Thanks Michael! Great help from all you guys on RankMath!

    Best regards,
    Magnus

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Sitemap Issue’ is closed to new replies.