Rank Math sitemap has not added my page on a one page website

#297992
  • At one time the home page was there along with the 404 page. Then the 404 page was in the sitemap and the home page was not. I had to use the id to remove the 404 page – would still show when I unpublished the 404 page. I have excluded the sitemap from WP Super Cache and have updated the Permalinks. I have cleared WP Super Cache. Currently, I have a manually developed sitemap (sitemapcj.xml) in Google Search Console with just the home page to get by until I can get a sitemap generated by RankMath. I used XMLSiteMaps.com to check out the robots.txt and no restrictions were found. I also used it for SE Bot Simulation and found nothing wrong there. The only nofollow was for external links. I also used that program to validate the RankMath sitemap and no errors were found. I even used some of the RankMath DB Tools to clear the data. I originally had Yoast installed but I never ran it – just Activated it. Looking for ideas as to what to try next.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Upon checking, it seems that you have added a custom canonical URL to your homepage, that’s why it is not showing in the sitemap.

    Please note that Rank Math automatically generates the canonical URL for all your pages if they are set to index. The main purpose of adding a custom canonical to your pages is to let Google know that it is a duplicate page, and not to be indexed.

    If you also set the canonical manually, your posts/pages will not be included in your sitemap. Here’s a link for more information:
    https://rankmath.com/kb/url-not-in-sitemap/#num-2-youve-set-a-custom-canonical-url

    However, I’ve already removed the custom canonical URL you have added, and your homepage is already showing in your sitemap.

    I hope that helps.

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

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.