How to Fix Page Sitemap “Unable to Retrieve Sitemap”

#178110
Viewing 7 replies - 16 through 22 (of 22 total)
  • Robby Records
    Rank Math free

    OK sir, please try again

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us,

    Still not able to access your FTP as the country is different. Am sure my fellow colleague will be able to access it since you enabled it for their country.

    Here are some recommended steps you can do before then to test. First, you can replace your .htaccess file, just checked from your Rank Math settings and it still seems re-written by some of your plugins.

    Next, you can try adding this code to perform redirects of your www URLs to non-wwww and for your HTTP to HTTPS.

    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    
    RewriteCond %{HTTPS} on
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

    Please let us know how it goes. You can as well lift all IP restrictions for a while as we check your issue here.

    We are looking forward to your feedback.
    Thank you.

    Robby Records
    Rank Math free

    I don’t have access to open all ip so I can access FTP sir, if still not possible, maybe I can use vpn ip Indonesia to access FTP

    Robby Records
    Rank Math free

    I have tried various url redirects, but the results are still like this
    https://prnt.sc/11akt2i
    https://prnt.sc/11akrr5
    https://prnt.sc/11aksao

    Hello,

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

    Your redirections are working fine now. However, your sitemaps are returning an error 404 page not found.

    I’ve already flushed your sitemap cache and excluded it from caching. Now your sitemap should be working fine.

    Please remove all the submitted sitemaps in your Google Search Console and resubmit your main sitemap only /sitemap_index.xml and give Google some time to recrawl your website.

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Robby Records
    Rank Math free

    That’s great, Now the sitemap is working fine. https://prnt.sc/11bk0t2

    But the XML Validation Result remains like this https://prnt.sc/11bk2db
    Is it okay to stay like that?

    Hello,

    Thanks for getting back to us.

    That error is still happening because it seems that your firewall is blocking some bots from accessing your sitemap.

    So when the bots that validate the sitemap from that website try to reach that page they encounter an HTML page instead of an XML sitemap and report the incorrect headers.

    In order to get rid of this error, you’ll need to verify your firewall settings and make sure that you are allowing the bots to crawl the sitemaps.

    Hope this helps solve your issue.

    Don’t hesitate to get in touch if you require any further assistance.

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

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