Clicking site map link showing page not found.

#211785
  • Resolved Touseef Ahmed
    Rank Math free

    When clicking site map link its showing page not found. And on google console it is giving 404 error.

    I tried the step where I have to go to permalinks and click save changes button. But still facing the issue.
    Please help me in this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    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/

    Then clear the website cache and remove all the sitemaps from the Search Console and add sitemap_index.xml again and wait for Google to crawl the sitemap.

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

    What actually happening is, I can see the sitemap in http URL but not in https url. This is because in WordPress settings–>General–> WordPress url , it showing http. And rank math is showing sitemap url with https.
    You can check http://creativesea.in/sitemap_index.xml –> this has site map
    But not this https://creativesea.in/sitemap_index.xml –>The rank math site map url.

    SO you what would you suggest? Should I change the url to https in WordPress general settings or I should make a new property in google console and add http site map url?

    Anas
    Rank Math business

    Hello,

    I can see the sitemap on both the URLs, with and without HTTP.

    Please change the link in WordPress settings to HTTPS as the final URL of your website is with HTTPS.

    Then, re-save the permalinks and sitemap settings (without changing anything), clear your website cache, and check the sitemap again.

    The HTTP version should redirect to the HTTPS version of the URL.

    I hope this helps. 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 ‘Clicking site map link showing page not found.’ is closed to new replies.