Search console error – sitemap is HTML

  • Hi,

    I have recently started using Rank Math and I have 2 issues I hope you can help with.

    1) When I log into my sitemap on Search Console, I now get an error message saying sitemap is HTML. Do you know how I can fix this?
    2) My images are not showing in my sitemap. I am using the Divi theme, maybe this is why? I’ve contacted Elegant Themes already but have had no response. Any ideas on how I can make them appear?

    Many thanks,
    Olivia

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

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

    1). The link that you shared on the sensitive data section suggests that you may not be submitting the correct sitemap URL. Please submit the following sitemap example URL to the search console: https://domain.com/sitemap_index.xml

    2). Please head over to Rank Math > Sitemap settings > General and ensure that the following options are checked:
    Images in sitemap

    You can also go further and create an attachment sitemap by heading over to Rank Math > Sitemap Settings > Media as shown below:
    Attachment sitemap

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

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

    Thank you.

    Hi,

    thanks for getting back to me.

    I had the images included in sitemaps set to on already.

    I looked into creating media sitemap as you showed but it says I need to turn off attachment redirection to parent. I did redirect a load of 404s that were jpg files which kept cropping up when I migrated my site. Do I need to disable these and create a media sitemap as you suggest?

    Also one last question, when I was using the Redirection plugin before I changed to sitemap I was getting about 5 strange 404 errors a day. I redirected most of these if it was obvious. E.g. my old site had ‘topics’ and I redirected these to the relevant categories and tags. But there were some really strange things too which I ignored. Now with the Rank Math tool, I’ve only had 1 404 error in about 3 weeks. I’m hoping this is a good thing, but it would be good to get your perspective.

    Many thanks,
    Olivia

    Hello,

    Thank you for contacting Rank Math today.

    Please note that it is not recommended to include all the images on your site on your sitemap if they are not relevant to the main content on the page since this would cause thin content problems for your SEO.
    I have checked your post sitemap and the featured images are added to the sitemap as shown below:
    IMAGE SITEMAP

    It is a good thing that the errors have reduced, perhaps you could share a copy of the strange once that you have received so that we can advise further.

    Looking forward to helping you. Thank 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 4 replies - 1 through 4 (of 4 total)

The ticket ‘Search console error – sitemap is HTML’ is closed to new replies.