How to Fix Page Sitemap “Unable to Retrieve Sitemap”

#178110
Viewing 15 replies - 1 through 15 (of 22 total)
  • Hello,

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

    Your sitemap does return an incorrect HTTP header content type. Can you please check if there are other plugins or your current theme that are causing conflict with your sitemap?

    You may try to temporarily deactivate your plugins except for Rank Math and revert to the default theme and test your sitemap here if its returning a valid content type. https://www.xml-sitemaps.com/validate-xml-sitemap.html

    If the issue persists, 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.
    Sensitive Data Section

    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.

    Robby Records
    Rank Math free

    Hello,

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

    Thank you.

    Robby Records
    Rank Math free

    I have made changes but the problem is not resolved.
    I provide complete entry data without me covering it. I really believe in rank math.

    Hello,

    Thank you for the follow-up, and sorry for the delay.

    I’ve checked your sitemap, and it seems that you haven’t verified the www (or non-www) and HTTP (or HTTP) version of your website. Sitemap Non WWW HTTPS

    Please ensure that only 1 version of the sitemap is working (200 Ok status), and the rest are redirecting to it. You can also use this tool to check. Please follow the steps in this link:
    https://rankmath.com/kb/couldnt-fetch-error-google-search-console/#5-check-for-the-correct-version-of-the-sitemap

    Once done, please remove all the sitemaps you have submitted in your Google Search Console and resubmit your main sitemap only /sitemap_index.xml then give Google some time to recrawl your website.

    I hope that helps. Thank you, and looking forward to your update.

    Robby Records
    Rank Math free

    I have followed the tutorial but all the status codes are still 200

    Robby Records
    Rank Math free

    I ask for help so I can make changes.
    https://prnt.sc/1165bng

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    Your page sitemap seems to be displayed properly with no error as shown in this screenshot: https://i.rankmath.com/Q8MlcY. Am assuming the issue here is related to the HTTP headers here and a redirect to the main sitemap URL would possibly fix it. Also, you may want to check if you have other related rewrite rules in your .htaccess files. If so, try resetting your file to the default WordPress .htaccess file before proceeding with the steps below.

    As for the steps to have only one sitemap URL having the 200 status code you would need to check the main sitemap and leave it as it is. For the other 3, you would need to perform a 301 redirect in your .htaccess file using this method.

    That way you will not get a 200 status on the other HTTP & WWW sitemap URL files which you do not consider to be your main sitemap URL.

    P.S: You can also provide some translation of the error you referenced in the 1st screenshot for further clarification.

    We are looking forward to helping you.
    Thank you.

    Robby Records
    Rank Math free

    I’ve followed the directions, but still nothing changes.

    in the first screenshot the sitemap is read, but not sent to the sitemap.

    Then how, I don’t use the www version url but the directive redirects non www to www.

    finally i used 3rd party xml generator

    https://prnt.sc/116jljf
    https://prnt.sc/116jm8y
    https://prnt.sc/116jp8g

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us,

    You seem to have enabled some security firewall that blocks us from logging into your website. This seems to be caused by the Wordfence plugin. See the screenshot of your login page here: https://i.rankmath.com/2RUvxj. Would you mind lifting this restriction so that we can check your site further?

    Also, I would recommend that after making these changes you resubmit the sitemap file again to your GSC and wait for Google to crawl it.

    Additionally, it might not be a good idea to have 2 different Sitemaps with another one from Rank Math does as conflicts may arise for that.

    We are looking forward to helping you.
    Thank you.

    Robby Records
    Rank Math free

    ok sorry about that. I have deactivated the plugin. Sure, I’ll be using a sitemap from rankmath.

    Hello,

    Thank you for the update, and sorry for the delay.

    I’ve checked your site, and it seems that Rank Math Sitemap is disabled, and you’re using the XML Sitemaps plugin to generate your sitemap.

    Could you please confirm if your site is still having issues with your sitemap?

    Thank you, and looking forward to your update.

    Robby Records
    Rank Math free

    Hello,
    Thank you for the help

    Now I’ve used a sitemap from Rank Math, the first problem. I have done URL redirection but the URL status is still 200. as seen in the following screenshot. https://prnt.sc/117r7g8

    However, if I use a third-party sitemap plugin, only HTTPS and HTTPS: // www have URLs of 200 and the rest are 301.

    And the second problem, why is the sitemap URL still error even already doing HTTP redirect as shown in the following screenshot https://prnt.sc/117raok

    in the webmaster now there are no problems, but I still often find the URL is not in the sitemap … it’s been a few days since the initial problem appeared the status is still like this https://prnt.sc/116jp8g

    Brian
    Rank Math free

    Hello

    Thank you for getting back to us.

    Could you be having any restrictions on your server? Just tried to access your site using the FTP credentials you sent but could not access it. It shows a connection timed-out error.

    If you do kindly consider lifting the restrictions or updating your credentials. Needed to check on your permission settings and htaccess file as it still seems to be overwritten mostly by your security plugin.

    We are looking forward to helping you.

    Robby Records
    Rank Math free

    Yes, because of hosting security like that, your IP will automatically be blocked by the hosting provider if ftp is accessed from another country.

    The hosting provider asked me

    Can you tell me the IP of the connection that is currently being used? (from ftp accessers) and from which country you are accessing the FTP.
    The IP connection can be checked at the following link whatismyipaddress.com/

    for information, the sitemap state returns to the beginning of the problem https://prnt.sc/119adpd

    Hello,

    Thank you for the update, and sorry for the delay.

    I am sorry but we have dynamic IPs. Even if you whitelist our IP – our IP might have changed by the time we check your ticket.

    Please open access to India and the Philippines for investigating this issue further.

    Thank you, and looking forward to your update.

    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 15 replies - 1 through 15 (of 22 total)

The ticket ‘How to Fix Page Sitemap “Unable to Retrieve Sitemap”’ is closed to new replies.